[OE-core] [PATCH 3/3] kmod: Use base_libdir for installing libkmod

Koen Kooi koen at dominion.thruhere.net
Fri May 11 12:47:08 UTC 2012


Op 9 mei 2012, om 00:53 heeft Khem Raj het volgende geschreven:

> This also helps avoid QA errors about binaries
> accessing contents from /usr/lib
> 
> Also fixes emptry libkmod problem since now
> the files are installed in expected place
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> meta/recipes-kernel/kmod/kmod_git.bb |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb
> index 4c860f0..fed068f 100644
> --- a/meta/recipes-kernel/kmod/kmod_git.bb
> +++ b/meta/recipes-kernel/kmod/kmod_git.bb
> @@ -16,7 +16,7 @@ RCONFLICTS_libkmod2 += "module-init-tools-insmod-static module-init-tools-depmod
> # autotools set prefix to /usr, however we want them in /bin and /sbin
> bindir = "${base_bindir}"
> sbindir = "${base_sbindir}"
> -# libdir = "${base_libdir}"
> +libdir = "${base_libdir}"

That breaks udev because the .pc is in the wrong place:

[koen at revo Angstrom]$ tar ztvf build/sstate-cache/sstate-kmod-armv7a-angstrom-linux-gnueabi-8-r0.1-armv7a-2-183860d867b80d514ca2f42ac90501a4_populate-sysroot.tgz
[..]
-rw-r--r-- koen/koen       205 2012-05-10 23:31 lib/pkgconfig/libkmod.pc






More information about the Openembedded-core mailing list