mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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:
@@ -511,6 +511,7 @@ kernel_do_deploy() {
|
|||||||
ln -sf ${initramfs_base_name}.bin ${initramfs_symlink_name}.bin
|
ln -sf ${initramfs_base_name}.bin ${initramfs_symlink_name}.bin
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
do_deploy[cleandirs] = "${DEPLOYDIR}"
|
||||||
do_deploy[dirs] = "${DEPLOYDIR} ${B}"
|
do_deploy[dirs] = "${DEPLOYDIR} ${B}"
|
||||||
do_deploy[prefuncs] += "package_get_auto_pr"
|
do_deploy[prefuncs] += "package_get_auto_pr"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user