From: Marcin Krol Date: Sat, 8 Aug 2015 22:13:02 +0000 (+0000) Subject: - silence lvm during module setup X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=63debcc681dc4c39ca8d131dcedfdd61ef84a961;p=packages%2Fdracut.git - silence lvm during module setup --- diff --git a/misc_fixes.patch b/misc_fixes.patch index 8e7c5c1..52cc803 100644 --- a/misc_fixes.patch +++ b/misc_fixes.patch @@ -12,3 +12,18 @@ diff -urN dracut-037.orig/modules.d/95terminfo/module-setup.sh dracut-037/module done fi } +diff -ur dracut-043.orig/modules.d/90lvm/module-setup.sh dracut-043/modules.d/90lvm/module-setup.sh +--- dracut-043.orig/modules.d/90lvm/module-setup.sh 2015-06-15 10:27:21.000000000 +0000 ++++ dracut-043/modules.d/90lvm/module-setup.sh 2015-08-08 22:11:29.854825069 +0000 +@@ -73,9 +73,9 @@ + if [ -f /etc/lvm/lvmlocal.conf ]; then + inst_simple -H /etc/lvm/lvmlocal.conf + fi +- eval $(lvm dumpconfig global/system_id_source) ++ eval $(lvm dumpconfig global/system_id_source 2>/dev/null) + if [ "$system_id_source" == "file" ]; then +- eval $(lvm dumpconfig global/system_id_file) ++ eval $(lvm dumpconfig global/system_id_file 2>/dev/null) + if [ -f "$system_id_file" ]; then + inst_simple -H $system_id_file + fi