Initial configuration for FAI (work in progress)
[grml-live.git] / etc / grml / fai / config / scripts / GRML / 10-build-initramfs
1 #!/bin/sh
2 set -u
3 set -e
4
5 FILE=$(ls -1 "$target"/boot/vmlinuz-* | sort -r | head -1)
6 KERNELVERSION=$(echo "${FILE##$target/boot/vmlinuz-}")
7 chroot $target update-initramfs -c -t -k $KERNELVERSION