mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
libio-compress-perl: Use update alternatives for streamzip and zipdetails
these utilities are also provided by perl-misc package built by perl recipe. Prefer the one's provided by libio-compress-perl if its included. Fixes https://github.com/riscv/meta-riscv/issues/374 Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -38,4 +38,12 @@ RDEPENDS:${PN} += "\
|
|||||||
libcompress-raw-zlib-perl \
|
libcompress-raw-zlib-perl \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
inherit update-alternatives
|
||||||
|
|
||||||
|
ALTERNATIVE_PRIORITY = "39"
|
||||||
|
|
||||||
|
ALTERNATIVE:${PN} = "streamzip zipdetails"
|
||||||
|
ALTERNATIVE_LINK_NAME[streamzip] = "${bindir}/streamzip"
|
||||||
|
ALTERNATIVE_LINK_NAME[zipdetails] = "${bindir}/zipdetails"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user