]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel: Prevent from installing so files into source dir
authorYang Shi <yang.shi@windriver.com>
Tue, 19 Aug 2014 21:21:41 +0000 (14:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Aug 2014 08:25:04 +0000 (09:25 +0100)
vdso build could generate so files, avoid installing such so files into kernel
source dir, otherwise the below package QA error might be hit:

ERROR: QA Issue: File '/usr/src/kernel/arch/x86/vdso/vdso64.so' from
linux-yocto was already stripped, this will prevent future
debugging! [already-stripped]

Signed-off-by: Yang Shi <yang.shi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index 1289873032331375284dd3ac8050297f2af89756..4f57770157191dc55626918c12c2734b9381f8da 100644 (file)
@@ -232,7 +232,7 @@ kernel_do_install() {
        # dir. This ensures the original Makefiles are used and not the
        # redirecting Makefiles in the build directory.
        #
-       find . -depth -not -name "*.cmd" -not -name "*.o" -not -name "*.so.dbg" -not -path "./Documentation*" -not -path "./source*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir
+       find . -depth -not -name "*.cmd" -not -name "*.o" -not -name "*.so.dbg" -not -name "*.so" -not -path "./Documentation*" -not -path "./source*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir
        cp .config $kerneldir
        if [ "${S}" != "${B}" ]; then
                pwd="$PWD"