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.
This commit is contained in:
parent
aed8d437ac
commit
e1f157ee2c
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue