summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_iso13
1 files changed, 5 insertions, 8 deletions
diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso
index 11280ee..781a007 100755
--- a/helpers/lh_binary_iso
+++ b/helpers/lh_binary_iso
@@ -130,15 +130,16 @@ case "${LH_PACKAGES_LISTS}" in
;;
esac
+cat > binary.sh << EOF
+${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o binary.iso -J -l -cache-inodes -allow-multidot binary
+EOF
+
case "${LH_CHROOT_BUILD}" in
enabled)
# Moving image
+ mv binary.sh chroot
mv binary chroot
-cat > chroot/binary.sh << EOF
-${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o binary.iso -J -l -cache-inodes binary
-EOF
-
Chroot "sh binary.sh"
# Move image
@@ -147,10 +148,6 @@ EOF
;;
disabled)
-cat > binary.sh << EOF
-${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o binary.iso -J -l -cache-inodes binary
-EOF
-
sh binary.sh
rm -f binary.sh
;;