1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-16 04:45:10 +03:00

export: drop support for initramfs flavor

Official mkinitfs flavors were dropped long ago. v23.12 already
released with "supported_mkinitfs_without_flavors=True". So there is
no need to keep this around anymore.

Follow-up from 527fc9359f
This commit is contained in:
Pablo Correa Gómez 2025-06-16 18:21:47 +02:00
parent e69c3979b7
commit a7885f519c
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 5 additions and 12 deletions

View file

@ -30,12 +30,11 @@ def frontend(args: PmbArgs) -> None: # FIXME: ARGS_REFACTOR
)
# Rebuild the initramfs, just to make sure (see #69)
flavor = pmb.helpers.frontend._parse_flavor(config.device, args.autoinstall)
if args.autoinstall:
pmb.chroot.initfs.build(Chroot(ChrootType.ROOTFS, config.device))
# Do the export, print all files
logging.info(f"Export symlinks to: {target}")
if args.odin_flashable_tar:
pmb.export.odin(config.device, flavor, target)
pmb.export.odin(config.device, target)
pmb.export.symlinks(target)