make bootloader requirements optional
Interpret a "*" in the "require version-bootloader" line as "don't require any specific bootloader". Sholes OTAs include the bootloader and the main system in the same package.
This commit is contained in:
parent
7166e3a882
commit
0493e240fd
|
@ -291,7 +291,8 @@ def AppendAssertions(script, input_zip):
|
|||
m = re.search(r"require\s+version-bootloader\s*=\s*(\S+)", info)
|
||||
if m:
|
||||
bootloaders = m.group(1).split("|")
|
||||
script.AssertSomeBootloader(*bootloaders)
|
||||
if "*" not in bootloaders:
|
||||
script.AssertSomeBootloader(*bootloaders)
|
||||
|
||||
|
||||
def WriteFullOTAPackage(input_zip, output_zip):
|
||||
|
|
Loading…
Reference in New Issue