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.
This commit is contained in:
Chris Lamb 2008-08-12 06:44:21 +01:00 committed by Daniel Baumann
parent 765b7bb72d
commit 1adae413a4
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 ${*}