summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-25 15:07:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 18:05:13 +0000
commitfdac3636843e00ed993dfd3a7327f71ee1e54b77 (patch)
tree24839bed7cddb181b2ec92fadee0e18430a6fe90 /meta/classes
parentc2231ded4b23c98aedf6512db3018f97e6f7eb83 (diff)
downloadpoky-fdac3636843e00ed993dfd3a7327f71ee1e54b77.tar.gz
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. (From OE-Core rev: 3ac195bbd4ced24e6a132cfbe5e175b95fc4664b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
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() {
511 ln -sf ${initramfs_base_name}.bin ${initramfs_symlink_name}.bin 511 ln -sf ${initramfs_base_name}.bin ${initramfs_symlink_name}.bin
512 fi 512 fi
513} 513}
514do_deploy[cleandirs] = "${DEPLOYDIR}"
514do_deploy[dirs] = "${DEPLOYDIR} ${B}" 515do_deploy[dirs] = "${DEPLOYDIR} ${B}"
515do_deploy[prefuncs] += "package_get_auto_pr" 516do_deploy[prefuncs] += "package_get_auto_pr"
516 517