From 1adae413a4728f1a5432e4c5af99d3e39bc98f60 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 12 Aug 2008 06:44:21 +0100 Subject: 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. --- helpers/lh_chroot_install-packages | 5 +++-- helpers/lh_source | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/helpers/lh_chroot_install-packages b/helpers/lh_chroot_install-packages index c97adde1e..e8e0ec12e 100755 --- a/helpers/lh_chroot_install-packages +++ b/helpers/lh_chroot_install-packages @@ -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 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 ${*} -- cgit v1.2.3