[oe-commits] [openembedded-core] 02/13: kmod: do not reset $bindir/sbindir, use EXTRA_OECONF instead

git at git.openembedded.org git at git.openembedded.org
Wed Aug 29 09:44:48 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 3d92bce5a8e021c03e509e8ee6ead064e97bfcec
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Tue Aug 28 16:43:58 2018 +0200

    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.
    
    Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/kmod/kmod_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb
index 69185b2..b256793 100644
--- a/meta/recipes-kernel/kmod/kmod_git.bb
+++ b/meta/recipes-kernel/kmod/kmod_git.bb
@@ -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}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list