summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_linux-image
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:17 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:05:17 +0200
commitfdd30ecebff6c2f2f6965774d182d9210e6d46c4 (patch)
treecd4a159a86207401dbd5990bc0fa3c28825ab6f8 /helpers/lh_binary_linux-image
parentc026e68cd0694cc7564405f570f75855799b952a (diff)
downloadvyos-live-build-fdd30ecebff6c2f2f6965774d182d9210e6d46c4.tar.gz
vyos-live-build-fdd30ecebff6c2f2f6965774d182d9210e6d46c4.zip
Adding live-helper 1.0~a22-1.
Diffstat (limited to 'helpers/lh_binary_linux-image')
-rwxr-xr-xhelpers/lh_binary_linux-image8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image
index 9e4d74c9c..fb5ab98e5 100755
--- a/helpers/lh_binary_linux-image
+++ b/helpers/lh_binary_linux-image
@@ -47,7 +47,7 @@ Check_lockfile .lock
Create_lockfile .lock
# Setting destination directory
-case "${LIVE_BINARY_IMAGES}" in
+case "${LH_BINARY_IMAGES}" in
iso)
case "${LH_INITRAMFS}" in
casper)
@@ -68,14 +68,14 @@ case "${LIVE_BINARY_IMAGES}" in
DESTDIR="binary/live"
# Workaround for syslinux (<< 3.36) which doesn't support long file/path names
- if [ "${LIVE_DISTRIBUTION}" = "etch" ] && [ "${LIVE_BOOTLOADER}" = "syslinux" ]
+ if [ "${LH_DISTRIBUTION}" = "etch" ] && [ "${LH_BOOTLOADER}" = "syslinux" ]
then
DESTDIR="binary"
fi
;;
esac
-case "${LIVE_ARCHITECTURE}" in
+case "${LH_ARCHITECTURE}" in
amd64)
LINUX="vmlinuz"
;;
@@ -99,7 +99,7 @@ cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
cp chroot/boot/initrd.img-* "${DESTDIR}"
# Including boot parameter documentation
-if [ "${LIVE_BINARY_IMAGES}" != "net" ]
+if [ "${LH_BINARY_IMAGES}" != "net" ]
then
DESTDIR="binary"
fi