From 988388f07fb8bab554798aba91abc9965090d223 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Thu, 18 Sep 2025 19:55:55 +0200 Subject: smalldeploy now uefi pxe capable --- .../airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount | 8 ++++++++ .../system/multi-user.target.wants/pacman-init.service | 1 + .../multi-user.target.wants/pull_network_online.service | 1 + .../airootfs/etc/systemd/system/pacman-init.service | 15 +++++++++++++++ .../etc/systemd/system/pull_network_online.service | 12 ++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 configs/smalldeploy/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service create mode 120000 configs/smalldeploy/airootfs/etc/systemd/system/multi-user.target.wants/pull_network_online.service create mode 100644 configs/smalldeploy/airootfs/etc/systemd/system/pacman-init.service create mode 100644 configs/smalldeploy/airootfs/etc/systemd/system/pull_network_online.service (limited to 'configs/smalldeploy/airootfs/etc') 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 + -- cgit v1.2.3-70-g09d2