summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_rootfs
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_rootfs')
-rwxr-xr-xhelpers/lh_binary_rootfs24
1 files changed, 23 insertions, 1 deletions
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 2099d3d31..9040f8710 100755
--- a/helpers/lh_binary_rootfs
+++ b/helpers/lh_binary_rootfs
@@ -299,6 +299,25 @@ case "${LH_CHROOT_FILESYSTEM}" in
# Removing depends
Remove_package
;;
+
+ none)
+ if [ -d binary ]
+ then
+ rm -rf binary
+ fi
+
+ case "${LH_CHROOT_BUILD}" in
+ enabled)
+ mv chroot/chroot binary
+ ;;
+
+ disabled)
+ Echo_message "This may take a while."
+ cp -a chroot binary
+ ;;
+ esac
+ ;;
+
esac
for STAGE in ${LH_CACHE_STAGES}
@@ -309,7 +328,10 @@ do
mkdir -p cache/stages_rootfs
- ${LH_ROOT_COMMAND} cp -a binary/"${INITFS}"/filesystem.* cache/stages_rootfs
+ if [ "${LH_CHROOT_FILESYSTEM}" != "none" ]
+ then
+ ${LH_ROOT_COMMAND} cp -a binary/"${INITFS}"/filesystem.* cache/stages_rootfs
+ fi
if [ -n "${LH_ROOT_COMMAND}" ]
then