🐛 fix(lts): linux lts preset

This commit is contained in:
eshanized
2024-12-30 03:23:07 +05:30
parent 88796bf848
commit 4fffbfd0bb
2 changed files with 23 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Restart" --class restart {
echo "System rebooting..."
reboot
}
menuentry "Shutdown" --class shutdown {
echo "System shutting down..."
halt
}

View File

@@ -1,8 +1,11 @@
# mkinitcpio preset file for the 'linux' package on archiso
# mkinitcpio preset file for the kernel
PRESETS=('archiso')
#ALL_config='/etc/mkinitcpio.conf'
ALL_kver='/boot/vmlinuz-linux-lts'
ALL_kver='/boot/vmlinuz-linux'
archiso_config='/etc/mkinitcpio.conf.d/archiso.conf'
PRESETS=('default' 'fallback')
archiso_image="/boot/initramfs-linux.img"
default_image="/boot/initramfs-linux-lts.img"
fallback_image="/boot/initramfs-linux-lts-fallback.img"
fallback_options="-S autodetect"