From: Adrian Schröter Date: Mon, 6 Sep 2010 18:28:21 +0000 (+0200) Subject: use sparse option when bzip2 raw files (patch by cthiel) X-Git-Tag: upstream/20120927~281 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff165a4c7ea93b9d9a9bdb9c4595dd0f6044a61a;p=platform%2Fupstream%2Fbuild.git use sparse option when bzip2 raw files (patch by cthiel) --- diff --git a/build_kiwi.sh b/build_kiwi.sh index 286af24..3303cb1 100644 --- a/build_kiwi.sh +++ b/build_kiwi.sh @@ -133,7 +133,7 @@ if [ -e "$imageout.raw" ]; then mv "$imageout.raw" "/$TOPDIR/KIWI/$imageout$buildnum.raw" pushd /$TOPDIR/KIWI echo "bzip2 raw file..." - bzip2 "$imageout$buildnum.raw" + bzip2 --sparse "$imageout$buildnum.raw" if [ -x /usr/bin/sha256sum ]; then echo "Create sha256 file..." /usr/bin/sha256sum "$imageout$buildnum.raw.bz2" > "$imageout$buildnum.raw.bz2.sha256"