All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel: Clean DEPLOYDIR before do_deploy runs
@ 2016-01-25 15:07 Richard Purdie
  2016-01-25 15:47 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2016-01-25 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Ashfield, Bruce

If we don't do this, the deploy sstate object contains an every
increasing number of modules tarballs and kernel images, one per
execution of "-c deploy -f".

Cleaning the directory before we start makes things much tidier.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index dee6f7d..f37affc 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -511,6 +511,7 @@ kernel_do_deploy() {
 		ln -sf ${initramfs_base_name}.bin ${initramfs_symlink_name}.bin
 	fi
 }
+do_deploy[cleandirs] = "${DEPLOYDIR}"
 do_deploy[dirs] = "${DEPLOYDIR} ${B}"
 do_deploy[prefuncs] += "package_get_auto_pr"
 




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

end of thread, other threads:[~2016-01-25 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-25 15:07 [PATCH] kernel: Clean DEPLOYDIR before do_deploy runs Richard Purdie
2016-01-25 15:47 ` Bruce Ashfield
2016-01-25 15:52   ` Richard Purdie
2016-01-25 16:14     ` Bruce Ashfield

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.