Skip to content
Permalink
Browse files

envsetup: Use wic.xz image for flashing

We can always use compressed images for bmaptool flashing and save space

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information...
kraj committed Aug 7, 2019
1 parent 55b2399 commit 3a1088f2e75c81f2d306b9d7879846e5190345dd
Showing with 3 additions and 3 deletions.
  1. +2 −2 conf/site.conf
  2. +1 −1 envsetup.sh
@@ -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"

@@ -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"

0 comments on commit 3a1088f

Please sign in to comment.
You can’t perform that action at this time.