All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: yocto@lists.yoctoproject.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH yocto-autobuilder-helper] scripts/run-patchmetrics: remove conf/templateconf.cfg as well between builds
Date: Fri,  2 Sep 2022 10:05:47 +0200	[thread overview]
Message-ID: <20220902080547.253827-1-alex.kanavin@gmail.com> (raw)

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 --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



                 reply	other threads:[~2022-09-02  8:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220902080547.253827-1-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.