From 4c927541faf5bde64cb1ec19617017a904fd50e4 Mon Sep 17 00:00:00 2001
From: Marcin Krol <hawk@tld-linux.org>
Date: Mon, 12 May 2014 18:52:17 +0000
Subject: [PATCH] - config patch, enable hostonly option by default

---
 config.patch | 13 +++++++++++++
 dracut.spec  |  2 ++
 2 files changed, 15 insertions(+)
 create mode 100644 config.patch

diff --git a/config.patch b/config.patch
new file mode 100644
index 0000000..9358e71
--- /dev/null
+++ b/config.patch
@@ -0,0 +1,13 @@
+diff -ur dracut-037.orig/dracut.conf dracut-037/dracut.conf
+--- dracut-037.orig/dracut.conf	2014-03-19 16:16:08.000000000 +0000
++++ dracut-037/dracut.conf	2014-05-12 18:42:01.614021073 +0000
+@@ -25,8 +25,7 @@
+ #filesystems+=""
+ 
+ # build initrd only to boot current hardware
+-#hostonly="yes"
+-#
++hostonly="yes"
+ 
+ # install local /etc/mdadm.conf
+ #mdadmconf="no"
diff --git a/dracut.spec b/dracut.spec
index 5ae0337..82ca6d1 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -14,6 +14,7 @@ Patch3:		plymouth-logo.patch
 Patch4:		arch-libdir.patch
 Patch5:		systemd-paths.patch
 Patch6:		prelink-libs.patch
+Patch7:		config.patch
 URL:		https://dracut.wiki.kernel.org/
 BuildRequires:	asciidoc
 BuildRequires:	dash
@@ -194,6 +195,7 @@ Bashowe dopełnianie składni dla polecenia dracut.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/50plymouth/module-setup.sh
 %{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/95resume/module-setup.sh
-- 
2.49.0