Verified Commit 7f4cf95f authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

adelie-build-cd: Once more, with feeling

parent 78c04a84
......@@ -152,9 +152,11 @@ install_pkgs() {
readonly ARCH_PKGS="$(cat packages/arch/$ARCH 2>/dev/null | tr '\n' ' ' || echo '')"
readonly KIND_PKGS="$(cat packages/kind/$KIND 2>/dev/null | tr '\n' ' ' || echo '')"
mkdir -p squashroot-$ARCH/etc/apk/keys
cp 'packages@adelielinux.org.pub' squashroot-$ARCH/etc/apk/keys/
# XXX: Handle pre-install scripts.
mkdir -p squashroot-$ARCH/etc/apk
cp -r keys squashroot-$ARCH/etc/apk/
# Disable grub trigger.
mkdir -p squashroot-$ARCH/etc/default
printf "ADELIE_MANUAL_CONFIG=1\n" >> squashroot-$ARCH/etc/default/grub
mkdir -p squashroot-$ARCH/dev
mknod squashroot-$ARCH/dev/urandom c 1 9
mkdir -p squashroot-$ARCH/usr/sbin
......@@ -189,12 +191,15 @@ make_structure() {
squashroot-$ARCH/etc/runlevels/boot/$bootservice
done
for base_service in "$(cat services/base 2>/dev/null | tr '\n' ' ' || echo '')"; do
readonly BASE_SERVICES="$(cat services/base 2>/dev/null | tr '\n' ' ' || echo '')"
readonly KIND_SERVICES="$(cat services/kind/$KIND 2>/dev/null | tr '\n' ' ' || echo '')"
[ -z BASE_SERVICES ] || for base_service in $BASE_SERVICES; do
ln -s /etc/init.d/$base_service \
sqaushroot-$ARCH/etc/runlevels/default/$base_service
done
for service in "$(cat services/kind/$KIND 2>/dev/null | tr '\n' ' ' || echo '')"; do
[ -z KIND_SERVICES ] || for service in $KIND_SERVICES; do
ln -s /etc/init.d/$service \
sqaushroot-$ARCH/etc/runlevels/default/$service
done
......@@ -336,7 +341,7 @@ create_iso() {
CD_VERSION="$VERSION"
header 'Creating the CD...'
readonly CD_PARAMS=$(cat iso-params-$ARCH)
readonly CD_PARAMS="$(cat iso-params-$ARCH | tr '\n' ' ')"
CD_VERSION=$(echo $CD_VERSION | sed s/-alp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q/8KXt/55SHAaHxbrko
wDEeIB6O25tKeVxuQvDzxe4YRYlFrOO4VE+5YUeX8f0ESt23cHVr+jQmoImoXm96
CEuhG8pSEPwx7mlf3mOWkNgYQPusIIdgcXaDY18Df1KRrYP/x5jpBbGxtiZEILs+
8FagnR4Z7xCj/wdFm8UZ6zkCAwEAAQ==
-----END PUBLIC KEY-----
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAzBlRRdPuMHRlvsG04Yz+
Ct8kU6mas28XIqnf6MtJ0xVgkoe8hfLtlR9zirdWRd2A3YoXfjgHKXkk6OsEeKc3
au1xaKwvRwydqJ2yz6zZXoyxoY9z0w4VTLFeRj8YOacLqdeNbxgV4skGSKn+FePL
XB1Vrl7rbYgw2JisuHWTWRFpHq5zSCNOnumwQqXehx08TjXb1QAvKyUwpIAbkFkc
UBgxgSAkq48yCv2Nup8xRj3Vrh1cvit0Oy62gWxjhkv4mrkYKPVnaoSTDA5h/j5O
hLTfwHngv9ntR2rPSuxA0syHM/5UQu/cVAumR6F8QhTDIbVhevxj/gZFbGDH0jFM
+J4IL6U3/zJnj+q2PYXBrXgvafqfGlbU9gnBLTkMZxc9B0p9wN1GCr26HUtPRsEo
6zH1SUuZAm3ds39uNQReg5RNNvptaEtwzB97XSGrGWhxhBq3dCZjAXnE/0OcoJeO
AVfZ/vnCMIp2qKjOaC9doSbypFp0vzftRNke0KSC5x4n5yt6pc1bhPW4Sc6OXM9B
1CEs68JwdOTwRsgDhtD5MFM0OA/wQHsEHPW4tp0pWUold+Dvi/EpfFPZaHE91ShQ
nn0tIleySgY74VlRsW4wTwWsxmA0vySe1WYK5HG6zTjh8zkO4sf75uCGYuAj7Dsm
F5BtoIl6djxpvvTwHh70OEMCAwEAAQ==
-----END PUBLIC KEY-----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment