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>
This commit is contained in:
parent
c2231ded4b
commit
fdac363684
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue