summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-06 10:16:18 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-06 10:16:18 +0200
commitf7f224aacde013931e551db637aa14e0090b3dfc (patch)
tree74e7c33407f7d24f04b9479d23f5d0f331d2abc1
parent0d13f4b8fbf996b695cbbbc7cba66d32714d2a6c (diff)
downloadpostinstall-f7f224aacde013931e551db637aa14e0090b3dfc.tar.gz
postinstall-f7f224aacde013931e551db637aa14e0090b3dfc.tar.bz2
postinstall-f7f224aacde013931e551db637aa14e0090b3dfc.zip
install linux-hardened
-rw-r--r--all7
-rwxr-xr-xetc.bash4
-rw-r--r--etc/mkinitcpio.d/linux-hardened.preset18
3 files changed, 27 insertions, 2 deletions
diff --git a/all b/all
index ecb0d23..789135f 100644
--- a/all
+++ b/all
@@ -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
diff --git a/etc.bash b/etc.bash
index 52a59b3..47c3ab2 100755
--- a/etc.bash
+++ b/etc.bash
@@ -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"