diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-07 15:11:20 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:21 +0100 |
commit | 83bc63f725263c571094e3af1c88c58992bf0ac6 (patch) | |
tree | 25be3b96127e122c9f1448f6155dea6b03293248 /scripts/build/binary_net | |
parent | 293765885126c0fe429718f403be2802a225cd68 (diff) | |
download | live-build-83bc63f725263c571094e3af1c88c58992bf0ac6.zip live-build-83bc63f725263c571094e3af1c88c58992bf0ac6.tar.gz |
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_net')
-rwxr-xr-x | scripts/build/binary_net | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/build/binary_net b/scripts/build/binary_net index 6f7f94b..077a023 100755 --- a/scripts/build/binary_net +++ b/scripts/build/binary_net @@ -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 'build netboot binary image')" @@ -24,12 +24,12 @@ Arguments "${@}" Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source Set_defaults -if ! In_list net "${LH_BINARY_IMAGES}" +if ! In_list net "${LB_BINARY_IMAGES}" then exit 0 fi -if [ "${LH_NET_TARBALL}" = "none" ] +if [ "${LB_NET_TARBALL}" = "none" ] then exit 0 fi @@ -48,7 +48,7 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if [ "${LH_ARCHITECTURE}" = "sparc" ] +if [ "${LB_ARCHITECTURE}" = "sparc" ] then # Checking depends Check_package chroot/usr/bin/elftoaout sparc-utils @@ -61,7 +61,7 @@ then # Set target and source directories DESTDIR="tftpboot" - case "${LH_INITRAMFS}" in + case "${LB_INITRAMFS}" in casper) ORIGDIR="binary/casper" ;; @@ -72,7 +72,7 @@ then esac # Find defaults - DEFAULT_FLAVOUR="$(echo ${LH_LINUX_FLAVOURS} | awk '{ print $1 }')" + DEFAULT_FLAVOUR="$(echo ${LB_LINUX_FLAVOURS} | awk '{ print $1 }')" DEFAULT_KERNEL="$(basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR})" DEFAULT_INITRD="initrd.img-$(echo ${DEFAULT_KERNEL} | sed -e 's|vmlinuz-||')" DEFAULT_MAP="$(echo chroot/boot/System.map-*${DEFAULT_FLAVOUR})" @@ -120,7 +120,7 @@ rm -f binary-net.tar.gz rm -f binary-net.tar # Creating image file -ROOT_DIR=$(basename ${LH_NET_ROOT_PATH}) +ROOT_DIR=$(basename ${LB_NET_ROOT_PATH}) if [ "${ROOT_DIR}" = "chroot" ] then mv chroot chroot.tmp @@ -135,7 +135,7 @@ mkdir binary.tmp mv ${ROOT_DIR} tftpboot binary.tmp cd binary.tmp -case "${LH_NET_TARBALL}" in +case "${LB_NET_TARBALL}" in bzip2) tar cfj ../binary-net-tar.bz2 * ;; |