From 3ac195bbd4ced24e6a132cfbe5e175b95fc4664b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 25 Jan 2016 15:07:34 +0000 Subject: kernel: Clean DEPLOYDIR before do_deploy runs 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 --- meta/classes/kernel.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes') diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index dee6f7db24..f37affc6a9 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" -- cgit v1.2.3