diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-07-21 14:09:11 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-25 15:33:57 +0100 |
commit | 4033ca87f5e270b766ecb146c36815d28ece2b4a (patch) | |
tree | 8f5de9321f2cb5927ea1439572e1efe825a9242e | |
parent | 366e7a6b02e5fb86634d0b8d3d6cf365887a26ec (diff) | |
download | poky-4033ca87f5e270b766ecb146c36815d28ece2b4a.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: f1f6d153de9dc675b4bf4020799b2365b1b62ec7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index b2e9d4cb36..1289873032 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" |