1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-23 20:45:08 +03:00

initfs: 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:20:20 +02:00
parent 799140da2b
commit e69c3979b7
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
4 changed files with 16 additions and 33 deletions

View file

@ -32,7 +32,7 @@ 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(flavor, Chroot(ChrootType.ROOTFS, config.device))
pmb.chroot.initfs.build(Chroot(ChrootType.ROOTFS, config.device))
# Do the export, print all files
logging.info(f"Export symlinks to: {target}")