]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel: don't copy .so.dbg files into kernel source install
authorBruce Ashfield <bruce.ashfield@windriver.com>
Sat, 9 Aug 2014 09:11:16 +0000 (11:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Aug 2014 10:03:59 +0000 (11:03 +0100)
In 3.16+ x86-64 kernel builds produce a vdso64.so.dbg file. If this file is
copied into the kernel source install multiple QA failures are triggered.
Specifically, this file triggers a debug package split that results in
files installed but not shipped, and invalid .debug file errors.

By ensuring that .so files are not copied, we avoid this incorrect split
with no impact on future build phases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index 6ed1cb73c8824590e6163cfd13ab3689f3c99f89..58b0ec89bbc32bb775bff83982958d075eabd626 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 -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 -path "./Documentation*" -not -path "./source*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir
        cp .config $kerneldir
        if [ "${S}" != "${B}" ]; then
                pwd="$PWD"