Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel.bbclass: Add cleandirs for do_shared_workdir
@ 2017-11-22 18:47 Saul Wold
  2017-11-22 20:51 ` Bruce Ashfield
  0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2017-11-22 18:47 UTC (permalink / raw)
  To: openembedded-core, richard.purdie, bruce.ashfield

Ensure we have a clean and empty STAGING_KERNEL_BUILDDIR (kernel-build-artifacts)
before creating it, otherwise there might be older artifacts from a prior
kernel build.

[YOCTO #11880]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/kernel.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 756707a3c25..2a0a7707a14 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -400,6 +400,7 @@ emit_depmod_pkgdata() {
 
 PACKAGEFUNCS += "emit_depmod_pkgdata"
 
+do_shared_workdir[cleandirs] += " ${STAGING_KERNEL_BUILDDIR}"
 do_shared_workdir () {
 	cd ${B}
 
@@ -655,8 +656,6 @@ kernel_do_deploy() {
 		fi
 	done
 }
-do_deploy[cleandirs] = "${DEPLOYDIR}"
-do_deploy[dirs] = "${DEPLOYDIR} ${B}"
 do_deploy[prefuncs] += "package_get_auto_pr"
 
 addtask deploy after do_populate_sysroot do_packagedata
-- 
2.13.5



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

end of thread, other threads:[~2017-11-27 18:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-22 18:47 [PATCH] kernel.bbclass: Add cleandirs for do_shared_workdir Saul Wold
2017-11-22 20:51 ` Bruce Ashfield
2017-11-26 22:44   ` Saul Wold
2017-11-27  4:52     ` Bruce Ashfield
2017-11-27 13:35       ` Bruce Ashfield
2017-11-27 18:38         ` Saul Wold

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