* [Buildroot] [PATCH] scripts/autobuild-run: also fetch tags when updating buildroot sources
@ 2022-08-14 21:19 Yann E. MORIN
2022-08-20 9:30 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2022-08-14 21:19 UTC (permalink / raw)
To: buildroot; +Cc: Yann E. MORIN
The post recent tag is used by git-describe, and ends up in the header
of the .Config file, so having up-to-date local tags helps in reviewing
.config files when trying to reproduce autobuild failures.
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
scripts/autobuild-run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index 337644f..4987c61 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -328,7 +328,7 @@ class Builder:
# Update the Buildroot sources.
abssrcdir = os.path.abspath(self.srcdir)
- ret = subprocess.call(["git", "fetch", self.repo, branch], cwd=abssrcdir, stdout=self.log, stderr=self.log)
+ ret = subprocess.call(["git", "fetch", "-t", self.repo, branch], cwd=abssrcdir, stdout=self.log, stderr=self.log)
if ret != 0:
log_write(self.log, "ERROR: could not fetch Buildroot sources")
return -1
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-20 9:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-14 21:19 [Buildroot] [PATCH] scripts/autobuild-run: also fetch tags when updating buildroot sources Yann E. MORIN
2022-08-20 9:30 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox