vapier      15/05/17 03:59:27

  Modified:             new-ofpath-devspec.patch
  Log:
  Update to EAPI=5.
  
  (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.2                  sys-boot/yaboot-static/files/new-ofpath-devspec.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/yaboot-static/files/new-ofpath-devspec.patch?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/yaboot-static/files/new-ofpath-devspec.patch?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/yaboot-static/files/new-ofpath-devspec.patch?r1=1.1&r2=1.2

Index: new-ofpath-devspec.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/sys-boot/yaboot-static/files/new-ofpath-devspec.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- new-ofpath-devspec.patch    12 May 2012 03:20:41 -0000      1.1
+++ new-ofpath-devspec.patch    17 May 2015 03:59:27 -0000      1.2
@@ -1,5 +1,7 @@
---- usr/sbin/ofpath.bak        2012-05-09 12:24:51.709911981 -0400
-+++ usr/sbin/ofpath    2012-05-09 12:32:19.661560544 -0400
+Fix the devspec path on newer kernels
+
+--- usr/sbin/ofpath
++++ usr/sbin/ofpath
 @@ -85,11 +85,20 @@
  [ "$DEBUG" = 1 ] && echo "Devpath is: $DEVPATH"
  
@@ -16,7 +18,7 @@
 +      ### /dev/sd* on kernel <3.3
 +      CONTROLLER_PATH=$(cat ${DEVPATH}/../../../devspec);
 +elif [ -e "${DEVPATH}/../../../../devspec" ]; then
-+      ### /dev/sd* on kernel 3.3+     
++      ### /dev/sd* on kernel 3.3+
 +      CONTROLLER_PATH=$(cat ${DEVPATH}/../../../../devspec);
 +else
 +      ### None of the above...




Reply via email to