melawy-archiso-config/Melawy-Linux-Developer-Edit.../airootfs/etc/mkinitcpio.d/linux.preset

19 lines
425 B
Plaintext

# mkinitcpio preset file for the 'Melawy Linux' package on archiso
KNAME="cachyos"
KVER=$(ls /usr/lib/modules/ | grep $KNAME | sort -V | tail -n 1)
if [[ -z "$KVER" ]]; then
exit
fi
cp -vf "/usr/lib/modules/$KVER/vmlinuz" "/boot/vmlinuz-linux-cachyos"
PRESETS=('archiso')
ALL_kver='/boot/vmlinuz-linux-cachyos'
archiso_config='/etc/mkinitcpio.conf.d/archiso.conf'
archiso_image="/boot/initramfs-linux-cachyos.img"