There’s a better fix on the list already. see '[OE-core] [PATCH] alsa-utils: fix packaging’.
Ross > On 19 Jan 2026, at 12:47, [email protected] wrote: > > From: Max Krummenacher <[email protected]> > > The recent move to using dynamically split packages created a regression. > > Some of the dynamically split packages are empty as the files > dynamically adding the package are packaged through explicit FILES_* > into some other package. > This then breaks the meta package alsa-utils which RDEPENDS on the > not existing empty packages. > > Empty packages: > alsa-utils-alsabat-test, alsa-utils-aplaymidi, alsa-utils-aplaymidi2, > alsa-utils-arecordmidi, alsa-utils-arecordmidi2, alsa-utils-axfer > > Change the RDEPENDS of alsa-utils to RRECOMMENDS to work around the issue. > > Fixes do_rootfs when IMAGE_INSTALL contains alsa-utils: > - nothing provides alsa-utils-aplaymidi needed by > alsa-utils-1.2.15.1-r0.armv7at2hf-neon > > Fixes: 26a28ee79350 ("alsa-utils: dynamically split the packages instead of > doing it manually") > Signed-off-by: Max Krummenacher <[email protected]> > --- > meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb > b/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb > index 927f94afb654..1ed4d9c4b54a 100644 > --- a/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb > +++ b/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb > @@ -70,7 +70,7 @@ python populate_packages:prepend() { > pn = d.getVar("PN") > packages = do_split_packages(d, d.getVar("bindir"), r"^([^.]+).*$", pn + > "-%s", "alsa-utils tool %s", extra_depends="") > packages += do_split_packages(d, d.getVar("sbindir"), r"^([^.]+).*$", pn > + "-%s", "alsa-utils tool %s", extra_depends="") > - d.setVar("RDEPENDS:" + pn, " ".join(packages)) > + d.setVar("RRECOMMENDS:" + pn, " ".join(packages)) > } > > PACKAGES_DYNAMIC = "^${PN}-.*" > -- > 2.42.0 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#229617): https://lists.openembedded.org/g/openembedded-core/message/229617 Mute This Topic: https://lists.openembedded.org/mt/117343689/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
