From b1a8ae2e7c7e94a8d0bfc9f866aa20da5427ba9f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 28 Apr 2015 07:32:16 +0200 Subject: Correcting wrong tar command for tarball images, thanks to Yadickson Soto (Closes: #780627). --- scripts/build/binary_tar | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3