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.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-08-12 06:44:21 +01:00 committed by Daniel Baumann
parent 9ffd1c7c23
commit d22dde7e47
2 changed files with 5 additions and 2 deletions

View File

@ -64,6 +64,7 @@ then
# Saving cache
Save_cache cache/packages_chroot
# Creating stage file
Create_stagefile .stage/chroot_install-packages
fi
# Creating stage file
Create_stagefile .stage/chroot_install-packages

View File

@ -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 ${*}