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

This commit is contained in:
Daniel Baumann 2013-04-09 05:54:23 +02:00
parent 6106e81b85
commit 1a4fdf132d
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