Skip to contentSkip to conversation

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

PATCH New Alexander Kanavin 1 participant 1 message Sep 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 scripts/run-patchmetrics | 1 +
 1 file changed, 1 insertion(+)
scripts/run-patchmetrics +1 -0
index 1c805ec..50d9214 100755
@@ -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
Signature · 1 line
2.37.2