Skip to content

Commit

Permalink
envsetup: Use wic.xz image for flashing
Browse files Browse the repository at this point in the history
We can always use compressed images for bmaptool flashing and save space

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Aug 7, 2019
1 parent 55b2399 commit 3a1088f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf/site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ CONF_VERSION = "1"
# Modify the following if you need to change the types of images generated
# most of the time, this is set by the machine conf or in a custom image
# recipe.
IMAGE_FSTYPES += "tar.xz wic wic.bmap"
IMAGE_FSTYPES_remove_qemuall = "wic wic.bmap"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
IMAGE_FSTYPES_remove_qemuall = " wic.xz wic.bmap"

DISTRO ?= "yoe-glibc-sysvinit-wayland"

Expand Down
2 changes: 1 addition & 1 deletion envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ yoe_install_image() {
fi
WICIMG="$IMAGE"
if [ -z $WICIMG ]; then
WICIMG=${OE_BASE}/build/tmp/deploy/images/${MACHINE}/${IMAGE_NAME}-${MACHINE}.wic
WICIMG=${OE_BASE}/build/tmp/deploy/images/${MACHINE}/${IMAGE_NAME}-${MACHINE}.wic.xz
fi
if [ ! -e $WICIMG ]; then
echo "$WICIMG does not exist, please build the image first"
Expand Down

0 comments on commit 3a1088f

Please sign in to comment.