packagegroup-core-x11-sato: reduce footprint for ccimx6ul-based images

* Disable GTK-based gstreamer player and connman network manager
* Remove matchbox-terminal to avoid pulling ICU
* Avoid pulseaudio client configuration to prevent duplicate instances

Also, delete the autospawn-for-root package config removal in our bbappend,
as that is not enabled by default in the recipe.

https://onedigi.atlassian.net/browse/DEL-9685

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2025-06-25 18:34:03 +02:00
parent 9f6e78f036
commit 5054410dfa
2 changed files with 13 additions and 13 deletions

View File

@ -55,8 +55,6 @@ SRC_URI:append:mx9-nxp-bsp = " \
file://default.pa \ file://default.pa \
" "
# Disable allow-autospawn-for-root as default
PACKAGECONFIG:remove = "autospawn-for-root"
PACKAGECONFIG[oss-output] = "-Doss-output=enabled,-Doss-output=disabled," PACKAGECONFIG[oss-output] = "-Doss-output=enabled,-Doss-output=disabled,"
GLIBC_64BIT_TIME_FLAGS:pn-pulseaudio = " ${@bb.utils.contains('PACKAGECONFIG', 'oss-output', '', ' -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64', d)}" GLIBC_64BIT_TIME_FLAGS:pn-pulseaudio = " ${@bb.utils.contains('PACKAGECONFIG', 'oss-output', '', ' -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64', d)}"

View File

@ -1,15 +1,17 @@
# Copyright (C) 2014-2021, Digi International Inc. # Copyright (C) 2014-2025, Digi International Inc.
# Disable network manager #
NETWORK_MANAGER = "" # DEY only uses x11-sato based images on the CC6UL, so tweak the
# recipe to fit in the small CC6UL rootfs.
#
RDEPENDS:${PN}-apps:remove:ccimx6ul = "gst-player" # Disable GTK-based gstreamer examples and network manager
GSTEXAMPLES:dey = ""
NETWORK_MANAGER:dey = ""
matchbox-base = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', ' \ # Prevent installing ICU package
matchbox-desktop matchbox-session-sato matchbox-keyboard matchbox-keyboard-applet matchbox-keyboard-im matchbox-config-gtk', '', d)}" RDEPENDS:${PN}-apps:remove:dey = "matchbox-terminal"
matchbox-apps = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'matchbox-terminal', '', d)}"
RDEPENDS:${PN}-base:remove = "${matchbox-base}" # Prevent launching a second instance of pulseaudio as
RDEPENDS:${PN}-apps:remove = "${matchbox-apps} \ # DEY uses system-wide pulseaudio
gst-player-bin \ RDEPENDS:${PN}-base:remove:dey = "pulseaudio-client-conf-sato"
"