Skip to content

Commit cf61532

Browse files
macpaul-lin-mtkchetan-rathore
authored andcommitted
Enable multi-threaded compression for ACS live image
Add -T0 parameter to compression tool will reduce lots of waiting time. Signed-off-by: Macpaul Lin <[email protected]>
1 parent 388eb3b commit cf61532

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SystemReady-band/build-scripts/make_image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ prepare_disk_image ()
167167
rm $PLATDIR/$IMG_BB.xz
168168
fi
169169
echo "Compressing the image : $PLATDIR/$IMG_BB"
170-
xz -z $PLATDIR/$IMG_BB
170+
xz -T0 -z $PLATDIR/$IMG_BB
171171

172172
if [ -f $PLATDIR/$IMG_BB.xz ]; then
173173
echo "Completed preparation of disk image for busybox boot"

SystemReady-devicetree-band/Yocto/build-scripts/build-systemready-dt-band-live-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ $? -eq 0 ]; then
2525
cd $TOP_DIR/meta-woden/build/tmp/deploy/images/genericarm64
2626
rm systemready-dt_acs_live_image.wic.xz 2> /dev/null
2727
cp woden-image-genericarm64.rootfs.wic systemready-dt_acs_live_image.wic
28-
xz -z systemready-dt_acs_live_image.wic
28+
xz -T0 -z systemready-dt_acs_live_image.wic
2929
echo "The built image is at $TOP_DIR/meta-woden/build/tmp/deploy/images/genericarm64/systemready-dt_acs_live_image.wic.xz"
3030
fi
3131
fi

0 commit comments

Comments
 (0)