source: patches/yaboot-1.3.13-ofpath_sata-1.patch @ f2b4aa3

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since f2b4aa3 was f2b4aa3, checked in by Jim Gifford <clfs@…>, 18 years ago

r3499@server (orig r1599): ken | 2006-05-14 14:04:50 -0700
Add missing ppc64/ppc patches.

  • Property mode set to 100644
File size: 850 bytes
RevLine 
[f2b4aa3]1Submitted By: Ken Moffat <ken at linuxfromscratch.org>
2Date: 2005-11-29
3Initial Package Version: 1.3.13
4Upstream Status: Submitted and merged
5Origin: fedora
6Description: Fixes ofpath (needed for initial install) for SATA disks,
7following the flattening of /proc/device-tree circa 2.6.12.
8
9--- yaboot-1.3.12/ybin/ofpath.nobootx   2004-04-17 20:22:00.000000000 -0400
10+++ yaboot-1.3.12/ybin/ofpath   2005-08-04 07:47:19.000000000 -0400
11@@ -425,14 +425,6 @@
12 {
13     case "$DEVNODE" in
14        sd*)
15-           if ls -l /proc/device-tree | grep -q ^lr ; then
16-               true
17-           else
18-               echo 1>&2 "$PRG: /proc/device-tree is broken.  Do not use BootX to boot, use yaboot."
19-               echo 1>&2 "$PRG: The yaboot HOWTO can be found here: http://www.alaska.net/~erbenson/doc"
20-               return 1
21-           fi
22-
23            ## use common scsiinfo function to get info we need.
24            scsiinfo || return 1
25 
Note: See TracBrowser for help on using the repository browser.