diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-25 15:07:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-26 18:05:13 +0000 |
commit | fdac3636843e00ed993dfd3a7327f71ee1e54b77 (patch) | |
tree | 24839bed7cddb181b2ec92fadee0e18430a6fe90 /meta/classes/kernel.bbclass | |
parent | c2231ded4b23c98aedf6512db3018f97e6f7eb83 (diff) | |
download | poky-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/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 1 |
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 | } |
514 | do_deploy[cleandirs] = "${DEPLOYDIR}" | ||
514 | do_deploy[dirs] = "${DEPLOYDIR} ${B}" | 515 | do_deploy[dirs] = "${DEPLOYDIR} ${B}" |
515 | do_deploy[prefuncs] += "package_get_auto_pr" | 516 | do_deploy[prefuncs] += "package_get_auto_pr" |
516 | 517 | ||