All of lore.kernel.org
 help / color / mirror / Atom feed
* [dora][backport][PATCH] kernel: don't copy .so.dbg files into kernel source install
@ 2014-08-09  9:11 Koen Kooi
  2014-08-11 10:04 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2014-08-09  9:11 UTC (permalink / raw)
  To: openembedded-core

From: Bruce Ashfield <bruce.ashfield@windriver.com>

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>
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b2e9d4c..1289873 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -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"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [dora][backport][PATCH] kernel: don't copy .so.dbg files into kernel source install
  2014-08-09  9:11 [dora][backport][PATCH] kernel: don't copy .so.dbg files into kernel source install Koen Kooi
@ 2014-08-11 10:04 ` Richard Purdie
  2014-08-11 11:24   ` Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2014-08-11 10:04 UTC (permalink / raw)
  To: Koen Kooi; +Cc: openembedded-core

On Sat, 2014-08-09 at 11:11 +0200, Koen Kooi wrote:
> From: Bruce Ashfield <bruce.ashfield@windriver.com>
> 
> 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>
> ---
>  meta/classes/kernel.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Was this mean for daisy, not dora? It doesn't apply to dora but did for
daisy...

Cheers,

Richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dora][backport][PATCH] kernel: don't copy .so.dbg files into kernel source install
  2014-08-11 10:04 ` Richard Purdie
@ 2014-08-11 11:24   ` Koen Kooi
  0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2014-08-11 11:24 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core


Op 11 aug. 2014, om 12:04 heeft Richard Purdie <richard.purdie@linuxfoundation.org> het volgende geschreven:

> On Sat, 2014-08-09 at 11:11 +0200, Koen Kooi wrote:
>> From: Bruce Ashfield <bruce.ashfield@windriver.com>
>> 
>> 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>
>> ---
>> meta/classes/kernel.bbclass | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Was this mean for daisy, not dora? It doesn't apply to dora but did for
> daisy...

Err, right 'daisy', not 'dora'. Sorry for the confusion.

regards,

Koen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-11 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-09  9:11 [dora][backport][PATCH] kernel: don't copy .so.dbg files into kernel source install Koen Kooi
2014-08-11 10:04 ` Richard Purdie
2014-08-11 11:24   ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.