Blob Blame History Raw
From eb7c58eced499d5e894971b451d8fb940c829393 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Fri, 24 Jan 2014 15:29:24 +0100
Subject: [PATCH] dracut.sh: add early_cpio marker file to the early cpio

---
 dracut.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dracut.sh b/dracut.sh
index 0ac2b05..58acb64 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -1378,6 +1378,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.$$