forked from Mirror/pmbootstrap
Add "flash_fastboot_vendor_id" deviceinfo variable for fastboot flash method (#857)
This commit is contained in:
parent
e735be93e4
commit
6fb5b28e2f
3 changed files with 13 additions and 7 deletions
|
@ -39,7 +39,7 @@ def run(args, action, flavor=None):
|
|||
for key, value in vars.items():
|
||||
for i in range(len(command)):
|
||||
if key in command[i]:
|
||||
if not value and key != "$KERNEL_CMDLINE":
|
||||
if not value and key not in ["$KERNEL_CMDLINE", "$VENDOR_ID"]:
|
||||
raise RuntimeError("Variable " + key + " found in"
|
||||
" action " + action + " for method " + method + ","
|
||||
" but the value for this variable is None! Is that"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue