summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_dpkg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-04-09 05:54:23 +0200
committerDaniel Baumann <daniel@debian.org>2013-04-09 05:54:23 +0200
commit1a4fdf132dd418cc1b7fe221683153c0243810ad (patch)
treed9e9b643d29b83d761a605e6c675a4570d5c7c87 /scripts/build/chroot_dpkg
parent6106e81b856f0247dceac096c778350593ac991f (diff)
downloadvyos-live-build-1a4fdf132dd418cc1b7fe221683153c0243810ad.tar.gz
vyos-live-build-1a4fdf132dd418cc1b7fe221683153c0243810ad.zip
Adding generic live-build handle in chroot_dpkg for other live packages to act upon.
Diffstat (limited to 'scripts/build/chroot_dpkg')
-rwxr-xr-xscripts/build/chroot_dpkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/chroot_dpkg b/scripts/build/chroot_dpkg
index e16eadc43..b1051ef47 100755
--- a/scripts/build/chroot_dpkg
+++ b/scripts/build/chroot_dpkg
@@ -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