Blame SOURCES/0095-dracut.sh-add-early_cpio-marker-file-to-the-early-cp.patch

712866
From eb7c58eced499d5e894971b451d8fb940c829393 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Fri, 24 Jan 2014 15:29:24 +0100
712866
Subject: [PATCH] dracut.sh: add early_cpio marker file to the early cpio
712866
712866
---
712866
 dracut.sh | 1 +
712866
 1 file changed, 1 insertion(+)
712866
712866
diff --git a/dracut.sh b/dracut.sh
712866
index 0ac2b05..58acb64 100755
712866
--- a/dracut.sh
712866
+++ b/dracut.sh
712866
@@ -1378,6 +1378,7 @@ fi
712866
 rm -f -- "$outfile"
712866
 dinfo "*** Creating image file ***"
712866
 if [[ $create_early_cpio = yes ]]; then
712866
+    echo 1 > "$early_cpio_dir/d/early_cpio"
712866
     # The microcode blob is _before_ the initramfs blob, not after
712866
     (cd "$early_cpio_dir/d";     find . -print0 | cpio --null -R 0:0 -H newc -o --quiet >../early.cpio)
712866
     mv $early_cpio_dir/early.cpio $outfile.$$