From 58cfee7ac773d2e98712781c3e529b5066536791 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Fri, 13 Dec 2024 11:26:27 +0100 Subject: [PATCH] qt6: remove packagegroup-qt6-addons from dey-toolchain builds packagegroup-qt6-modules is the base packagegroup added to SDKs that inherit the populate_sdk_qt6 bbclass. By default, this packagegroup pulls in two other packagegroups: packagegroup-qt6-essentials and packagegroup-qt6-addons. The addons packagegroup pulls in a big number of qt packages that we don't even install in our images. This would be fine if it weren't for the fact that the bitbake server tends to crash when building several of these packages at once, even on powerful development PCs. The current workaround is to reduce the number of bitbake jobs at a project level, but this hinders the overall SDK build time. Remove the addons and use our own qt6 packagegroup instead. This way, we prevent errors in our daily builds and the qt6 contents in our SDKs are more similar to what we provide in our images. In the ccimx8x-sbc-pro toolchain, this reduces the installer script's size by around 492 MiB. https://onedigi.atlassian.net/browse/DEL-9410 Signed-off-by: Gabriel Valcazar --- .../packagegroups/packagegroup-qt6-modules.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta-digi-dey/dynamic-layers/qt6-layer/recipes-qt/packagegroups/packagegroup-qt6-modules.bbappend diff --git a/meta-digi-dey/dynamic-layers/qt6-layer/recipes-qt/packagegroups/packagegroup-qt6-modules.bbappend b/meta-digi-dey/dynamic-layers/qt6-layer/recipes-qt/packagegroups/packagegroup-qt6-modules.bbappend new file mode 100644 index 000000000..2f242e95e --- /dev/null +++ b/meta-digi-dey/dynamic-layers/qt6-layer/recipes-qt/packagegroups/packagegroup-qt6-modules.bbappend @@ -0,0 +1,5 @@ +# Copyright (C) 2024, Digi International Inc. + +# Remove addons packagegroup in favor of our custom dey one +RDEPENDS:${PN}:remove:dey = "packagegroup-qt6-addons" +RDEPENDS:${PN}:append:dey = " packagegroup-qt6-dey"