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
|
@ -236,7 +236,7 @@ def install_system_image(args):
|
|||
logging.info(" Flashes the kernel + initramfs to your device:")
|
||||
logging.info(" " + args.work + "/chroot_rootfs_" + args.device +
|
||||
"/boot")
|
||||
method = args.deviceinfo["flash_methods"]
|
||||
method = args.deviceinfo["flash_method"]
|
||||
if (method in pmb.config.flashers and "boot" in
|
||||
pmb.config.flashers[method]["actions"]):
|
||||
logging.info(" (NOTE: " + method + " also supports booting"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue