[coreboot-gerrit] Patch set updated for coreboot: SeaBIOS: Update SeaBIOS from repo when using master branch

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Thu Mar 10 04:57:10 CET 2016


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13947

-gerrit

commit 7ab3f609b10995d850386194edca10933c9b2adb
Author: Martin Roth <martinroth at google.com>
Date:   Mon Mar 7 21:56:24 2016 -0700

    SeaBIOS: Update SeaBIOS from repo when using master branch
    
    Previously the SeaBIOS directory would never get updated after the
    initial clone because the tag would always match. This can be shown
    by noticing that the text 'Fetching new commits from the SeaBIOS
    git repo' is never seen.
    
    This change will always try to pull the latest code if 'Master'
    is selected.
    
    Change-Id: I460e2fb0c6f683a0f85343d164880c2d9e6d95cc
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 payloads/external/SeaBIOS/Makefile.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc
index c9d9199..4b134c8 100644
--- a/payloads/external/SeaBIOS/Makefile.inc
+++ b/payloads/external/SeaBIOS/Makefile.inc
@@ -15,8 +15,10 @@ seabios:
 	git clone http://review.coreboot.org/p/seabios.git seabios
 
 fetch: seabios
-	cd seabios; git show $(TAG-y) >/dev/null 2>&1 ;	if [ $$? -ne 0 ]; \
-	then echo "    Fetching new commits from the SeaBIOS git repo"; git fetch; fi
+	cd seabios; git show $(TAG-y) >/dev/null 2>&1 ;	if [ $$? -ne 0 ] || \
+		[ "$(TAG-y)" = "origin/master" ]; then \
+		echo "    Fetching new commits from the SeaBIOS git repo"; \
+		git fetch; fi
 
 checkout: fetch
 	echo "    Checking out SeaBIOS revision $(TAG-y)"



More information about the coreboot-gerrit mailing list