mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 12:49:59 +00:00
rpm: Ensure macros file doesn't reference HOSTTOOLS
Currently the file encodes full paths to various host tools in the HOSTTOOLS directory which is bad in native and target cases. We can simply use the versions from PATH quite safely in OE. (From OE-Core rev: be901200d94beaa35e1d05eb502b117b3b523609) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
641ba7069a
commit
099224f81b
@ -128,6 +128,10 @@ do_install_append_class-target() {
|
||||
rm -rf ${D}/var
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
sed -i -e 's:${HOSTTOOLS_DIR}/::g' ${D}/${libdir}/rpm/macros
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/rpm-plugins/*.so \
|
||||
"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user