[OE-core] [PATCH] acpica: use update-alternatives for acpidump

Hongxu Jia hongxu.jia at windriver.com
Mon May 6 02:31:40 UTC 2019


On 5/6/19 10:26 AM, Hongxu Jia wrote:
> acpixtract is both provided by acpica and pmtools, so use

s/acpixtract/acpica/

Sorry for the typo, V2 incoming

//Hongxu

> update-alternatives to fix conflicts:
> ...
> |Error: Transaction check error:
> |  file /usr/bin/acpidump conflicts between attempted installs of
> pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586
> ...
>
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>   meta/recipes-extended/acpica/acpica_20190405.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/acpica/acpica_20190405.bb b/meta/recipes-extended/acpica/acpica_20190405.bb
> index 0cd88d4e30..25ad7ce31c 100644
> --- a/meta/recipes-extended/acpica/acpica_20190405.bb
> +++ b/meta/recipes-extended/acpica/acpica_20190405.bb
> @@ -26,7 +26,7 @@ S = "${WORKDIR}/acpica-unix2-${PV}"
>   inherit update-alternatives
>   
>   ALTERNATIVE_PRIORITY = "100"
> -ALTERNATIVE_${PN} = "acpixtract"
> +ALTERNATIVE_${PN} = "acpixtract acpidump"
>   
>   EXTRA_OEMAKE = "CC='${CC}' \
>                   OPT_CFLAGS=-Wall \




More information about the Openembedded-core mailing list