diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2018-08-28 16:43:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-29 10:42:48 +0100 |
commit | ff9f07b8a4beac1b1ae93ef6bb97901be80d0b78 (patch) | |
tree | 46839f7bb950d08d378b010659a7ce8bfdd2e755 /meta/recipes-kernel/kmod | |
parent | 045b3c2cd3a0ac5cf666c8626bf0843ec5048597 (diff) | |
download | poky-ff9f07b8a4beac1b1ae93ef6bb97901be80d0b78.tar.gz |
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>
Diffstat (limited to 'meta/recipes-kernel/kmod')
-rw-r--r-- | meta/recipes-kernel/kmod/kmod_git.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index 69185b2453..b25679359b 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 | |||
13 | RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" | 13 | RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" |
14 | 14 | ||
15 | # autotools set prefix to /usr, however we want them in /bin and /sbin | 15 | # autotools set prefix to /usr, however we want them in /bin and /sbin |
16 | bindir = "${base_bindir}" | 16 | EXTRA_OECONF += " --bindir=${base_bindir} --sbindir=${base_sbindir}" |
17 | sbindir = "${base_sbindir}" | ||
18 | # libdir = "${base_libdir}" | ||
19 | 17 | ||
20 | do_install_append () { | 18 | do_install_append () { |
21 | install -dm755 ${D}${base_bindir} | 19 | install -dm755 ${D}${base_bindir} |