dracut/dracut-040-dmsetup_fix_path.patch

13 lines
908 B
Diff
Raw Permalink Normal View History

diff -Nru dracut-040.orig/modules.d/90dm/59-persistent-storage-dm.rules dracut-040/modules.d/90dm/59-persistent-storage-dm.rules
--- dracut-040.orig/modules.d/90dm/59-persistent-storage-dm.rules 2014-10-24 13:19:58.000000000 +0200
+++ dracut-040/modules.d/90dm/59-persistent-storage-dm.rules 2015-01-17 17:50:32.157264737 +0100
@@ -5,7 +5,7 @@
KERNEL!="dm-[0-9]*", GOTO="dm_end"
ACTION=="add", GOTO="dm_end"
-IMPORT{program}="/sbin/dmsetup info -c --nameprefixes --unquoted --rows --noheadings -o name,uuid,suspended,readonly,major,minor,open,tables_loaded,names_using_dev -j%M -m%m"
+IMPORT{program}="/usr/sbin/dmsetup info -c --nameprefixes --unquoted --rows --noheadings -o name,uuid,suspended,readonly,major,minor,open,tables_loaded,names_using_dev -j%M -m%m"
ENV{DM_NAME}!="?*", GOTO="dm_end"
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="dm_end"
ENV{DM_UUID}=="CRYPT-TEMP-?*", GOTO="dm_end"