aboutsummaryrefslogtreecommitdiff
path: root/configs/smalldeploy/airootfs/etc/systemd
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-09-18 19:55:55 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-09-18 19:55:55 +0200
commit988388f07fb8bab554798aba91abc9965090d223 (patch)
tree93749a8f1aea76fd82fe5fabf74eca6b2a8d0de4 /configs/smalldeploy/airootfs/etc/systemd
parenta613e43d4add7dd610269006773959ac9dfd0004 (diff)
downloadarchiso-custom_config.tar.gz
archiso-custom_config.tar.bz2
smalldeploy now uefi pxe capablecustom_config
Diffstat (limited to 'configs/smalldeploy/airootfs/etc/systemd')
-rw-r--r--configs/smalldeploy/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount8
l---------configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service1
l---------configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pull_network_online.service1
-rw-r--r--configs/smalldeploy/airootfs/etc/systemd/system/pacman-init.service15
-rw-r--r--configs/smalldeploy/airootfs/etc/systemd/system/pull_network_online.service12
5 files changed, 37 insertions, 0 deletions
diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/smalldeploy/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount
new file mode 100644
index 0000000..038961e
--- /dev/null
+++ b/configs/smalldeploy/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount
@@ -0,0 +1,8 @@
+[Unit]
+Description=Temporary /etc/pacman.d/gnupg directory
+
+[Mount]
+What=tmpfs
+Where=/etc/pacman.d/gnupg
+Type=tmpfs
+Options=mode=0755,noswap
diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service
new file mode 120000
index 0000000..d473c92
--- /dev/null
+++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service
@@ -0,0 +1 @@
+/etc/systemd/system/pacman-init.service \ No newline at end of file
diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pull_network_online.service b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pull_network_online.service
new file mode 120000
index 0000000..f79e2f1
--- /dev/null
+++ b/configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pull_network_online.service
@@ -0,0 +1 @@
+/etc/systemd/system/pull_network_online.service \ No newline at end of file
diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/pacman-init.service b/configs/smalldeploy/airootfs/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..b824884
--- /dev/null
+++ b/configs/smalldeploy/airootfs/etc/systemd/system/pacman-init.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Initializes Pacman keyring
+Requires=etc-pacman.d-gnupg.mount
+After=etc-pacman.d-gnupg.mount time-sync.target
+BindsTo=etc-pacman.d-gnupg.mount
+Before=archlinux-keyring-wkd-sync.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/pacman-key --init
+ExecStart=/usr/bin/pacman-key --populate
+
+[Install]
+WantedBy=multi-user.target
diff --git a/configs/smalldeploy/airootfs/etc/systemd/system/pull_network_online.service b/configs/smalldeploy/airootfs/etc/systemd/system/pull_network_online.service
new file mode 100644
index 0000000..50d2e9f
--- /dev/null
+++ b/configs/smalldeploy/airootfs/etc/systemd/system/pull_network_online.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=trigger network-online.target
+After=network-online.target
+Requires=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/true
+
+[Install]
+WantedBy=multi-user.target
+