diff options
| author | Lyndon Brown <jnqnfe@gmail.com> | 2020-04-06 18:43:41 +0100 |
|---|---|---|
| committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-04-23 16:54:31 +0000 |
| commit | 83d9145257220d39e487021e993344adafe71b8a (patch) | |
| tree | dfccbf1f040b287f198dc414b3a19f25af59805a /scripts/build/binary_hdd | |
| parent | 41738b1932f0830a2b7eb92e62540a2246105a11 (diff) | |
| download | vyos-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-x | scripts/build/binary_hdd | 6 |
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 |
