Add symlink to most recently compiled kernel in /boot
authorHugo Villeneuve <hugo@hugovil.com>
Fri, 23 Aug 2013 00:35:22 +0000 (20:35 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 24 Aug 2013 03:33:55 +0000 (23:33 -0400)
stage1/pkg/linux

index 5e1f516..79d09cd 100644 (file)
@@ -37,6 +37,7 @@ hvbuild()
 
     # Install the kernel:
     echo "cp -v arch/${CLFS_ARCH}/boot/bzImage \${DEST}/vmlinuz-\${KERNEL_NAME}" >> ${SCRIPT}
+    echo "ln -svf vmlinuz-\${KERNEL_NAME} \${DEST}/vmlinuz" >> ${SCRIPT}
 
     # Install map file:
     echo "cp -v System.map \${DEST}/System.map-\${KERNEL_NAME}" >> ${SCRIPT}