From a22f64bef4138ad59a1eafa8ae023127f451ec2e Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Tue, 13 Jul 2021 12:33:47 +0100
Subject: [PATCH] ohos-image.bbclass: Export squashfs rootfs by default

This can help in development to play with deltas on squashfs images.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-ohos-core/classes/ohos-image.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-ohos-core/classes/ohos-image.bbclass b/meta-ohos-core/classes/ohos-image.bbclass
index 5a6394d5..b6211fd2 100644
--- a/meta-ohos-core/classes/ohos-image.bbclass
+++ b/meta-ohos-core/classes/ohos-image.bbclass
@@ -45,6 +45,8 @@ def extlinux_boot_files(d):
 # wic configuration with support for system update partition setup
 #
 
+IMAGE_FSTYPES_append = " squashfs"
+
 WKS_FILE_raspberrypi4-64 ?= "x-raspberrypi.wks.in"
 
 WKS_FILE_seco-intel-b68 ?= "x-efi-systemd-microcode.wks.in"
-- 
GitLab