summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-08-09 11:11:16 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-11 12:06:54 +0100
commitf5847d4f24ecb2ddcbba7266fbf75b8513d08a78 (patch)
tree7ae98f39551f8fb4e1ba6da499cf401d0bb5012e
parent59198004c0ed2f9105cde988082cf9f60ac35aed (diff)
downloadpoky-f5847d4f24ecb2ddcbba7266fbf75b8513d08a78.tar.gz
kernel: don't copy .so.dbg files into kernel source install
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. (From OE-Core rev: 649eb801b13e73b532688ede2d966e196d2cb314) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6ed1cb73c8..58b0ec89bb 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -232,7 +232,7 @@ kernel_do_install() {
232 # dir. This ensures the original Makefiles are used and not the 232 # dir. This ensures the original Makefiles are used and not the
233 # redirecting Makefiles in the build directory. 233 # redirecting Makefiles in the build directory.
234 # 234 #
235 find . -depth -not -name "*.cmd" -not -name "*.o" -not -path "./Documentation*" -not -path "./source*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir 235 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
236 cp .config $kerneldir 236 cp .config $kerneldir
237 if [ "${S}" != "${B}" ]; then 237 if [ "${S}" != "${B}" ]; then
238 pwd="$PWD" 238 pwd="$PWD"