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

Last change on this file since 7805e1b2 was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • 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.