projects
/
grml-live.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
38c0ba241e6c198c685cc4b9d1057ab8a1900ece
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRML
/
10-build-initramfs
1
#!/bin/sh
2
set -u
3
set -e
4
5
cp /etc/grml/fai/live-initramfs/live.conf "$target/etc/live.conf"
6
FILE=$(ls -1 "$target"/boot/vmlinuz-* | sort -r | head -1)
7
KERNELVERSION=$(echo "${FILE##$target/boot/vmlinuz-}")
8
chroot $target update-initramfs -c -t -k $KERNELVERSION