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

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