diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-19 12:21:09 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | 2a9486d108408006959bb77cac37f9eb0612728a (patch) | |
tree | 187ea8854beb1e93e3493d603ba24d9cafa15d06 /scripts/build/binary_hdd | |
parent | 3cb7d3163af3f3e01bb974a57e71ee68ed1166a9 (diff) | |
download | vyos-live-build-2a9486d108408006959bb77cac37f9eb0612728a.tar.gz vyos-live-build-2a9486d108408006959bb77cac37f9eb0612728a.zip |
Using image name from configuration to name binary output files.
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 d4b2775ca..3d429d22a 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -88,9 +88,9 @@ Restore_cache cache/packages.binary Install_package # Remove old binary -if [ -f binary.img ] +if [ -f ${LIVE_iMAGE_NAME}.img ] then - rm -f binary.img + rm -f ${LIVE_iMAGE_NAME}.img fi # Enforce fat32 if we find individual files bigger than 2GB @@ -294,7 +294,7 @@ then mv chroot/dev.tmp chroot/dev fi -mv chroot/binary.img ./ +mv chroot/binary.img ${LIVE_IMAGE_NAME} # Saving cache Save_cache cache/packages.binary |