mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 23:51:07 +02:00
Define buildroot properly.
Followup to "Add more error checking to preflight queue." BUG=Br0ken build TBR=kliegs@chromium.org TEST=Ran unit tests Review URL: http://codereview.chromium.org/4742004 Change-Id: I63e52265ae404f0193cb1f9ab35f3f1ec266d2c1
This commit is contained in:
parent
b4258c8bd4
commit
f9b84d61a1
@ -459,7 +459,7 @@ def _GetConfig(config_name):
|
||||
return buildconfig
|
||||
|
||||
|
||||
def ResolveOverlays(overlays):
|
||||
def ResolveOverlays(buildroot, overlays):
|
||||
"""Return the list of overlays to use for a given buildbot.
|
||||
|
||||
Args:
|
||||
@ -521,7 +521,7 @@ def main():
|
||||
sys.exit(1)
|
||||
|
||||
# Calculate list of overlay directories.
|
||||
overlays = ResolveOverlays(buildconfig['overlays'])
|
||||
overlays = ResolveOverlays(buildroot, buildconfig['overlays'])
|
||||
|
||||
try:
|
||||
_PreFlightRinse(buildroot, buildconfig['board'], tracking_branch, overlays)
|
||||
|
Loading…
x
Reference in New Issue
Block a user