pmtools: use update-alternatives for acpixtract
PATCH 1/1 pmtools: use update-alternatives for acpixtract
From: Jackie Huang <[email protected]>
acpixtract is both provided by acpica and pmtools, so use update-alternatives to fix conflicts:
| file /usr/bin/acpixtract conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20170303-r0.i586
Signed-off-by Jackie Huang <[email protected]>
--- meta-oe/recipes-devtools/pmtools/pmtools_git.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-oe/recipes-devtools/pmtools/pmtools_git.bb +5 -0
@@ -15,6 +15,11 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux" S = "${WORKDIR}/git" +inherit update-alternatives + +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_${PN} = "acpixtract" + do_configure[noexec] = "1" do_compile() { oe_runmake
Signature · 1 line
2.11.0