forked from Mirror/pmbootstrap
parent
6a7a01b613
commit
948f4ef224
2 changed files with 7 additions and 1 deletions
|
@ -112,6 +112,12 @@ def sideload(args):
|
|||
|
||||
def frontend(args):
|
||||
action = args.action_flasher
|
||||
method = args.flash_method or args.deviceinfo["flash_methods"]
|
||||
|
||||
if method == "none" and action in ["boot", "flash_kernel", "flash_system"]:
|
||||
logging.info("This device doesn't support any flash method.")
|
||||
return
|
||||
|
||||
if action in ["boot", "flash_kernel"]:
|
||||
kernel(args)
|
||||
if action == "flash_system":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue