swu-images: fix ccimx6ul ROOTFS extension when read-only enabled

When read-only feature is enabled, the rootfs should be .squashfs
and not .ubifs.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit c32278af74cea8cb38aa81590eaa867be1c739c9)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Hector Palacios 2022-06-01 17:06:03 +02:00 committed by Javier Viguera
parent 0792b45a80
commit 63916b1143
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ TRUSTFENCE_SIGN_MODE = "HAB"
# SWUpdate sw-description configuration
BOOTFS_EXT ?= ".boot.ubifs"
ROOTFS_EXT ?= ".ubifs"
ROOTFS_EXT ?= '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", ".squashfs", ".ubifs", d)}'
BOOT_DEV_NAME ?= "linux"
ROOTFS_DEV_NAME ?= "rootfs"

View File

@ -19,7 +19,7 @@ DEY_BUILD_PLATFORM = "STM"
# SWUpdate sw-description configuration
BOOTFS_EXT ?= ".boot.ubifs"
ROOTFS_EXT ?= ".ubifs"
ROOTFS_EXT ?= '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", ".squashfs", ".ubifs", d)}'
BOOT_DEV_NAME ?= "linux"
ROOTFS_DEV_NAME ?= "rootfs"