mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
kmod: do not reset $bindir/sbindir, use EXTRA_OECONF instead
This was causing issues with classes that use $bindir to find already installed binaries in rootfs (manpages class in particular). $bindir needs to be the same for all recipes. (From OE-Core rev: 3d92bce5a8e021c03e509e8ee6ead064e97bfcec) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
045b3c2cd3
commit
ff9f07b8a4
@@ -13,9 +13,7 @@ RREPLACES_${PN} += "module-init-tools-insmod-static module-init-tools-depmod mod
|
||||
RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
|
||||
|
||||
# autotools set prefix to /usr, however we want them in /bin and /sbin
|
||||
bindir = "${base_bindir}"
|
||||
sbindir = "${base_sbindir}"
|
||||
# libdir = "${base_libdir}"
|
||||
EXTRA_OECONF += " --bindir=${base_bindir} --sbindir=${base_sbindir}"
|
||||
|
||||
do_install_append () {
|
||||
install -dm755 ${D}${base_bindir}
|
||||
|
||||
Reference in New Issue
Block a user