live-systems.org/gitweb
/
live-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5021fd2
)
Also supporting the other way around: removing systemd from a bootstrap and switching...
author
Daniel Baumann
<daniel@debian.org>
Wed, 31 Oct 2012 06:48:26 +0000
(07:48 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 31 Oct 2012 06:48:26 +0000
(07:48 +0100)
scripts/build/chroot_live-packages
patch
|
blob
|
blame
|
history
diff --git
a/scripts/build/chroot_live-packages
b/scripts/build/chroot_live-packages
index
d2d6088
..
5ef36cb
100755
(executable)
--- a/
scripts/build/chroot_live-packages
+++ b/
scripts/build/chroot_live-packages
@@
-58,6
+58,15
@@
case "${LB_INITSYSTEM}" in
Chroot chroot "dpkg --force-remove-essential --purge sysvinit"
fi
;;
+
+ sysvinit)
+ _PACKAGES="${_PACKAGES} sysvinit"
+
+ if [ -e chroot/var/lib/dpkg/info/systemd-sysv.list ]
+ then
+ Chroot chroot "dpkg --force-remove-essential --purge systemd systemd-sysv"
+ fi
+ ;;
esac
# Install live packages