mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
which: cleanup update-alternatives deprecated code
(From OE-Core rev: 929d7ec6ad5a27b6fcc6ac8c0af1a9f25a7ff6df) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
484e8619cd
commit
1d1205698f
@@ -8,7 +8,7 @@ DEPENDS = "cwautomacros-native"
|
||||
|
||||
inherit autotools update-alternatives
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
EXTRA_OECONF = "--disable-iberty"
|
||||
|
||||
@@ -22,11 +22,5 @@ do_configure_prepend() {
|
||||
sed -i -e 's%@ACLOCAL_CWFLAGS@%-I ${STAGING_DIR_NATIVE}/usr/share/cwautomacros/m4%g' ${S}/Makefile.am ${S}/tilde/Makefile.am
|
||||
}
|
||||
|
||||
do_install() {
|
||||
autotools_do_install
|
||||
mv ${D}${bindir}/which ${D}${bindir}/which.${BPN}
|
||||
}
|
||||
|
||||
ALTERNATIVE_NAME = "which"
|
||||
ALTERNATIVE_PATH = "which.${BPN}"
|
||||
ALTERNATIVE_${PN} = "which"
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
Reference in New Issue
Block a user