alsa-utils: fix install package alsa-utils
PATCH 1/1 alsa-utils: fix install package alsa-utils
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
--- meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb +1 -1
@@ -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}-.*"
Signature · 1 line
2.42.0
There’s a better fix on the list already. see '[OE-core] [PATCH] alsa-utils: fix packaging’.
Ross
Quoted 43 lines · 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-axferChange the RDEPENDS of alsa-utils to RRECOMMENDS to work around the issue.
Fixes
do_rootfswhenIMAGE_INSTALLcontains alsa-utils:
- nothing provides alsa-utils-aplaymidi needed by alsa-utils-1.2.15.1-r0.armv7at2hf-neonFixes 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(-)meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb +1
-1@@ -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}-.*"Signature · 1 line
2.42.0
Quoted 14 lines · Max Krummenacher via lists.openembedded.org
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
Quoted 7 lines
Change the RDEPENDS of alsa-utils to RRECOMMENDS to work around the issue.
Fixes
do_rootfswhenIMAGE_INSTALLcontains alsa-utils:
- nothing provides alsa-utils-aplaymidi needed by alsa-utils-1.2.15.1-r0.armv7at2hf-neonFixes 26a28ee79350 ("alsa-utils: dynamically split the packages instead of doing it manually")Signed-off-by Max Krummenacher <[email protected]>
Quoted 28 lines
---
meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes- renamed from meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb +0
-0multimedia/alsa/alsa-utils_1.2.15.1.bb
index927f94afb654..1ed4d9c4b54a100644meta/recipes-multimedia/alsa/alsa-utils_1.2.15.1.bb +0
-0@@ -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}-.*"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229614): https://lists.openembedded.org/g/openembedded-core/message/229614
Mute This Topic: https://lists.openembedded.org/mt/117343689/8280565
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-