Commit 9b895b29 authored by phenigma's avatar phenigma

Closes #2789 - make use the newest kernel.

parent c4a89121
Pipeline #675 passed with stage
in 36 seconds
......@@ -3,7 +3,7 @@
## Put a kernel image in there
mkdir -p /tftpboot/default
cd /lib/modules
KERNEL=`find * -type d |head -1`
KERNEL=$(find * -maxdepth 0 -type d |sort -r |head -1)
cp /boot/vmlinuz-$KERNEL /tftpboot/default/vmlinuz
chmod +r /tftpboot/default/vmlinuz
mkinitramfs -d /etc/initramfs-tools-interactor/ -o /tftpboot/default/initrd $KERNEL
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment