projects
/
grml-live.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add grml-live script
[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