Removing sysvinit when building images with systemd.
authorDaniel Baumann <daniel@debian.org>
Mon, 29 Oct 2012 18:45:17 +0000 (19:45 +0100)
committerDaniel Baumann <daniel@debian.org>
Mon, 29 Oct 2012 18:45:17 +0000 (19:45 +0100)
scripts/build/chroot_live-packages

index 75bf4fb..58cc476 100755 (executable)
@@ -52,6 +52,8 @@ fi
 case "${LB_INITSYSTEM}" in
        systemd)
                _PACKAGES="${_PACKAGES} systemd-sysv"
+
+               Chroot chroot "dpkg --force-remove-essential --purge sysvinit"
                ;;
 esac