diff options
Diffstat (limited to 'sys-boot/yaboot/files/yaboot-ofpath-device-tree.patch')
-rw-r--r-- | sys-boot/yaboot/files/yaboot-ofpath-device-tree.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-boot/yaboot/files/yaboot-ofpath-device-tree.patch b/sys-boot/yaboot/files/yaboot-ofpath-device-tree.patch new file mode 100644 index 000000000000..042221965d37 --- /dev/null +++ b/sys-boot/yaboot/files/yaboot-ofpath-device-tree.patch @@ -0,0 +1,31 @@ +--- yaboot-1.3.13.orig/ybin/ofpath 2005-10-08 20:16:46.000000000 -0400 ++++ yaboot-1.3.13/ybin/ofpath 2005-10-08 20:17:59.000000000 -0400 +@@ -473,14 +473,6 @@ + { + case "$DEVNODE" in + sd*) +- if ls -l /proc/device-tree | grep -q ^lr ; then +- true +- else +- echo 1>&2 "$PRG: /proc/device-tree is broken. Do not use BootX to boot, use yaboot." +- echo 1>&2 "$PRG: The yaboot HOWTO can be found here: http://www.alaska.net/~erbenson/doc" +- return 1 +- fi +- + ## use common scsiinfo function to get info we need. + scsiinfo || return 1 + +@@ -715,13 +707,6 @@ + { + case "$DEVNODE" in + sd*) +- if ls -l /proc/device-tree | grep -q ^lr ; then +- true +- else +- echo 1>&2 "$PRG: /proc/device-tree is broken." +- return 1 +- fi +- + ## use common scsiinfo function to get info we need. + scsiinfo || return 1 + |