Note
This repository is a fork of dalto.8/eos-system-boot. GitHub doesn't support forking from GitLab so no proper fork data is available. All original credits go to dalto and EndeavourOS
This repository contains helper scripts and pacman hooks to make systemd-boot and kernel-install a more seamless experience in Arch Linux-based installations.
- Overrides the mkinitcpio hooks to generate presets that work with kernel-install
- Installs hooks to automate the installation and removal of kernels using kernel-install and bootctl
- Script to update kernel commandline in entries by overriding with parameters
from
/etc/kernel/cmdline - Saves kernel options to
/etc/kernel/cmdlineto support recovery in a chroot - Create bootable snapshot entries if snapper is installed
- This currently assumes a subvolume layout of:
- @ for root
- @home
- @cache
- @log
- ...
- The snapper plugin also assumes that the user is only making snapshots for the root subvolume.
- This currently assumes a subvolume layout of:
- Calculate the checksum of generated initramfs and appends it to the filename
- This is especially useful for snapshots because we can reuse existing initramfs if they are the same. This helps to save storage space.
This section is dedicated to the various parties and projects that helped improve this project, whether by idea, code, etc.
dalto8 from EndeavourOS was the original author of this project. It has since been forked but all original attributions go to them.
The entry
specification
written by them served as a foundation for supporting bootable snapshot entries.
The snapper plugin was originally
also sourced from
OpenSUSE/sdbootutil
and was rewritten to fit kernel-install-mkinitcpio's ecosystem.