summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_linux-image
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_linux-image')
-rwxr-xr-xscripts/build/lb_chroot_linux-image25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/build/lb_chroot_linux-image b/scripts/build/lb_chroot_linux-image
index 6a6c2c872..cdbbe3837 100755
--- a/scripts/build/lb_chroot_linux-image
+++ b/scripts/build/lb_chroot_linux-image
@@ -77,6 +77,31 @@ EOF
echo ${LB_INITRAMFS} >> chroot/root/chroot_packages
fi
+ # Queue installation of live-config
+ if [ "${LB_INITSYSTEM}" != "none" ]
+ then
+ echo "live-config live-config-${LB_INITSYSTEM}" >> chroot/root/chroot_packages
+ fi
+
+ # Do initsystem specific hacks (FIXME)
+ case "${LB_INITSYSTEM}" in
+ sysvinit)
+
+ ;;
+
+ runit)
+
+ ;;
+
+ systemd)
+
+ ;;
+
+ upstart)
+
+ ;;
+ esac
+
# Creating stage file
Create_stagefile .stage/chroot_linux-image
;;