diff options
Diffstat (limited to 'helpers/lh_binary_chroot')
-rwxr-xr-x | helpers/lh_binary_chroot | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot index 55be65c08..6d13bad62 100755 --- a/helpers/lh_binary_chroot +++ b/helpers/lh_binary_chroot @@ -58,17 +58,17 @@ then ${LH_ROOT_COMMAND} umount chroot/sys fi +if [ "${LIVE_CHROOT_BUILD}" = "disabled" ] +then + exit 0 +fi + # Removing old chroot ${LH_ROOT_COMMAND} rm -rf chroot/chroot ${LH_ROOT_COMMAND} rm -rf chroot.tmp # Copying new chroot -#if [ "${LIVE_BINARY_INDICES}" = "enabled" ] -#then - ${LH_ROOT_COMMAND} cp -a chroot chroot.tmp -#else -# ${LH_ROOT_COMMAND} cp -al chroot chroot.tmp -#fi +${LH_ROOT_COMMAND} cp -a chroot chroot.tmp ${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot if [ -n "${LH_ROOT_COMMAND}" ] |