mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
libdata-hexdump-perl: Use update alternatives for hexdump
Hexdump can come from busybox or util-linux, therefore its better to define it via u-a so it can live along with these packages Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
8efb6e7d69
commit
9b56183e66
|
|
@ -23,7 +23,7 @@ SRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535c
|
|||
|
||||
S = "${WORKDIR}/Data-HexDump-${PV}"
|
||||
|
||||
inherit cpan ptest
|
||||
inherit cpan ptest update-alternatives
|
||||
|
||||
do_install_ptest () {
|
||||
install -d ${D}${PTEST_PATH}/t
|
||||
|
|
@ -31,3 +31,8 @@ do_install_ptest () {
|
|||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
ALTERNATIVES_PRIORITY = "100"
|
||||
ALTERNATIVE_${PN} = "hexdump"
|
||||
ALTERNATIVE_LINK_NAME[hexdump] = "${bindir}/hexdump"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user