summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-10-29 19:45:17 +0100
committerDaniel Baumann <daniel@debian.org>2012-10-29 19:45:17 +0100
commit5e20937df48b68148444a85d3f9c80ed84e66d20 (patch)
treee9ff424efe47c3f28c425d4c8da6ee9f88e3c3c3
parentb7abcb0c01724f3da9f17899008be98f14edef2d (diff)
downloadvyos-live-build-5e20937df48b68148444a85d3f9c80ed84e66d20.tar.gz
vyos-live-build-5e20937df48b68148444a85d3f9c80ed84e66d20.zip
Removing sysvinit when building images with systemd.
-rwxr-xr-xscripts/build/chroot_live-packages2
1 files changed, 2 insertions, 0 deletions
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