Removing mkisofs support.
This commit is contained in:
parent
624fca8de5
commit
b42ba83688
|
@ -114,12 +114,6 @@ Set_defaults ()
|
|||
;;
|
||||
esac
|
||||
|
||||
# Setting genisoimage
|
||||
if [ -z "${LH_GENISOIMAGE}" ]
|
||||
then
|
||||
LH_GENISOIMAGE="genisoimage"
|
||||
fi
|
||||
|
||||
# Setting initramfs hook
|
||||
if [ -z "${LH_INITRAMFS}" ]
|
||||
then
|
||||
|
|
|
@ -53,7 +53,7 @@ Check_lockfile .lock
|
|||
Create_lockfile .lock
|
||||
|
||||
# Checking depends
|
||||
Check_package chroot/usr/bin/"${LH_GENISOIMAGE}" ${LH_GENISOIMAGE}
|
||||
Check_package chroot/usr/bin/genisoimage genisoimage
|
||||
|
||||
# Restoring cache
|
||||
Restore_cache cache/packages_binary
|
||||
|
@ -131,7 +131,7 @@ case "${LH_PACKAGES_LISTS}" in
|
|||
esac
|
||||
|
||||
cat > binary.sh << EOF
|
||||
${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o binary.iso -J -l -cache-inodes -allow-multidot binary
|
||||
genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso -J -l -cache-inodes -allow-multidot binary
|
||||
EOF
|
||||
|
||||
case "${LH_CHROOT_BUILD}" in
|
||||
|
|
|
@ -190,11 +190,6 @@ Local_arguments ()
|
|||
shift 2
|
||||
;;
|
||||
|
||||
--genisoimage)
|
||||
LH_GENISOIMAGE="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--initramfs)
|
||||
LH_INITRAMFS="${2}"
|
||||
shift 2
|
||||
|
@ -655,10 +650,6 @@ LH_DEBCONF_NOWARNINGS="${LH_DEBCONF_NOWARNINGS}"
|
|||
# (Default: ${LH_DEBCONF_PRIORITY})
|
||||
LH_DEBCONF_PRIORITY="${LH_DEBCONF_PRIORITY}"
|
||||
|
||||
# \$LH_GENISOIMAGE: set genisoimage program
|
||||
# (Default: ${LH_GENISOIMAGE})
|
||||
LH_GENISOIMAGE="${LH_GENISOIMAGE}"
|
||||
|
||||
# \$LH_INITRAMFS: set initramfs hook
|
||||
# (Default: ${LH_INITRAMFS})
|
||||
LH_INITRAMFS="${LH_INITRAMFS}"
|
||||
|
|
|
@ -66,7 +66,7 @@ ${LH_BOOTLOADER}
|
|||
live-helper
|
||||
${LH_INITRAMFS}
|
||||
dosfstools
|
||||
${LH_GENISOIMAGE}
|
||||
genisoimage
|
||||
parted
|
||||
squashfs-tools
|
||||
genext2fs
|
||||
|
|
|
@ -58,7 +58,7 @@ Check_lockfile .lock
|
|||
Create_lockfile .lock
|
||||
|
||||
# Checking depends
|
||||
Check_package chroot/usr/bin/"${LH_GENISOIMAGE}" ${LH_GENISOIMAGE}
|
||||
Check_package chroot/usr/bin/genisoimage genisoimage
|
||||
|
||||
# Installing depends
|
||||
Install_package
|
||||
|
@ -103,7 +103,7 @@ fi
|
|||
mv source chroot
|
||||
|
||||
cat >> chroot/source.sh << EOF
|
||||
${LH_GENISOIMAGE} ${GENISOIMAGE_OPTIONS} -o source.iso -r -J -l -cache-inodes source
|
||||
genisoimage ${GENISOIMAGE_OPTIONS} -o source.iso -r -J -l -cache-inodes source
|
||||
EOF
|
||||
|
||||
Chroot "sh source.sh"
|
||||
|
|
Loading…
Reference in New Issue