[oe-commits] Yang Shi : kernel: Prevent from installing so files into source dir

git at git.openembedded.org git at git.openembedded.org
Fri Aug 22 17:35:26 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 34ee73cfe51673edfe9e7b7d2507efd71572d630
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=34ee73cfe51673edfe9e7b7d2507efd71572d630

Author: Yang Shi <yang.shi at windriver.com>
Date:   Tue Aug 19 14:21:41 2014 -0700

kernel: Prevent from installing so files into source dir

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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 1289873..4f57770 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 -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"



More information about the Openembedded-commits mailing list