summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-10-19 12:54:26 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:28 +0100
commitb42ba836881e6fb6949dbdfa76aa9e6c1f89a031 (patch)
treec7118595834b7124ec953a611c1ee5bd169c7202
parent624fca8de55375fa425ef85b0cb6ac41721f4cc2 (diff)
downloadvyos-live-build-b42ba836881e6fb6949dbdfa76aa9e6c1f89a031.tar.gz
vyos-live-build-b42ba836881e6fb6949dbdfa76aa9e6c1f89a031.zip
Removing mkisofs support.
-rwxr-xr-xfunctions/defaults.sh6
-rwxr-xr-xhelpers/lh_binary_iso4
-rwxr-xr-xhelpers/lh_config9
-rwxr-xr-xhelpers/lh_source_debian2
-rwxr-xr-xhelpers/lh_source_iso4
5 files changed, 5 insertions, 20 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index fedd160b3..bfc2694c5 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -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
diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso
index 781a00703..cf38317c7 100755
--- a/helpers/lh_binary_iso
+++ b/helpers/lh_binary_iso
@@ -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
diff --git a/helpers/lh_config b/helpers/lh_config
index 7e99e3008..5fc2f7cf5 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -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}"
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian
index 8811fa6f1..d1d025c8f 100755
--- a/helpers/lh_source_debian
+++ b/helpers/lh_source_debian
@@ -66,7 +66,7 @@ ${LH_BOOTLOADER}
live-helper
${LH_INITRAMFS}
dosfstools
-${LH_GENISOIMAGE}
+genisoimage
parted
squashfs-tools
genext2fs
diff --git a/helpers/lh_source_iso b/helpers/lh_source_iso
index ef7241f5a..05d94d5b2 100755
--- a/helpers/lh_source_iso
+++ b/helpers/lh_source_iso
@@ -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"