aportgen: fix fork_alpine flag (MR 2252)

Broke during rework

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-08 01:45:36 +02:00 committed by Oliver Smith
parent 34ee1cff69
commit d8d55c3e52
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 6 additions and 6 deletions

View file

@ -137,7 +137,7 @@ def frontend(args: PmbArgs):
action = args.action_flasher
device = context.device
deviceinfo = pmb.parse.deviceinfo()
method = args.flash_method or deviceinfo.flash_method or "none"
method = args.flash_method or deviceinfo.flash_method
if method == "none" and action in ["boot", "flash_kernel", "flash_rootfs",
"flash_lk2nd"]: