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

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