aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/btool/futility.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-09-21 08:22:11 -0400
committerTom Rini <trini@konsulko.com>2022-09-21 08:22:11 -0400
commit179a9320c0a258fba0736fe16fd90d1cee8fc223 (patch)
tree7be6ac03626f5f167850ec389e004558afff4c98 /tools/binman/btool/futility.py
parent12ed6d4911ced1df099a365e0a994b54211b60f3 (diff)
parentd64af08f19132c85422b442657920f4024b5caf7 (diff)
Merge tag 'dm-pull-21sep22' of https://source.denx.de/u-boot/custodians/u-boot-dm
Fix futility bintool to run on newer distros Apply a lost patch
Diffstat (limited to 'tools/binman/btool/futility.py')
-rw-r--r--tools/binman/btool/futility.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/tools/binman/btool/futility.py b/tools/binman/btool/futility.py
index 75a05c2ac6..04c9aefe9b 100644
--- a/tools/binman/btool/futility.py
+++ b/tools/binman/btool/futility.py
@@ -160,8 +160,17 @@ class Bintoolfutility(bintool.Bintool):
Raises:
Valuerror: Fetching could not be completed
"""
- if method != bintool.FETCH_BIN:
+ if method != bintool.FETCH_BUILD:
return None
- fname, tmpdir = self.fetch_from_drive(
- '1hdsInzsE4aJbmBeJ663kYgjOQyW1I-E0')
- return fname, tmpdir
+
+ # The Chromium OS repo is here:
+ # https://chromium.googlesource.com/chromiumos/platform/vboot_reference/
+ #
+ # Unfortunately this requires logging in and obtaining a line for the
+ # .gitcookies file. So use a mirror instead.
+ result = self.build_from_git(
+ 'https://github.com/sjg20/vboot_reference.git',
+ 'all',
+ 'build/futility/futility',
+ flags=['USE_FLASHROM=0'])
+ return result