[PATCH] installer: only include wic.bmap for IMAGE_DATA_POSTFIX wic

9 views
Skip to first unread message

Clara Kowalsky

unread,
Jul 24, 2026, 5:18:04 AM (12 days ago) Jul 24
to isar-...@googlegroups.com, florian...@siemens.com, Clara Kowalsky
If a target image type other than wic is added to the installer's
rootfs, there is no corresponding wic.bmap file. Add the wic.bmap to the
rootfs only if the IMAGE_DATA_POSTFIX is wic.

Signed-off-by: Clara Kowalsky <clara.k...@siemens.com>
---
meta-isar/classes-recipe/installer-add-rootfs.bbclass | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-isar/classes-recipe/installer-add-rootfs.bbclass b/meta-isar/classes-recipe/installer-add-rootfs.bbclass
index 111506df..c4921bc6 100644
--- a/meta-isar/classes-recipe/installer-add-rootfs.bbclass
+++ b/meta-isar/classes-recipe/installer-add-rootfs.bbclass
@@ -58,6 +58,7 @@ def get_mc_depends(d, task):

python() {
entries = []
+ image_data_postfix = d.getVar("IMAGE_DATA_POSTFIX") or ""

def add_entries(postfix, suffix):
sources = get_installer_sources(d, suffix)
@@ -70,8 +71,9 @@ python() {
d.setVarFlag(var, "source", src)
d.setVarFlag(var, "destination", dst)

- add_entries("", d.getVar("IMAGE_DATA_POSTFIX"))
- add_entries("-bmap", "wic.bmap")
+ add_entries("", image_data_postfix)
+ if image_data_postfix.startswith("wic"):
+ add_entries("-bmap", "wic.bmap")

d.setVar("ROOTFS_ADDITIONAL_FILES", " ".join(entries))
}
--
2.54.0

Heinisch, Alexander

unread,
Jul 27, 2026, 9:57:18 AM (9 days ago) Jul 27
to isar-...@googlegroups.com, Kowalsky, Clara, Bezdeka, Florian
On Fri, 2026-07-24 at 11:16 +0200, 'Clara Kowalsky' via isar-users
wrote:
> If a target image type other than wic is added to the installer's

Can you rephrase the commit message, so it's clear that wic.xz,
wic.zst, aso. remain valid options for bmap file copying?
--
Alexander Heinisch
Siemens AG
www.siemens.com

Clara Kowalsky

unread,
Jul 29, 2026, 6:47:35 AM (7 days ago) Jul 29
to Heinisch, Alexander (FT RPD CED SES-AT), isar-...@googlegroups.com, Bezdeka, Florian (FT RPD CED OES-DE)


On 7/27/26 15:57, Heinisch, Alexander (FT RPD CED SES-AT) wrote:
> On Fri, 2026-07-24 at 11:16 +0200, 'Clara Kowalsky' via isar-users
> wrote:
>> If a target image type other than wic is added to the installer's
>
> Can you rephrase the commit message, so it's clear that wic.xz,
> wic.zst, aso. remain valid options for bmap file copying?

Done, sent v2. Thanks for pointing out.
BR,
Clara
Reply all
Reply to author
Forward
0 new messages