]> git.pld-linux.org Git - packages/geninitrd.git/blobdiff - geninitrd-svn.patch
- rel 6; don't resolve symlink for luks device nodes
[packages/geninitrd.git] / geninitrd-svn.patch
index 89b8106c6f9055af841fa39b828a1cecc52677d7..922e7f4abcef83a3bfeecc5102cc989f9c98009b 100644 (file)
@@ -54,3 +54,16 @@ Index: mod-sata.sh
                # match vendor
                [ "$1" = "$vendor" ] || continue
                # match device, allow PCI_ANY_ID
+Index: geninitrd
+===================================================================
+--- geninitrd  (wersja 12198)
++++ geninitrd  (kopia robocza)
+@@ -467,7 +467,7 @@
+               devpath=$(dm_node "$devpath")
+       fi
+-      if [ -L "$devpath" ] && ! is_lvm "$devpath"; then
++      if [ -L "$devpath" ] && ! is_lvm "$devpath" && ! is_luks "$devpath"; then
+               # sanitize things like:
+               # /dev/block/104:2 -> /dev/cciss/c0d0p2
+               devpath=$(readlink -f "$devpath")
This page took 0.030815 seconds and 4 git commands to generate.