From a8108d76434f61743a796257eeb2cad0d12ec2e4 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Mon, 24 Nov 2025 12:03:55 +0100 Subject: [PATCH] connectcore-demo-example: remove browser dependencies from browser-based pkgs Commit 87b73f3f5dba consolidated all connectcore-demo-example recipes into a single recipe with multiple packages. Even though we choose which of these packages to install depending on the image type, all packages (along with their dependencies) get built regardless of which package ends up getting installed. This means that the browsers (webkit/chromium) will get built as long as their respective layer is in the bblayers, regardless of the image type. For example: * wpewebkit will get built for all platforms with webkit support, regardless of the image (qt, flutter, core-image-base...) * chromium-ozone-wayland will get built for the ccimx95-dvk, even for qt and flutter images Since we already include the main webkit and chromium packages in their respective image's packagegroup, simply remove the dependencies from the connectcore-demo-example recipe to avoid build overhead and unexpected errors. Signed-off-by: Gabriel Valcazar --- .../recipes-digi/dey-examples/connectcore-demo-example.bbappend | 2 +- .../recipes-digi/dey-examples/connectcore-demo-example.bbappend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/dynamic-layers/chromium-browser-layer/recipes-digi/dey-examples/connectcore-demo-example.bbappend b/meta-digi-dey/dynamic-layers/chromium-browser-layer/recipes-digi/dey-examples/connectcore-demo-example.bbappend index 979555544..6f5b7042f 100644 --- a/meta-digi-dey/dynamic-layers/chromium-browser-layer/recipes-digi/dey-examples/connectcore-demo-example.bbappend +++ b/meta-digi-dey/dynamic-layers/chromium-browser-layer/recipes-digi/dey-examples/connectcore-demo-example.bbappend @@ -14,7 +14,7 @@ do_install:append() { PACKAGES =+ "${PN}-chromium" FILES:${PN}-chromium += "${systemd_system_unitdir}/connectcore-demo-example-chromium.service" -RDEPENDS:${PN}-chromium = "${PN}-multimedia chromium-ozone-wayland" +RDEPENDS:${PN}-chromium = "${PN}-multimedia" SYSTEMD_PACKAGES += "${PN}-chromium" SYSTEMD_SERVICE:${PN}-chromium = "connectcore-demo-example-chromium.service" diff --git a/meta-digi-dey/dynamic-layers/webkit/recipes-digi/dey-examples/connectcore-demo-example.bbappend b/meta-digi-dey/dynamic-layers/webkit/recipes-digi/dey-examples/connectcore-demo-example.bbappend index dd32c1432..c9da326a6 100644 --- a/meta-digi-dey/dynamic-layers/webkit/recipes-digi/dey-examples/connectcore-demo-example.bbappend +++ b/meta-digi-dey/dynamic-layers/webkit/recipes-digi/dey-examples/connectcore-demo-example.bbappend @@ -40,7 +40,7 @@ FILES:${PN}-webkit += "\ ${sysconfdir}/init.d/connectcore-demo-example-webkit \ " -RDEPENDS:${PN}-webkit = "cog initscripts-functions" +RDEPENDS:${PN}-webkit = "initscripts-functions" INITSCRIPT_PACKAGES += "${PN}-webkit" INITSCRIPT_NAME:${PN}-webkit = "connectcore-demo-example-webkit"