mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 15:32:13 +02:00
opkg-utils: use ${bindir} instead of hardcoding /usr/bin
(From OE-Core rev: 48e04a93c357fb494470d2f175e644a6f43a7d63) (From OE-Core rev: 65ea72434fe227374147041b4b5fff19d8a18efb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
01a50376df
commit
3ff9e84883
@@ -26,6 +26,10 @@ do_install() {
|
||||
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
|
||||
}
|
||||
|
||||
do_install_append_class-target() {
|
||||
sed -i ${D}${bindir}/update-alternatives -e 's,/usr/bin,${bindir},g; s,/usr/lib,${libdir},g'
|
||||
}
|
||||
|
||||
PACKAGES =+ "update-alternatives-opkg"
|
||||
FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
|
||||
RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth"
|
||||
|
||||
Reference in New Issue
Block a user