summaryrefslogtreecommitdiff
path: root/scripts/build/binary_hdd
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-04-06 18:43:41 +0100
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 16:54:31 +0000
commit83d9145257220d39e487021e993344adafe71b8a (patch)
treedfccbf1f040b287f198dc414b3a19f25af59805a /scripts/build/binary_hdd
parent41738b1932f0830a2b7eb92e62540a2246105a11 (diff)
downloadvyos-live-build-83d9145257220d39e487021e993344adafe71b8a.tar.gz
vyos-live-build-83d9145257220d39e487021e993344adafe71b8a.zip
config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/
no backwards compatibility hack for reading the old var from existing saved config used because this was previously stored in the alternate format config/build file. Gbp-Dch: Short
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-xscripts/build/binary_hdd6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 5a5abc977..a7979965d 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -85,9 +85,9 @@ Restore_package_cache binary
Install_package
# Remove old binary
-if [ -f ${LIVE_IMAGE_NAME}.img ]
+if [ -f ${LB_IMAGE_NAME}.img ]
then
- rm -f ${LIVE_IMAGE_NAME}.img
+ rm -f ${LB_IMAGE_NAME}.img
fi
case "${LB_BINARY_FILESYSTEM}" in
@@ -344,7 +344,7 @@ if $MAKEDEV; then
mv chroot/dev.tmp chroot/dev
fi
-mv chroot/binary.img ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURE}.img
+mv chroot/binary.img ${LB_IMAGE_NAME}-${LB_ARCHITECTURE}.img
# Saving cache
Save_package_cache binary