aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/mkinitcpio.d/linux-hardened.preset
blob: 554df6194685a1a19c3a34d9772907bb168324b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# mkinitcpio preset for the 'linux-hardened' kernel. Produces a UKI at
# /boot/EFI/Linux/arch-linux-hardened.efi alongside the stock linux UKI.
# Shares etc/kernel/cmdline.tmpl (same LUKS root, no kernel-specific
# cmdline knobs). Register the EFI entry once with efibootmgr:
#
#   sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 \
#     --label 'Arch Hardened' --loader '\EFI\Linux\arch-linux-hardened.efi'
#
# Boot it on demand via:  sudo efibootmgr --bootnext XXXX && systemctl reboot

#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-hardened"

PRESETS=('default')

default_uki="/boot/EFI/Linux/arch-linux-hardened.efi"