mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 11:29:46 +03:00
flasher flash_system: add possibility to select partition (#565)
Usage example: pmbootstrap flasher flash_system --partition=userdata
This commit is contained in:
parent
d7cc7085f2
commit
a31cd0897b
3 changed files with 16 additions and 4 deletions
|
@ -50,8 +50,12 @@ def arguments_flasher(subparser):
|
|||
for action in [boot, flash_kernel]:
|
||||
action.add_argument("--flavor", default=None)
|
||||
|
||||
# Flash system
|
||||
flash_system = sub.add_parser("flash_system", help="flash the system partition")
|
||||
flash_system.add_argument("--partition", default=None, help="partition to flash"
|
||||
" the system image")
|
||||
|
||||
# Actions without extra arguments
|
||||
sub.add_parser("flash_system", help="flash the system partition")
|
||||
sub.add_parser("sideload", help="sideload recovery zip")
|
||||
sub.add_parser("list_flavors", help="list installed kernel flavors" +
|
||||
" inside the device rootfs chroot on this computer")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue