RFC: Boot standardization and bootchain package - Arch-dev-public - lists.archlinux.org

@archlinux

kernel-install is a binary provided by the systemd upstream.

“Let’s use systemd” is a dubious decision given its status as monolithic non-portable borderline fashware. it only harms the ecosystem.

the conscient choice would be to work towards reducing the project’s reliance on systemd instead

@zaire @archlinux

`kernel-install` is a script that implements an interface originally called `installkernel` provided by the Linux kernel.

@Foxboron @archlinux

> `kernel-install` is a script

it's a 1.7k loc c program, https://github.com/systemd/systemd/blob/main/src/kernel-install/kernel-install.c

it should've been a script? yes, it should've
systemd/src/kernel-install/kernel-install.c at main · systemd/systemd

The systemd System and Service Manager . Contribute to systemd/systemd development by creating an account on GitHub.

GitHub
@[email protected] @[email protected] @[email protected] in addition it's not right to say it "implements" the installkernel interface
truth is it's a very custom thing, the installkernel compat only shifts some argument positioning around

@zaire As noted in the GitLab discussion:

> Creating a separate bootchain package that can easily be replaced by an alternative package (that has provides=('bootchain')) actually makes switching to alternative options easier.

This isn't about restricting users or forcing systemd on users, it's only about sane defaults.

@archlinux @Antiz @Foxboron My boot flow might interest you: https://rootkitten.bearblog.dev/bareboot/. I wrote it in a hurry, might have missed some points xD
Bareboot

Typical Arch Setup Bootloader: GRUB / systemd-boot Initramfs Generator: mkinitcpio ESP mount point: /boot or /boot/efi Partition type: ESP Filesystem ty...

Rootkitten's blog

@tris @archlinux @Antiz

Yes, this will be easier to properly implement with the new proposal.