mirror of
https://github.com/Snigdha-OS/snigdhaos-archiso.git
synced 2025-09-05 20:26:40 +02:00
🐛 fix(lts): linux lts preset
This commit is contained in:
15
archiso/airootfs/etc/grub.d/40_custom
Executable file
15
archiso/airootfs/etc/grub.d/40_custom
Executable 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
|
||||
}
|
@@ -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"
|
Reference in New Issue
Block a user