public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 0/1] sdk: force set IMAGE_FSTYPES to SDK_FORMATS
@ 2026-03-23 10:26 'Benedikt Niedermayr' via isar-users
  2026-03-23 10:26 ` [PATCH v2 1/1] " 'Benedikt Niedermayr' via isar-users
  2026-03-26 13:06 ` [PATCH v2 0/1] " Zhihang Wei
  0 siblings, 2 replies; 3+ messages in thread
From: 'Benedikt Niedermayr' via isar-users @ 2026-03-23 10:26 UTC (permalink / raw)
  To: isar-users

Changes since v1:

- Add origin details for issue resolution to the commit message

Benedikt Niedermayr (1):
  sdk: force set IMAGE_FSTYPES to SDK_FORMATS

 meta/classes-recipe/sdk.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.43.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260323102706.3280629-1-benedikt.niedermayr%40siemens.com.

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

* [PATCH v2 1/1] sdk: force set IMAGE_FSTYPES to SDK_FORMATS
  2026-03-23 10:26 [PATCH v2 0/1] sdk: force set IMAGE_FSTYPES to SDK_FORMATS 'Benedikt Niedermayr' via isar-users
@ 2026-03-23 10:26 ` 'Benedikt Niedermayr' via isar-users
  2026-03-26 13:06 ` [PATCH v2 0/1] " Zhihang Wei
  1 sibling, 0 replies; 3+ messages in thread
From: 'Benedikt Niedermayr' via isar-users @ 2026-03-23 10:26 UTC (permalink / raw)
  To: isar-users

The image formats for the SDK should be set with SDK_FORMATS rather than
configuring the IMAGE_FSTYPES.
There are even cases were unwanted image types make it into the sdk
image format because of using append syntax which is stronger than:

```
IMAGE_FSTYPES:class-sdk = "${SDK_FORMATS}"
```

Setting IMAGE_FSTYPES to SDK_FORMATS during recipe pre finalize time
force overrides the value and thus ignores every append syntax override
assignment before.

This fixes a build error when building the isar-cip-core
(swupdate and fTPM support enabled) SDK without building the image
upfront.

Signed-off-by: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
---
 meta/classes-recipe/sdk.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/sdk.bbclass b/meta/classes-recipe/sdk.bbclass
index 17b56bcf7371..dc5863465958 100644
--- a/meta/classes-recipe/sdk.bbclass
+++ b/meta/classes-recipe/sdk.bbclass
@@ -18,6 +18,7 @@ python sdk_virtclass_handler() {
         # sdkchroot deploy only for sdk image
         bb.build.addtask('deploy_sdkchroot', 'do_build', 'do_rootfs', d)
         bb.build.deltask('copy_boot_files', d)
+        e.data.setVar('IMAGE_FSTYPES', e.data.getVar('SDK_FORMATS'))
     else:
         # add do_populate_sdk only to the non-sdk variant
         # it only exists to preserve the interface...
@@ -52,7 +53,6 @@ ROOTFS_FEATURES:append:class-sdk = " clean-package-cache generate-manifest expor
 ROOTFS_MANIFEST_DEPLOY_DIR:class-sdk = "${DEPLOY_DIR_SDKCHROOT}"
 ROOTFS_DPKGSTATUS_DEPLOY_DIR:class-sdk = "${DEPLOY_DIR_SDKCHROOT}"
 
-IMAGE_FSTYPES:class-sdk = "${SDK_FORMATS}"
 TAR_TRANSFORM:class-sdk = " --transform='s|rootfs|${IMAGE_FULLNAME}|'"
 
 # bitbake dependencies
-- 
2.43.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260323102706.3280629-2-benedikt.niedermayr%40siemens.com.

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

* Re: [PATCH v2 0/1] sdk: force set IMAGE_FSTYPES to SDK_FORMATS
  2026-03-23 10:26 [PATCH v2 0/1] sdk: force set IMAGE_FSTYPES to SDK_FORMATS 'Benedikt Niedermayr' via isar-users
  2026-03-23 10:26 ` [PATCH v2 1/1] " 'Benedikt Niedermayr' via isar-users
@ 2026-03-26 13:06 ` Zhihang Wei
  1 sibling, 0 replies; 3+ messages in thread
From: Zhihang Wei @ 2026-03-26 13:06 UTC (permalink / raw)
  To: Benedikt Niedermayr, isar-users

Applied to next, thanks.

Zhihang

On 3/23/26 11:26, 'Benedikt Niedermayr' via isar-users wrote:
> Changes since v1:
>
> - Add origin details for issue resolution to the commit message
>
> Benedikt Niedermayr (1):
>    sdk: force set IMAGE_FSTYPES to SDK_FORMATS
>
>   meta/classes-recipe/sdk.bbclass | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> --
> 2.43.0
>

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/2409aa74-c16a-4ee3-9e84-21e89d0fd9ac%40ilbers.de.

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

end of thread, other threads:[~2026-03-26 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-23 10:26 [PATCH v2 0/1] sdk: force set IMAGE_FSTYPES to SDK_FORMATS 'Benedikt Niedermayr' via isar-users
2026-03-23 10:26 ` [PATCH v2 1/1] " 'Benedikt Niedermayr' via isar-users
2026-03-26 13:06 ` [PATCH v2 0/1] " Zhihang Wei

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