r1780 - trunk/patches

ken at linuxfromscratch.org ken at linuxfromscratch.org
Sun Jun 18 13:36:36 PDT 2006


Author: ken
Date: 2006-06-18 14:36:35 -0600 (Sun, 18 Jun 2006)
New Revision: 1780

Added:
   trunk/patches/yaboot-1.3.13-ofpath_path_prefix-1.patch
Log:
Add yet another missing patch for ppc and ppc64.

Added: trunk/patches/yaboot-1.3.13-ofpath_path_prefix-1.patch
===================================================================
--- trunk/patches/yaboot-1.3.13-ofpath_path_prefix-1.patch	                        (rev 0)
+++ trunk/patches/yaboot-1.3.13-ofpath_path_prefix-1.patch	2006-06-18 20:36:35 UTC (rev 1780)
@@ -0,0 +1,19 @@
+Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
+Date: 2006-05-16
+Initial Package Version: 1.3.13
+Upstream Status: Not submitted, CLFS-specific
+Origin: copied from the other scripts in ybin directory
+Description: Allows ofpath to use PATH_PREFIX like the other scripts.
+
+--- yaboot-1.3.13/ybin/ofpath.orig	2006-05-16 22:32:26.000000000 +0100
++++ yaboot-1.3.13/ybin/ofpath	2006-05-16 22:33:13.000000000 +0100
+@@ -26,6 +26,9 @@
+ ###############################################################################
+ 
+ PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
++if [ -n "$PATH_PREFIX" ] ; then
++    PATH="${PATH}:${PATH_PREFIX}/sbin:${PATH_PREFIX}/bin:${PATH_PREFIX}/usr/sbin:${PATH_PREFIX}/usr/bin:${PATH_PREFIX}/usr/local/sbin:${PATH_PREFIX}/usr/local/bin"
++fi
+ PRG="${0##*/}"
+ VERSION=1.0.7
+ DEBUG=0




More information about the cross-lfs mailing list