| Message ID | 20260123032747.99010-1-jianpeng.chang.cn@windriver.com |
|---|---|
| State | New |
| Headers | show |
| Series | alsa-utils: fix dynamic package splitting dependencies | expand |
On 23 Jan 2026, at 03:27, jianpeng.chang.cn via lists.openembedded.org <jianpeng.chang.cn=windriver.com@lists.openembedded.org> wrote: > nothing provides alsa-utils-aplaymidi needed by > alsa-utils-1.2.15.1-r0.corei7_64 from oe-repo. This was fixed by "alsa-utils: fix packaging” (4c6d5f96990d3200cbbe475bb750fe75492a277a) I believe. Ross
在 2026/1/26 下午9:03, Ross Burton 写道: > CAUTION: This email comes from a non Wind River email account! > Do not click links or open attachments unless you recognize the sender and know the content is safe. > > On 23 Jan 2026, at 03:27, jianpeng.chang.cn via lists.openembedded.org <jianpeng.chang.cn=windriver.com@lists.openembedded.org> wrote: >> nothing provides alsa-utils-aplaymidi needed by >> alsa-utils-1.2.15.1-r0.corei7_64 from oe-repo. > This was fixed by "alsa-utils: fix packaging” (4c6d5f96990d3200cbbe475bb750fe75492a277a) I believe. Yes, I see it. Sorry for the inconvenience. Thanks, Jianpeng > > Ross
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 927f94afb6..86e717e7b8 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,6 +70,13 @@ 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="") + + # Remove packages that are handled by manual FILES assignments + tools_in_manual_packages = [ + "aplaymidi", "aplaymidi2", "arecordmidi", "arecordmidi2", "axfer", "alsabat-test" + ] + packages = [pkg for pkg in packages if not any(pkg.endswith("-" + tool) for tool in tools_in_manual_packages)] + d.setVar("RDEPENDS:" + pn, " ".join(packages)) }