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.kana...@gmail.com>
---
 scripts/run-patchmetrics | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/run-patchmetrics b/scripts/run-patchmetrics
index 1c805ec..50d9214 100755
--- a/scripts/run-patchmetrics
+++ b/scripts/run-patchmetrics
@@ -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
-- 
2.37.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57971): https://lists.yoctoproject.org/g/yocto/message/57971
Mute This Topic: https://lists.yoctoproject.org/mt/93414880/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to