forked from Mirror/pmbootstrap
Rename deviceinfo variable flash_methods to flash_method (#1030)
* Rename deviceinfo variable flash_methods to flash_method * Update pmb.config.deviceinfo_attributes / add sanity check * Add test case that parses all deviceinfo files
This commit is contained in:
parent
d34e8d172e
commit
c6eb56c200
91 changed files with 188 additions and 132 deletions
|
@ -34,7 +34,7 @@ def odin(args, flavor, folder):
|
|||
suffix = "rootfs_" + args.device
|
||||
|
||||
# Validate method
|
||||
method = args.deviceinfo["flash_methods"]
|
||||
method = args.deviceinfo["flash_method"]
|
||||
if not method.startswith("heimdall-"):
|
||||
raise RuntimeError("An odin flashable tar is not supported for the flash"
|
||||
" method '" + method + "' specified in the current configuration."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue