public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [isar-cip-core][PATCH] IMAGE_TYPEDEP:swu: Don't depend on wic
@ 2023-05-16  8:50 Uladzimir Bely
  2023-06-04 20:37 ` Jan Kiszka
  0 siblings, 1 reply; 8+ messages in thread
From: Uladzimir Bely @ 2023-05-16  8:50 UTC (permalink / raw)
  To: cip-dev, ubely

Settings IMAGE_FSTYPE to something like "ext4 swu" or "wic.xz swu"
causes uncompressed '.wic' image left non-removed after the build
finished. This is caused by indirect dependency on "wic" in swupdate
bbclass that can't be overriden by the user in local.conf.

This patch removes this depencency. If the user want to use some wic
partitions to be packed into .swu bundle, they could simply add
directly add "wic" or "wic.xz" to IMAGE_FSTYPE.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 classes/swupdate.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/swupdate.bbclass b/classes/swupdate.bbclass
index 9a4d509..6f034c1 100644
--- a/classes/swupdate.bbclass
+++ b/classes/swupdate.bbclass
@@ -31,7 +31,7 @@ SWU_SIGNATURE_TYPE ?= "rsa"
 
 SWU_BUILDCHROOT_IMAGE_FILE ?= "${PP_DEPLOY}/${@os.path.basename(d.getVar('SWU_IMAGE_FILE'))}"
 
-IMAGE_TYPEDEP:swu = "wic ${SWU_ROOTFS_TYPE}${@get_swu_compression_type(d)}"
+IMAGE_TYPEDEP:swu = "${SWU_ROOTFS_TYPE}${@get_swu_compression_type(d)}"
 IMAGER_INSTALL:swu += "cpio ${@'openssl' if bb.utils.to_boolean(d.getVar('SWU_SIGNED')) else ''}"
 
 IMAGE_SRC_URI:swu = "file://${SWU_DESCRIPTION_FILE}.tmpl"
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-07 12:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16  8:50 [isar-cip-core][PATCH] IMAGE_TYPEDEP:swu: Don't depend on wic Uladzimir Bely
2023-06-04 20:37 ` Jan Kiszka
2023-06-05  7:13   ` MOESSBAUER, Felix
2023-06-06  7:09     ` Jan Kiszka
2023-06-06  7:57       ` Jan Kiszka
2023-06-07  6:49         ` Uladzimir Bely
2023-06-07  9:03         ` Uladzimir Bely
2023-06-07 12:21           ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox