diff options
| author | Denis Chevalier <perso@denischevalier.fr> | 2026-08-06 10:16:18 +0200 |
|---|---|---|
| committer | Denis Chevalier <perso@denischevalier.fr> | 2026-08-06 10:16:18 +0200 |
| commit | f7f224aacde013931e551db637aa14e0090b3dfc (patch) | |
| tree | 74e7c33407f7d24f04b9479d23f5d0f331d2abc1 | |
| parent | 0d13f4b8fbf996b695cbbbc7cba66d32714d2a6c (diff) | |
| download | postinstall-f7f224aacde013931e551db637aa14e0090b3dfc.tar.gz postinstall-f7f224aacde013931e551db637aa14e0090b3dfc.tar.bz2 postinstall-f7f224aacde013931e551db637aa14e0090b3dfc.zip | |
install linux-hardened
| -rw-r--r-- | all | 7 | ||||
| -rwxr-xr-x | etc.bash | 4 | ||||
| -rw-r--r-- | etc/mkinitcpio.d/linux-hardened.preset | 18 |
3 files changed, 27 insertions, 2 deletions
@@ -18,14 +18,17 @@ hdparm htop iotop keyd -kiwix +kiwix-desktop lazygit librewolf-bin +linux-hardened +linux-hardened-docs +linux-hardened-headers luarocks man-db mesa-utils mtools -mupdf +mupdf-gl neovim nodejs noto-fonts @@ -17,3 +17,7 @@ sudo systemctl enable --now ufw # fs trim sudo systemctl enable --now fstrim.timer + +# linux-hardened +sudo cp etc/mkinitcpio.d/linux-hardened.preset /etc/mkinitcpio.d +sudo mkinitcpio -p linux-hardened diff --git a/etc/mkinitcpio.d/linux-hardened.preset b/etc/mkinitcpio.d/linux-hardened.preset new file mode 100644 index 0000000..588980b --- /dev/null +++ b/etc/mkinitcpio.d/linux-hardened.preset @@ -0,0 +1,18 @@ +# mkinitcpio preset file for the 'linux-hardened' package + +#ALL_config="/etc/mkinitcpio.conf" +ALL_kver="/boot/vmlinuz-linux-hardened" +#ALL_kerneldest="/boot/vmlinuz-linux-hardened" + +PRESETS=('default') +#PRESETS=('default' 'fallback') + +#default_config="/etc/mkinitcpio.conf" +# default_image="/boot/initramfs-linux-hardened.img" +default_uki="/boot/EFI/Linux/arch-linux-hardened.efi" +default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp" + +#fallback_config="/etc/mkinitcpio.conf" +#fallback_image="/boot/initramfs-linux-hardened-fallback.img" +fallback_uki="/boot/EFI/Linux/arch-linux-hardened-fallback.efi" +#fallback_options="-S autodetect" |
