summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xadelie-build-cd23
-rw-r--r--packages43
2 files changed, 44 insertions, 22 deletions
diff --git a/adelie-build-cd b/adelie-build-cd
index f839d66..396ea64 100755
--- a/adelie-build-cd
+++ b/adelie-build-cd
@@ -130,28 +130,7 @@ clean_dirs() {
install_pkgs() {
header "Installing base system to squash root..."
- declare -r PACKAGES="
- shadow \
- libffi \
- adelie-base \
- bash \
- openrc openrc-openrc \
- hwids eudev udev-init-scripts-openrc \
- parted \
- lvm2-openrc \
- easy-kernel easy-kernel-modules easy-kernel-firmware genkernel \
- bind-tools curl dhcpcd iproute2 iputils net-tools s6-dns traceroute \
- ca-certificates \
- rfkill wireless-tools wpa_supplicant \
- pciutils libusb1 usbutils \
- hdparm \
- less \
- bzip2 \
- netifrc netifrc-doc netifrc-openrc \
- diskdev_cmds hfsutils mtools
- dropbear dropbear-openrc openssh openssh-openrc
- "
-
+ declare -r PACKAGES=$(cat packages 2>/dev/null || fatal 'No core packages specified')
declare -r ARCH_PKGS=$(cat packages-$ARCH 2>/dev/null || echo '')
mkdir -p squashroot-$ARCH/etc/apk/keys
diff --git a/packages b/packages
new file mode 100644
index 0000000..c772a5c
--- /dev/null
+++ b/packages
@@ -0,0 +1,43 @@
+shadow
+libffi
+adelie-base
+bash
+openrc
+openrc-openrc
+hwids
+eudev
+udev-init-scripts-openrc
+parted
+lvm2-openrc
+easy-kernel
+easy-kernel-modules
+easy-kernel-firmware
+genkernel
+bind-tools
+curl
+dhcpcd
+iproute2
+iputils
+net-tools
+s6-dns
+traceroute
+ca-certificates
+rfkill
+wireless-tools
+wpa_supplicant
+pciutils
+libusb1
+usbutils
+hdparm
+less
+bzip2
+netifrc
+netifrc-doc
+netifrc-openrc
+diskdev_cmds
+hfsutils
+mtools
+dropbear
+dropbear-openrc
+openssh
+openssh-openrc