diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-04-28 07:32:16 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-04-28 07:58:16 +0200 |
commit | b1a8ae2e7c7e94a8d0bfc9f866aa20da5427ba9f (patch) | |
tree | d6d3b63e940665b1588197a68f0e9c114ec72e47 | |
parent | 58bdabe1391f37a9a9e441ce42ef48bd11944843 (diff) | |
download | vyos-live-build-b1a8ae2e7c7e94a8d0bfc9f866aa20da5427ba9f.tar.gz vyos-live-build-b1a8ae2e7c7e94a8d0bfc9f866aa20da5427ba9f.zip |
Correcting wrong tar command for tarball images, thanks to Yadickson Soto <yadickson@gmail.com> (Closes: #780627).
-rwxr-xr-x | scripts/build/binary_tar | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/binary_tar b/scripts/build/binary_tar index a0707ba16..042d0eb07 100755 --- a/scripts/build/binary_tar +++ b/scripts/build/binary_tar @@ -46,7 +46,8 @@ Create_lockfile .lock # Remove old binary rm -f ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.bz2 ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.gz ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.lz ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar -tar cf ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.tar ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}. +tar cf ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.tar binary + case "${LB_COMPRESSION}" in bzip2) bzip2 ${BZIP2_OPTIONS} ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.tar |