public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH RESEND] kernel.bbclass: fix emit_depmod_pkgdata() workdir
@ 2016-08-10 15:58 Ioan-Adrian Ratiu
  2016-08-10 20:00 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-08-10 15:58 UTC (permalink / raw)
  To: openembedded-core

bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for
functions" breaks the assumption that this function is running under
${B}. This causes build failures because System.map is under ${B}.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 062a0df..1a9b404 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -356,6 +356,7 @@ do_shared_workdir_setscene () {
 }
 
 emit_depmod_pkgdata() {
+	cd ${B}
 	# Stash data for depmod
 	install -d ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/
 	echo "${KERNEL_VERSION}" > ${PKGDESTWORK}/${KERNEL_PACKAGE_NAME}-depmod/${KERNEL_PACKAGE_NAME}-abiversion
-- 
2.9.2



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

end of thread, other threads:[~2016-08-11  9:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 15:58 [PATCH RESEND] kernel.bbclass: fix emit_depmod_pkgdata() workdir Ioan-Adrian Ratiu
2016-08-10 20:00 ` Burton, Ross
2016-08-11  8:48   ` Ioan-Adrian Ratiu
2016-08-11  9:32     ` Ioan-Adrian Ratiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox