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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a040c8b was f2b4aa3, checked in by Jim Gifford <clfs@…>, 19 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
  • yaboot-1.3.12/ybin/ofpath

    Submitted By: Ken Moffat <ken at linuxfromscratch.org>
    Date: 2005-11-29
    Initial Package Version: 1.3.13
    Upstream Status: Submitted and merged
    Origin: fedora
    Description: Fixes ofpath (needed for initial install) for SATA disks,
    following the flattening of /proc/device-tree circa 2.6.12.
    
    old new  
    425425{
    426426    case "$DEVNODE" in
    427427        sd*)
    428             if ls -l /proc/device-tree | grep -q ^lr ; then
    429                 true
    430             else
    431                 echo 1>&2 "$PRG: /proc/device-tree is broken.  Do not use BootX to boot, use yaboot."
    432                 echo 1>&2 "$PRG: The yaboot HOWTO can be found here: http://www.alaska.net/~erbenson/doc"
    433                 return 1
    434             fi
    435 
    436428            ## use common scsiinfo function to get info we need.
    437429            scsiinfo || return 1
    438430
Note: See TracBrowser for help on using the repository browser.