aboutsummaryrefslogtreecommitdiff
path: root/sync_workspace.py
diff options
context:
space:
mode:
authorPatrik Berglund <patrik.berglund@arm.com>2019-12-16 10:41:51 +0000
committersudipto paul <sudipto.paul@arm.com>2019-12-16 15:41:47 +0000
commite3e2a4d593bf0d2c1b609635f57c1267fe0b8fea (patch)
tree86ccd07accea1491e86c6ad9b70d77260b5cc57c /sync_workspace.py
parent2ba60776044715bb403cba8da300ee10fa0a2b79 (diff)
n1sdp: remove the known tag for the source build
sync the n1sdp stack w.r.t to the tag arm-reference-platform git repo itself is checked out Signed-off-by: Patrik Berglund <patrik.berglund@arm.com>
Diffstat (limited to 'sync_workspace.py')
-rwxr-xr-xsync_workspace.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/sync_workspace.py b/sync_workspace.py
index fadd78e..708f651 100755
--- a/sync_workspace.py
+++ b/sync_workspace.py
@@ -387,8 +387,7 @@ ARMPLATDB = {
"mrel": "???",
"tagkey": "N1SDP",
"pburl": "https://git.linaro.org/landing-teams/working/arm/n1sdp-board-firmware.git/snapshot/",
- "knowntag": "N1SDP-2019.09.13",
- "pbrel": "{knowntag}",
+ "pbrel": "N1SDP-2019.09.13",
"docs": "docs/{pdir}",
"pihooks": [
"build_script__ubuntu_patches", "pcie_fix", "mv_grub",
@@ -2116,7 +2115,7 @@ def get_tags( p ):
script.abort("get_tags() called on platform without mrel='???' ({})".format(p))
arp_git = "git.linaro.org/landing-teams/working/arm/arm-reference-platforms.git"
- (knowntag, tagkey) = dblum("@", ["knowntag", "tagkey"], p)
+ tagkey = dblu("@.tagkey", p)
os.chdir(sys.path[0])
def not_in_arp_git_error():
@@ -2429,7 +2428,7 @@ class config:
))
show_menu = True
try:
- knowntag_index = tags.index(knowntag)
+ knowntag_index = tags.index(knowntag) if not knowntag is None else len(tags)-1
except ValueError:
if script.force_unknown_tag:
config.mrel = "refs/tags/"+knowntag