Adding generic live-build handle in chroot_dpkg for other live packages to act upon.

This commit is contained in:
Daniel Baumann 2013-03-11 09:55:39 +01:00
parent 5a00aa4482
commit 2c54c44610
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,9 @@ EOF
# Manual hacks for special packages
# Generic live-build handle for other live packages to act upon
touch chroot/.live-build
# samhain
if [ -e /var/state/samhain/samhain_file ]
then
@ -87,6 +90,9 @@ EOF
# Manual hacks for special packages
# Generic live-build handle
rm -f chroot/.live-build
# flash-kernel
rm -f chroot/usr/sbin/flash-kernel
Chroot chroot dpkg-divert --rename --quiet --remove /usr/sbin/flash-kernel