summaryrefslogtreecommitdiff
path: root/scripts/build/binary_tar
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 13:36:38 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitbcde01785465ba7faf7e953f5dc0c15018494c5f (patch)
tree65255a3f5ddfbb36ecc7eb6071fd8c2cc1204b2d /scripts/build/binary_tar
parent2a666ed5d8d9fbf5303f54c582d5013845e6ca5c (diff)
downloadvyos-live-build-bcde01785465ba7faf7e953f5dc0c15018494c5f.tar.gz
vyos-live-build-bcde01785465ba7faf7e953f5dc0c15018494c5f.zip
Including architecture in binary output filenames.
Diffstat (limited to 'scripts/build/binary_tar')
-rwxr-xr-xscripts/build/binary_tar12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/binary_tar b/scripts/build/binary_tar
index e5523012d..150e15917 100755
--- a/scripts/build/binary_tar
+++ b/scripts/build/binary_tar
@@ -44,24 +44,24 @@ Check_lockfile .lock
Create_lockfile .lock
# Remove old binary
-rm -f ${LIVE_IMAGE_NAME}.tar.bz2 ${LIVE_IMAGE_NAME}.tar.gz ${LIVE_IMAGE_NAME}.tar.lz ${LIVE_IMAGE_NAME}.tar
+rm -f ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.bz2 ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.gz ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.lz ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar
-tar cf ${LIVE_IMAGE_NAME}.tar.tar ${LIVE_IMAGE_NAME}.
+tar cf ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.tar ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.
case "${LB_COMPRESSION}" in
bzip2)
- bzip2 ${BZIP2_OPTIONS} ${LIVE_IMAGE_NAME}.tar.tar
+ bzip2 ${BZIP2_OPTIONS} ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.tar
;;
gzip)
- gzip ${GZIP_OPTIONS} ${LIVE_IMAGE_NAME}.tar.tar
+ gzip ${GZIP_OPTIONS} ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.tar
;;
lzip)
- lzip ${LZIP_OPTIONS} ${LIVE_IMAGE_NAME}.tar.tar
+ lzip ${LZIP_OPTIONS} ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.tar
;;
xz)
- xz ${XZ_OPTIONS} ${LIVE_IMAGE_NAME}.tar.tar
+ xz ${XZ_OPTIONS} ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.tar.tar
;;
none)