From 5e20937df48b68148444a85d3f9c80ed84e66d20 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Oct 2012 19:45:17 +0100 Subject: Removing sysvinit when building images with systemd. --- scripts/build/chroot_live-packages | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/build/chroot_live-packages b/scripts/build/chroot_live-packages index 75bf4fb29..58cc4761c 100755 --- a/scripts/build/chroot_live-packages +++ b/scripts/build/chroot_live-packages @@ -52,6 +52,8 @@ fi case "${LB_INITSYSTEM}" in systemd) _PACKAGES="${_PACKAGES} systemd-sysv" + + Chroot chroot "dpkg --force-remove-essential --purge sysvinit" ;; esac -- cgit v1.2.3