From 93362f99f1a076514d580e01fa5bbc7fdb88a12c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 18 Mar 2013 09:31:27 +0100 Subject: [PATCH] dracut-026-56.git20130318 - don't fail hard on kernel modules install Resolves: rhbz#922565 --- ...odule-setup.sh-don-t-fail-hard-on-a-.patch | 22 +++++++++++++++++++ dracut.spec | 7 +++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 0055-kernel-modules-module-setup.sh-don-t-fail-hard-on-a-.patch diff --git a/0055-kernel-modules-module-setup.sh-don-t-fail-hard-on-a-.patch b/0055-kernel-modules-module-setup.sh-don-t-fail-hard-on-a-.patch new file mode 100644 index 0000000..361fecc --- /dev/null +++ b/0055-kernel-modules-module-setup.sh-don-t-fail-hard-on-a-.patch @@ -0,0 +1,22 @@ +From c9e5b75308d858dfb865d3db0a7bad1d6062348d Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Mon, 18 Mar 2013 09:29:08 +0100 +Subject: [PATCH] kernel-modules/module-setup.sh: don't fail hard on a missing + module + +--- + modules.d/90kernel-modules/module-setup.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh +index bd35a2c..a04eba8 100755 +--- a/modules.d/90kernel-modules/module-setup.sh ++++ b/modules.d/90kernel-modules/module-setup.sh +@@ -70,6 +70,7 @@ installkernel() { + done + fi + fi ++ : + } + + install() { diff --git a/dracut.spec b/dracut.spec index 00f223f..2f64b4a 100644 --- a/dracut.spec +++ b/dracut.spec @@ -10,7 +10,7 @@ Name: dracut Version: 026 -Release: 55.git20130318%{?dist} +Release: 56.git20130318%{?dist} Summary: Initramfs generator using udev %if 0%{?fedora} || 0%{?rhel} @@ -83,6 +83,7 @@ Patch51: 0051-dracut.conf.5.asc-remove-duplicated-install_items.patch Patch52: 0052-dmsquash-live-force-load-squashfs-kernel-module.patch Patch53: 0053-sosreport-mkdir-run-initramfs-if-it-does-not-exist-y.patch Patch54: 0054-kernel-modules-module-setup.sh-install-all-host-file.patch +Patch55: 0055-kernel-modules-module-setup.sh-don-t-fail-hard-on-a-.patch BuildRequires: dash bash git @@ -472,6 +473,10 @@ rm -rf $RPM_BUILD_ROOT %{dracutlibdir}/dracut.conf.d/02-norescue.conf %changelog +* Mon Mar 18 2013 Harald Hoyer 026-56.git20130318 +- don't fail hard on kernel modules install +Resolves: rhbz#922565 + * Mon Mar 18 2013 Harald Hoyer 026-55.git20130318 - install all host filesystem drivers Resolves: rhbz#922565