scripts/run-patchmetrics: remove conf/templateconf.cfg as well between builds

With the recent template config changes to oe-core its content is no longer
backwards compatible.

'-f' is to guarantee future compatibility with build setups where the file
is not present.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2022-09-02 10:05:47 +02:00 committed by Richard Purdie
parent b7ee72be92
commit e18974a86c

View File

@ -34,6 +34,7 @@ for branch in master kirkstone dunfell; do
git -C $PARENTDIR reset origin/$branch --hard
rm conf/local.conf
rm conf/bblayers.conf
rm -f conf/templateconf.cfg
rm tmp/ -rf
unset BB_ENV_PASSTHROUGH_ADDITIONS
unset BB_ENV_EXTRAWHITE