GitHunt
1N

1Naim/kernel-install-mkinitcpio

Fork of https://gitlab.com/dalto.8/eos-systemd-boot

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

kernel-install-mkinitcpio

This repository contains helper scripts and pacman hooks to make systemd-boot
and kernel-install a more seamless experience in Arch Linux-based installations.

Features

  • 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/cmdline to 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.
  • 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.

Acknowledgments

This section is dedicated to the various parties and projects that helped
improve this project, whether by idea, code, etc.

EndeavourOS

dalto8 from EndeavourOS was the original author of
this project. It has since been forked but all original attributions go to them.

OpenSUSE

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.

Languages

Shell100.0%

Contributors

Created April 18, 2025
Updated March 11, 2026
1Naim/kernel-install-mkinitcpio | GitHunt