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:
63a275b
)
Making sysvinit removal on systemd systems conditional, newer bootstraps might not...
author
Daniel Baumann
<daniel@debian.org>
Wed, 31 Oct 2012 06:45:55 +0000
(07:45 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 31 Oct 2012 06:45:55 +0000
(07:45 +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
58cc476
..
d2d6088
100755
(executable)
--- a/
scripts/build/chroot_live-packages
+++ b/
scripts/build/chroot_live-packages
@@
-53,7
+53,10
@@
case "${LB_INITSYSTEM}" in
systemd)
_PACKAGES="${_PACKAGES} systemd-sysv"
- Chroot chroot "dpkg --force-remove-essential --purge sysvinit"
+ if [ -e chroot/var/lib/dpkg/info/sysvinit.list ]
+ then
+ Chroot chroot "dpkg --force-remove-essential --purge sysvinit"
+ fi
;;
esac