]> TLD Linux GIT Repositories - packages/dracut.git/commitdiff
- silence lvm during module setup
authorMarcin Krol <hawk@tld-linux.org>
Sat, 8 Aug 2015 22:13:02 +0000 (22:13 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 8 Aug 2015 22:13:02 +0000 (22:13 +0000)
misc_fixes.patch

index 8e7c5c15671428579d49ae43f3ffb3f7c9d8d95f..52cc803639a6f0331a0d5081c7fdffee46abf832 100644 (file)
@@ -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