[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#338643: 338643: fix for yaboot



Hi,

The yaboot problem on my G5 is actually in the ofpath script - BenH's tidying-up of the /proc/device-tree symlinks triggers an old error trap. Attached patch from fedora fixes it for me on my (non-debian) build from source.

 This only affects boxes using SATA.

Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
--- yaboot-1.3.12/ybin/ofpath.nobootx	2004-04-17 20:22:00.000000000 -0400
+++ yaboot-1.3.12/ybin/ofpath	2005-08-04 07:47:19.000000000 -0400
@@ -425,14 +425,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
 

Reply to: