-
Notifications
You must be signed in to change notification settings - Fork 0
Core Components
Melina is built upon three isolated pillars that work in tandem.
Located at /etc/pacman.d/hooks/, this configuration file acts as the tripwire. It monitors pacman transactions for specific structural packages.
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = linux
Target = systemd
Target = mkinitcpio
Target = amd-ucode
Target = intel-ucodeWhen any of these targets are queued for modification, the hook intercepts the process and executes the Bash Engine.
-
Resolves the ESP mount point via bootctl -p.
-
Evaluates the architecture: looks for .conf files in loader/entries for Standard deployments, or .efi binaries in EFI/Linux for Unified Kernel Images (UKI).
-
Purges deprecated -safe artifacts.
-
Performs a cp -p (preserving attributes) of the current working binaries.
-
Generates the melina-fallback.conf entry for systemd-boot. It only writes to disk if the configuration has changed, reducing I/O wear on the ESP.