packagegroup-arago-tisdk-gtk: set PACKAGE_ARCH
PATCH 1/1 packagegroup-arago-tisdk-gtk: set PACKAGE_ARCH
From: Randolph Sapp <[email protected]>
This packagegroup pulls a package that is automatically renamed with DEBIAN_NAMES. This is not allowed due to a sanity check that was added to prevent issues with packagegroups being aggressively cached and DEBIAN_NAMES potentially breaking this cache. See [YOCTO #7298] or 5bf3e447d2f in openembedded-core [1].
[1] https://git.openembedded.org/openembedded-core/commit/?id=5bf3e447d2f5064495d83a8fad30229bcf1ecc9b
---
Tagged scarthgap/master as the origional patch was, but I don't think the original patch has made it to master yet.
.../packagegroups/packagegroup-arago-tisdk-gtk.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-gtk.bb +4 -0
@@ -2,6 +2,10 @@ DESCRIPTION = "Task to add Gtk embedded related packages" LICENSE = "MIT" PR = "r2" +# Required for packages that are renamed using DEBIAN_NAMES +# [YOCTO #7298] +PACKAGE_ARCH = "${TUNE_PKGARCH}" + inherit packagegroup RDEPENDS:${PN} = "\
Signature · 1 line
2.48.1
Quoted 8 lines · On 3/10/25 7:35 PM, [email protected] wrote:
From: Randolph Sapp <[email protected]>
This packagegroup pulls a package that is automatically renamed with
DEBIAN_NAMES. This is not allowed due to a sanity check that was added to prevent issues with packagegroups being aggressively cached andDEBIAN_NAMESpotentially breaking this cache. See [YOCTO #7298] or5bf3e447d2fin openembedded-core [1].
Quoted 6 lines
[1] https://git.openembedded.org/openembedded-core/commit/?id=5bf3e447d2f5064495d83a8fad30229bcf1ecc9b
Fixes 731fd376 (packagegroups: Do not set package arch when unneeded, 2025-03-03)Signed-off-by Randolph Sapp <[email protected]>---
Should we just drop this package group? Only has 2 packages, one is just a demo, and the other (gtk+3) should be installed by DEPENDS only for packages that depend on it, not unconditionally as done here.
Andrew
Quoted 21 lines
Tagged scarthgap/master as the origional patch was, but I don't think the original patch has made it to master yet.
.../packagegroups/packagegroup-arago-tisdk-gtk.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-gtk.bb +4
-0@@ -2,6 +2,10 @@ DESCRIPTION = "Task to add Gtk embedded related packages" LICENSE = "MIT" PR = "r2" +# Required for packages that are renamed using DEBIAN_NAMES +# [YOCTO #7298] +PACKAGE_ARCH = "${TUNE_PKGARCH}" + inherit packagegroup RDEPENDS:${PN} = "\
Quoted 16 lines · Andrew Davis
Quoted 8 lines · On 3/10/25 7:35 PM, [email protected] wrote:
From: Randolph Sapp <[email protected]>
This packagegroup pulls a package that is automatically renamed with
DEBIAN_NAMES. This is not allowed due to a sanity check that was added to prevent issues with packagegroups being aggressively cached andDEBIAN_NAMESpotentially breaking this cache. See [YOCTO #7298] or5bf3e447d2fin openembedded-core [1].Quoted 6 lines
[1] https://git.openembedded.org/openembedded-core/commit/?id=5bf3e447d2f5064495d83a8fad30229bcf1ecc9b
Fixes 731fd376 (packagegroups: Do not set package arch when unneeded, 2025-03-03)Signed-off-by Randolph Sapp <[email protected]>---
Quoted 5 lines
Should we just drop this package group? Only has 2 packages, one is just a demo, and the other (gtk+3) should be installed by DEPENDS only for packages that depend on it, not unconditionally as done here.
Andrew
Well, we could drop the gtk+3 package from the group and keep the demos so we know gtk+3 is still implicitly pulled. Gets weird considering this layer at one point came with default applications and libraries we thought were useful.
I don't know. Ryan, Denys, do you guys think we've weaned enough customers off of using the example SDK directly to move to a more pragmatic packaging list? (Just the stuff required to test things and maybe some debug tools.)
Quoted 21 lines
Quoted 21 lines
Tagged scarthgap/master as the origional patch was, but I don't think the original patch has made it to master yet.
.../packagegroups/packagegroup-arago-tisdk-gtk.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-gtk.bb +4
-0@@ -2,6 +2,10 @@ DESCRIPTION = "Task to add Gtk embedded related packages" LICENSE = "MIT" PR = "r2" +# Required for packages that are renamed using DEBIAN_NAMES +# [YOCTO #7298] +PACKAGE_ARCH = "${TUNE_PKGARCH}" + inherit packagegroup RDEPENDS:${PN} = "\
Quoted 23 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 16 lines · Andrew Davis
Quoted 8 lines · On 3/10/25 7:35 PM, [email protected] wrote:
From: Randolph Sapp <[email protected]>
This packagegroup pulls a package that is automatically renamed with
DEBIAN_NAMES. This is not allowed due to a sanity check that was added to prevent issues with packagegroups being aggressively cached andDEBIAN_NAMESpotentially breaking this cache. See [YOCTO #7298] or5bf3e447d2fin openembedded-core [1].Quoted 6 lines
[1] https://git.openembedded.org/openembedded-core/commit/?id=5bf3e447d2f5064495d83a8fad30229bcf1ecc9b
Fixes 731fd376 (packagegroups: Do not set package arch when unneeded, 2025-03-03)Signed-off-by Randolph Sapp <[email protected]>---
Quoted 5 lines
Should we just drop this package group? Only has 2 packages, one is just a demo, and the other (gtk+3) should be installed by DEPENDS only for packages that depend on it, not unconditionally as done here.
Andrew
Quoted 7 lines
Well, we could drop the gtk+3 package from the group and keep the demos so we know gtk+3 is still implicitly pulled. Gets weird considering this layer at one point came with default applications and libraries we thought were useful.
I don't know. Ryan, Denys, do you guys think we've weaned enough customers off of using the example SDK directly to move to a more pragmatic packaging list? (Just the stuff required to test things and maybe some debug tools.)
Sorry, missed this question earlier. I don't have a preference here, whether toolkits like gtk+ should be explicitly listed in packagegroups any longer.
That said, we used to have matching packagegroups for specific areas - one for the default/demo rootfs (e.g. the one in this patch is packagegroup-*-gtk.bb) and corresponding lists for the target side of the SDK (*-gtk-sdk-target.bb) and somethimes even the host side of the SDK (*-sd-host.bb). That way the rootfs can have a demo, which pulls gtk+3 toolkit, while SDK doesn't need a demo, but pull in the development package of the toolkit gtk+3-dev. As back then SDKs were not built from a corresponding rootfs recipe, but instead from own set of packagegroups.
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Tagged scarthgap/master as the origional patch was, but I don't think the original patch has made it to master yet.
.../packagegroups/packagegroup-arago-tisdk-gtk.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-gtk.bb +4
-0@@ -2,6 +2,10 @@ DESCRIPTION = "Task to add Gtk embedded related packages" LICENSE = "MIT" PR = "r2" +# Required for packages that are renamed using DEBIAN_NAMES +# [YOCTO #7298] +PACKAGE_ARCH = "${TUNE_PKGARCH}" + inherit packagegroup RDEPENDS:${PN} = "\