1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 03:19:47 +03:00

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:
Andras Sebok 2024-01-15 19:27:57 +01:00 committed by Oliver Smith
parent 59898f515a
commit e0e3e213ba
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 41 additions and 5 deletions

View file

@ -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