Remove redundant boot-* and nokia-argon-sxmo.img image artifacts

This commit is contained in:
Luxferre
2026-10-25 08:51:46 +02:00
parent fb5b9c9982
commit 0a65fc0ea2
4 changed files with 14 additions and 27 deletions
+1 -8
View File
@@ -182,14 +182,7 @@ def resolve_default_bootloader():
def resolve_default_image(device):
candidates = [
os.path.join(BASE_DIR, "images", f"bananarchy-{device}.img"),
os.path.join(BASE_DIR, "images", "nokia-argon-sxmo.img"),
]
for cand in candidates:
if os.path.isfile(cand):
return cand
return candidates[0]
return os.path.join(BASE_DIR, "images", f"bananarchy-{device}.img")
def parse_args():