summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_dpkg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-21 14:33:03 +0100
committerDaniel Baumann <daniel@debian.org>2009-12-21 14:33:03 +0100
commit8d96dae42d38393745f23fbc5bae1d2bbc0a2723 (patch)
tree6110250e2bcf575569b759b06cb0a0be66d0b6e9 /helpers/lh_chroot_dpkg
parent6f6b52414249734daa0813a783662c313e7937ec (diff)
downloadvyos-live-build-8d96dae42d38393745f23fbc5bae1d2bbc0a2723.tar.gz
vyos-live-build-8d96dae42d38393745f23fbc5bae1d2bbc0a2723.zip
Ensure that precached-chroots are prepared as well.
Diffstat (limited to 'helpers/lh_chroot_dpkg')
-rwxr-xr-xhelpers/lh_chroot_dpkg5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_chroot_dpkg b/helpers/lh_chroot_dpkg
index 7fd6e67ab..bf2950a77 100755
--- a/helpers/lh_chroot_dpkg
+++ b/helpers/lh_chroot_dpkg
@@ -66,7 +66,10 @@ EOF
Create_lockfile .lock
# Restore start-stop-daemon program
- mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon
+ if [ -e chroot/sbin/start-stop-daemon.orig ]
+ then
+ mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon
+ fi
# Removing stage file
rm -f .stage/chroot_dpkg