diff mbox series

[yocto-autobuilder-helper] scripts/run-patchmetrics: remove conf/templateconf.cfg as well between builds

Message ID 20220902080547.253827-1-alex.kanavin@gmail.com
State New
Headers show
Series [yocto-autobuilder-helper] scripts/run-patchmetrics: remove conf/templateconf.cfg as well between builds | expand

Commit Message

Alexander Kanavin Sept. 2, 2022, 8:05 a.m. UTC
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>
---
 scripts/run-patchmetrics | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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