Blame 0049-dracut.spec-dracut.conf.d-fedora.conf.example-no-das.patch

Harald Hoyer 2d3fda
From d96c3254e8bbe56763617f45f1148d81b10f4745 Mon Sep 17 00:00:00 2001
Harald Hoyer 2d3fda
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 2d3fda
Date: Fri, 6 Jul 2012 14:22:10 +0200
Harald Hoyer 2d3fda
Subject: [PATCH] dracut.spec,dracut.conf.d/fedora.conf.example: no dash
Harald Hoyer 2d3fda
Harald Hoyer 2d3fda
hard remove dash from supported modules
Harald Hoyer 2d3fda
Harald Hoyer 2d3fda
we do not want to have anything to do with dash bugs
Harald Hoyer 2d3fda
---
Harald Hoyer 2d3fda
 dracut.conf.d/fedora.conf.example |    7 +++----
Harald Hoyer 2d3fda
 dracut.spec                       |    4 +++-
Harald Hoyer 2d3fda
 2 files changed, 6 insertions(+), 5 deletions(-)
Harald Hoyer 2d3fda
Harald Hoyer 2d3fda
diff --git a/dracut.conf.d/fedora.conf.example b/dracut.conf.d/fedora.conf.example
Harald Hoyer 2d3fda
index 25b5cfa..ee53844 100644
Harald Hoyer 2d3fda
--- a/dracut.conf.d/fedora.conf.example
Harald Hoyer 2d3fda
+++ b/dracut.conf.d/fedora.conf.example
Harald Hoyer 2d3fda
@@ -2,13 +2,12 @@
Harald Hoyer 2d3fda
 
Harald Hoyer 2d3fda
 # i18n
Harald Hoyer 2d3fda
 i18n_vars="/etc/sysconfig/keyboard:KEYTABLE-KEYMAP /etc/sysconfig/i18n:SYSFONT-FONT,FONTACM-FONT_MAP,FONT_UNIMAP"
Harald Hoyer 2d3fda
-omit_dracutmodules+=" dash "
Harald Hoyer 2d3fda
 omit_drivers+=" .*/fs/ocfs/.* "
Harald Hoyer 2d3fda
-add_dracutmodules+=" systemd "
Harald Hoyer 2d3fda
 stdloglvl=3
Harald Hoyer 2d3fda
-realinitpath="/usr/lib/systemd/systemd"
Harald Hoyer 2d3fda
 install_items+=" vi /etc/virc ps grep cat rm "
Harald Hoyer 2d3fda
-prefix="/"
Harald Hoyer 2d3fda
+readonly prefix="/"
Harald Hoyer 2d3fda
 systemdutildir=/usr/lib/systemd
Harald Hoyer 2d3fda
 systemdsystemunitdir=/usr/lib/systemd/system
Harald Hoyer 2d3fda
 udevdir=/usr/lib/udev
Harald Hoyer 2d3fda
+add_dracutmodules+=" systemd "
Harald Hoyer 2d3fda
+realinitpath="/usr/lib/systemd/systemd"
Harald Hoyer 2d3fda
diff --git a/dracut.spec b/dracut.spec
Harald Hoyer 2d3fda
index b258121..a6fec89 100644
Harald Hoyer 2d3fda
--- a/dracut.spec
Harald Hoyer 2d3fda
+++ b/dracut.spec
Harald Hoyer 2d3fda
@@ -190,6 +190,9 @@ rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/01fips
Harald Hoyer 2d3fda
 rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/02fips-aesni
Harald Hoyer 2d3fda
 %endif
Harald Hoyer 2d3fda
 
Harald Hoyer 2d3fda
+# we do not support dash in the initramfs
Harald Hoyer 2d3fda
+rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00dash
Harald Hoyer 2d3fda
+
Harald Hoyer 2d3fda
 # remove gentoo specific modules
Harald Hoyer 2d3fda
 rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/50gensplash
Harald Hoyer 2d3fda
 
Harald Hoyer 2d3fda
@@ -261,7 +264,6 @@ rm -rf $RPM_BUILD_ROOT
Harald Hoyer 2d3fda
 %{_mandir}/man5/dracut.conf.5*
Harald Hoyer 2d3fda
 %{_mandir}/man1/lsinitrd.1*
Harald Hoyer 2d3fda
 %{dracutlibdir}/modules.d/00bootchart
Harald Hoyer 2d3fda
-%{dracutlibdir}/modules.d/00dash
Harald Hoyer 2d3fda
 %{dracutlibdir}/modules.d/04watchdog
Harald Hoyer 2d3fda
 %{dracutlibdir}/modules.d/05busybox
Harald Hoyer 2d3fda
 %{dracutlibdir}/modules.d/10i18n