mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
wget: use BPN for alternatives
(From OE-Core rev: 7e5c325df40012cf21cbbf9a38f4d476f62d7100) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4966bc5809
commit
1fa4e0554c
@@ -11,10 +11,10 @@ inherit autotools gettext update-alternatives
|
|||||||
EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath"
|
EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath"
|
||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
|
mv ${D}${bindir}/wget ${D}${bindir}/wget.${BPN}
|
||||||
}
|
}
|
||||||
|
|
||||||
ALTERNATIVE_NAME = "wget"
|
ALTERNATIVE_NAME = "wget"
|
||||||
ALTERNATIVE_LINK = "${bindir}/wget"
|
ALTERNATIVE_LINK = "${bindir}/wget"
|
||||||
ALTERNATIVE_PATH = "${bindir}/wget.${PN}"
|
ALTERNATIVE_PATH = "${bindir}/wget.${BPN}"
|
||||||
ALTERNATIVE_PRIORITY = "100"
|
ALTERNATIVE_PRIORITY = "100"
|
||||||
|
|||||||
Reference in New Issue
Block a user