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:
parent
e69c3979b7
commit
a7885f519c
2 changed files with 5 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue