aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--configs/smalldeploy/packages.x86_645
-rw-r--r--configs/smalldeploy/profiledef.sh1
7 files changed, 43 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
+
diff --git a/configs/smalldeploy/packages.x86_64 b/configs/smalldeploy/packages.x86_64
index 27425e2..52c242c 100644
--- a/configs/smalldeploy/packages.x86_64
+++ b/configs/smalldeploy/packages.x86_64
@@ -3,12 +3,17 @@ base
btrfs-progs
dosfstools
e2fsprogs
+edk2-shell
exfatprogs
gptfdisk
+grub
less
linux
+lvm2
mkinitcpio
mkinitcpio-archiso
+mkinitcpio-nfs-utils
+nbd
nfs-utils
openssh
parted
diff --git a/configs/smalldeploy/profiledef.sh b/configs/smalldeploy/profiledef.sh
index f818845..fd8513e 100644
--- a/configs/smalldeploy/profiledef.sh
+++ b/configs/smalldeploy/profiledef.sh
@@ -20,4 +20,5 @@ file_permissions=(
["/etc/shadow"]="0:0:400"
["/root"]="0:0:750"
["/root/.automated_script.sh"]="0:0:755"
+ ["/root/.gnupg"]="0:0:700"
)