summaryrefslogtreecommitdiff
path: root/scripts/build/binary_linux-image
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-07 15:11:20 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:21 +0100
commit83bc63f725263c571094e3af1c88c58992bf0ac6 (patch)
tree25be3b96127e122c9f1448f6155dea6b03293248 /scripts/build/binary_linux-image
parent293765885126c0fe429718f403be2802a225cd68 (diff)
downloadvyos-live-build-83bc63f725263c571094e3af1c88c58992bf0ac6.tar.gz
vyos-live-build-83bc63f725263c571094e3af1c88c58992bf0ac6.zip
Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename.
Diffstat (limited to 'scripts/build/binary_linux-image')
-rwxr-xr-xscripts/build/binary_linux-image10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/binary_linux-image b/scripts/build/binary_linux-image
index e6b162902..729b1600c 100755
--- a/scripts/build/binary_linux-image
+++ b/scripts/build/binary_linux-image
@@ -11,7 +11,7 @@
set -e
# Including common functions
-. "${LH_BASE:-/usr/share/live/build}"/scripts/build.sh
+. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh
# Setting static variables
DESCRIPTION="$(Echo 'install linux-image into binary')"
@@ -24,7 +24,7 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-if [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ]
+if [ "${LB_BINARY_IMAGES}" = "virtual-hdd" ]
then
exit 0
fi
@@ -43,7 +43,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-case "${LH_INITRAMFS}" in
+case "${LB_INITRAMFS}" in
casper)
DESTDIR="binary/casper"
;;
@@ -57,7 +57,7 @@ case "${LH_INITRAMFS}" in
;;
esac
-case "${LH_ARCHITECTURE}" in
+case "${LB_ARCHITECTURE}" in
powerpc)
LINUX="vmlinux"
;;
@@ -76,7 +76,7 @@ mkdir -p "${DESTDIR}"
cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
cp chroot/boot/initrd.img-* "${DESTDIR}"
-case "${LH_INITRAMFS}" in
+case "${LB_INITRAMFS}" in
live-initramfs|live-boot)
if [ -e chroot/usr/share/doc/live-initramfs/parameters.txt ]
then