From e1f157ee2c39ef93a028e0f42874838897bca7b0 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 4 Oct 2007 20:35:28 -0300 Subject: [PATCH] iso: use -allow-multidot option when calling genisoimage To properly support syslinux menus we need to provide fonts (specially when using accents and like) and those files are usually found on systems using multiple dots on their filenames (e.g iso01.f14.psf) and then makes sense to support this by default or our users can spent _a lot_ of time to sort this kind of problem out. While doing it, the duplicated command line has been removed and code changed to avoid this duplication making future changes need to touch just one place. --- helpers/lh_binary_iso | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso index 11280ee4d..781a00703 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 ;;