summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-03-11 09:55:39 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:07 +0200
commit2c54c446100f40ead7acdbf93f9121cc06e988ac (patch)
treea52ebfeb5484e9cb333739a91d1216934383fc01 /scripts/build
parent5a00aa44827cd477e13470b4ce417b7b6fff62f9 (diff)
downloadvyos-live-build-2c54c446100f40ead7acdbf93f9121cc06e988ac.tar.gz
vyos-live-build-2c54c446100f40ead7acdbf93f9121cc06e988ac.zip
Adding generic live-build handle in chroot_dpkg for other live packages to act upon.
Diffstat (limited to 'scripts/build')
-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 07ef9667d..2d9b246b1 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