dracut.sh: add early_cpio marker file to the early cpio

master
Harald Hoyer 2014-01-24 15:29:24 +01:00
parent 9ea68421f6
commit b9909e3341
1 changed files with 1 additions and 0 deletions

View File

@ -1463,6 +1463,7 @@ fi
rm -f -- "$outfile"
dinfo "*** Creating image file ***"
if [[ $create_early_cpio = yes ]]; then
echo 1 > "$early_cpio_dir/d/early_cpio"
# The microcode blob is _before_ the initramfs blob, not after
(cd "$early_cpio_dir/d"; find . -print0 | cpio --null -R 0:0 -H newc -o --quiet >../early.cpio)
mv $early_cpio_dir/early.cpio $outfile.$$