alsa-utils: fix packaging of alsabat
PATCH 1/1 alsa-utils: fix packaging of alsabat
From: Max Krummenacher <[email protected]>
If bat is in PACKAGECONFIG two additional binaries are created which by the dynamic package split creates two additional packages. However due to explicitely adding the file alsabat-test.sh to the alsabat package the alsa-utils-alsabat-test package now is empty and not created.
Complete commit 4c6d5f96990d ("alsa-utils: fix packaging") which fixed the same issue for all other affected packages.
--- meta/recipes-multimedia/alsa/alsa-utils_1.2.15.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-utils_1.2.15.2.bb +2 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ DEPENDS = "alsa-lib ncurses libsamplerate0 bash" # Only needed as the dynamic packaging was altered, remove on upgrade -PR = "r1" +PR = "r2" # alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2"
@@ -63,6 +63,7 @@ SUMMARY:${PN}-speaker-test = "ALSA surround speaker test utility" RRECOMMENDS:${PN}-alsactl = "alsa-states" +RPROVIDES:${PN}-alsabat += "${PN}-alsabat-test" RPROVIDES:${PN}-aplay += "${PN}-arecord" RPROVIDES:${PN}-amidi += "${PN}-aplaymidi ${PN}-aplaymidi2 ${PN}-arecordmidi ${PN}-arecordmidi2"
Signature · 1 line
2.42.0
Hi all
Gentle ping.
The alsa-utils package is currently broken if one sets bat in PACKAGECONFIG.
Regards,
Max
Quoted 42 lines · On Mon, Jan 26, 2026 at 10:38 AM <[email protected]> wrote:
From: Max Krummenacher <[email protected]>
If bat is in PACKAGECONFIG two additional binaries are created which by the dynamic package split creates two additional packages. However due to explicitely adding the file
alsabat-test.shto the alsabat package the alsa-utils-alsabat-test package now is empty and not created.Complete commit
4c6d5f96990d("alsa-utils: fix packaging") which fixed the same issue for all other affected packages.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.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta/recipes-multimedia/alsa/alsa-utils_1.2.15.2.bb +2
-2@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ DEPENDS = "alsa-lib ncurses libsamplerate0 bash" # Only needed as the dynamic packaging was altered, remove on upgrade -PR = "r1" +PR = "r2" # alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2"@@ -63,6 +63,7 @@ SUMMARY:${PN}-speaker-test = "ALSA surround speaker test utility" RRECOMMENDS:${PN}-alsactl = "alsa-states" +RPROVIDES:${PN}-alsabat += "${PN}-alsabat-test" RPROVIDES:${PN}-aplay += "${PN}-arecord" RPROVIDES:${PN}-amidi += "${PN}-aplaymidi ${PN}-aplaymidi2 ${PN}-arecordmidi ${PN}-arecordmidi2" --2.42.0
Quoted 4 lines · Max Krummenacher via lists.openembedded.org
Hi all
Gentle ping.
Sorry, I'm pretty sure I confused your patch with another alsa-utils one at some point, and so dropped it by error.
It will be back in my branch soon.
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com