summaryrefslogtreecommitdiff
path: root/helpers/lh_source
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-12 06:44:21 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:38 +0100
commit1adae413a4728f1a5432e4c5af99d3e39bc98f60 (patch)
tree9e2d33324e3a1d33aae199f3ed9c5f81a115675e /helpers/lh_source
parent765b7bb72d89617f070287f70fff3291767c6fe0 (diff)
downloadvyos-live-build-1adae413a4728f1a5432e4c5af99d3e39bc98f60.tar.gz
vyos-live-build-1adae413a4728f1a5432e4c5af99d3e39bc98f60.zip
Always create stagefile for chroot_install-packages and require it for lh_source
This is required as lh_source will generate an incomplete source tarball if only the bootstrap phase has been completed.
Diffstat (limited to 'helpers/lh_source')
-rwxr-xr-xhelpers/lh_source2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/lh_source b/helpers/lh_source
index 5b668a0d4..df7cffe7c 100755
--- a/helpers/lh_source
+++ b/helpers/lh_source
@@ -28,6 +28,8 @@ Arguments "${@}"
Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
+Require_stagefile .stage/chroot_install-packages
+
# Enabling network in chroot
lh_chroot_hosts install ${*}
lh_chroot_resolv install ${*}