summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ostrow <dostrow@gentoo.org>2004-05-23 18:03:58 +0000
committerDaniel Ostrow <dostrow@gentoo.org>2004-05-23 18:03:58 +0000
commitfaecc031b341caaec701489c549dd105c5097e7f (patch)
tree61c3a8b402752cf8d79a745da805e4d613d7f4cb /sys-boot/yaboot/files
parentPPC stable profile update (diff)
downloadhistorical-faecc031b341caaec701489c549dd105c5097e7f.tar.gz
historical-faecc031b341caaec701489c549dd105c5097e7f.tar.bz2
historical-faecc031b341caaec701489c549dd105c5097e7f.zip
Added 2 patches for compatibility
Diffstat (limited to 'sys-boot/yaboot/files')
-rw-r--r--sys-boot/yaboot/files/digest-yaboot-1.3.12-r11
-rw-r--r--sys-boot/yaboot/files/yaboot-1.3.12-k2sata-ofpath.patch26
2 files changed, 27 insertions, 0 deletions
diff --git a/sys-boot/yaboot/files/digest-yaboot-1.3.12-r1 b/sys-boot/yaboot/files/digest-yaboot-1.3.12-r1
new file mode 100644
index 000000000000..e1c5454962dc
--- /dev/null
+++ b/sys-boot/yaboot/files/digest-yaboot-1.3.12-r1
@@ -0,0 +1 @@
+MD5 85cf685c1dc5873c2a5124ba4524b2d2 yaboot-1.3.12.tar.gz 274353
diff --git a/sys-boot/yaboot/files/yaboot-1.3.12-k2sata-ofpath.patch b/sys-boot/yaboot/files/yaboot-1.3.12-k2sata-ofpath.patch
new file mode 100644
index 000000000000..c9c345e3ee71
--- /dev/null
+++ b/sys-boot/yaboot/files/yaboot-1.3.12-k2sata-ofpath.patch
@@ -0,0 +1,26 @@
+--- yaboot-1.3.12.orig/ybin/ofpath 2004-05-23 17:20:56.382633120 -0400
++++ yaboot-1.3.12/ybin/ofpath 2004-05-23 17:20:26.013249968 -0400
+@@ -293,7 +293,7 @@
+ ;;
+ mesh)
+ HOST_LIST="$(for i in `find /proc/device-tree -name compatible` ; do
+- lgrep "$i" "mesh" ; done)"
++ lg/rep "$i" "mesh" ; done)"
+ DEVICE_PATH="$(printhost $SCSI_HOSTNUMBER $HOST_LIST)"
+ echo "${DEVICE_PATH##*device-tree}/@$DEVICE_ID:$PARTITION"
+ ;;
+@@ -301,7 +301,13 @@
+ HOST_LIST="$(for i in `find /proc/device-tree -name compatible` ; do
+ lgrep "$i" "k2-s-ata" ; done)"
+ DEVICE_PATH="$(printhost $SCSI_HOSTNUMBER $HOST_LIST)"
+- echo "${DEVICE_PATH##*device-tree}/k2-sata@$DEVICE_ID/disk@0:$PARTITION"
++ K2_DEVICE_ID=0
++ while [ "$DEVICE_PATH" = "" ] ; do
++ SCSI_HOSTNUMBER=`expr $SCSI_HOSTNUMBER - 1`
++ let "K2_DEVICE_ID += 1"
++ DEVICE_PATH="$(printhost $SCSI_HOSTNUMBER $HOST_LIST)"
++ done
++ echo "${DEVICE_PATH##*device-tree}/k2-sata@$K2_DEVICE_ID/disk@0:$PARTITION"
+ ;;
+ *)
+ echo 1>&2 "$PRG: Driver: $SCSI_DRIVER is not supported"