summaryrefslogtreecommitdiff
path: root/adelie-build-cd
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-13 13:48:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-13 13:48:38 -0500
commit9207414506432f6678ebb706b21fcc962deb5696 (patch)
tree6fdd8fa5962ad5b2dbf76a8e73f8c475c5b31032 /adelie-build-cd
parentaa5d11f8c8ff11953a88036a4da13744edd4cbf6 (diff)
downloadimage-9207414506432f6678ebb706b21fcc962deb5696.tar.gz
image-9207414506432f6678ebb706b21fcc962deb5696.tar.bz2
image-9207414506432f6678ebb706b21fcc962deb5696.tar.xz
image-9207414506432f6678ebb706b21fcc962deb5696.zip
script: use 'packages' file instead of hardcoding in script
Diffstat (limited to 'adelie-build-cd')
-rwxr-xr-xadelie-build-cd23
1 files changed, 1 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