Verified Commit 78c04a84 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

adelie-build-cd: Fix service stuff the same as packages

parent c75faff5
......@@ -183,14 +183,18 @@ make_structure() {
done
for bootservice in root binfmt bootmisc fsck hostname hwclock keymaps \
localmount loopback modules mtab procfs sysctl sysfsconf termencoding \
tmpfiles.setup urandom; do
localmount loopback modules mtab procfs sysctl sysfsconf \
termencoding tmpfiles.setup urandom; do
ln -s /etc/init.d/$bootservice \
squashroot-$ARCH/etc/runlevels/boot/$bootservice
done
for service in $(cat services/base 2>/dev/null || echo '')
$(cat services/kind/$KIND 2>/dev/null || echo ''); do
for base_service in "$(cat services/base 2>/dev/null | tr '\n' ' ' || echo '')"; 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
ln -s /etc/init.d/$service \
sqaushroot-$ARCH/etc/runlevels/default/$service
done
......
Supports Markdown
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