forked from Mirror/pmbootstrap
flasher: remove long deprecated flash_system alias
A long long time ago we renamed flash_system to flash_rootfs, and now it's time to finally remove this alias since nobody should be using it anymore. Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230605220329.14328-4-luca@z3ntu.xyz%3E
This commit is contained in:
parent
b8d5b9e4e5
commit
97eb39f34b
2 changed files with 1 additions and 5 deletions
|
@ -148,10 +148,6 @@ def frontend(args):
|
|||
action = args.action_flasher
|
||||
method = args.flash_method or args.deviceinfo["flash_method"]
|
||||
|
||||
# Legacy alias
|
||||
if action == "flash_system":
|
||||
action = "flash_rootfs"
|
||||
|
||||
if method == "none" and action in ["boot", "flash_kernel", "flash_rootfs",
|
||||
"flash_lk2nd"]:
|
||||
logging.info("This device doesn't support any flash method.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue