forked from Mirror/pmbootstrap
flasher: heimdall-bootimg: add support for '--no-reboot' and '--resume'
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C170534361606.26168.17672643433174186875-0@git.sr.ht%3E
This commit is contained in:
parent
59898f515a
commit
e0e3e213ba
4 changed files with 41 additions and 5 deletions
|
@ -289,6 +289,19 @@ def arguments_flasher(subparser):
|
|||
" inside the device rootfs chroot on this computer")
|
||||
sub.add_parser("list_devices", help="show connected devices")
|
||||
|
||||
group = ret.add_argument_group("heimdall options", \
|
||||
"With heimdall as"
|
||||
" flash method, the device automatically"
|
||||
" reboots after each flash command. Use"
|
||||
" --no-reboot and --resume for multiple"
|
||||
" flash actions without reboot.")
|
||||
group.add_argument("--no-reboot", dest="no_reboot",
|
||||
help="don't automatically reboot after flashing",
|
||||
action="store_true")
|
||||
group.add_argument("--resume", dest="resume",
|
||||
help="resume flashing after using --no-reboot",
|
||||
action="store_true")
|
||||
|
||||
return ret
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue