X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=ybin%2Fyabootconfig;h=0fc5c5e50fc0039257e763ea7c15606ae9bad17c;hp=80c1799e8db1c30da0162207d57d05b99b0a2c70;hb=678d83ff8608534ece0f1e912eddedef4f0bb67a;hpb=9323f7c29a886304325b1562450729a12e0ccbea diff --git a/ybin/yabootconfig b/ybin/yabootconfig index 80c1799..0fc5c5e 100755 --- a/ybin/yabootconfig +++ b/ybin/yabootconfig @@ -27,7 +27,7 @@ if [ -n "$PATH_PREFIX" ] ; then PATH="${PATH}:${PATH_PREFIX}/sbin:${PATH_PREFIX}/bin:${PATH_PREFIX}/usr/sbin:${PATH_PREFIX}/usr/bin:${PATH_PREFIX}/usr/local/sbin:${PATH_PREFIX}/usr/local/bin" fi PRG="${0##*/}" -VERSION=1.0.4 +VERSION=1.0.5 CHROOT=/ ## $CONFIG is relative to $CHROOT CONFIG=etc/yaboot.conf @@ -508,11 +508,6 @@ if (cat /proc/cpuinfo 2>/dev/null | grep -q pmac-generation 2> /dev/null) ; then fi fi -## IBM hardware needs fstype=raw for ybin -if (cat /proc/cpuinfo 2>/dev/null | grep ^machine | grep -q 'CHRP IBM') ; then - FSTYPE="\nfstype=raw" -fi - ## if there is a separate /boot partition we must strip off the /boot ## mountpoint or else yaboot will not find the kernel. if [ "$KERNDIR" != "$CHROOT" ] ; then @@ -575,7 +570,7 @@ GLOBAL="## yaboot.conf generated by $PRG $VERSION ${HEADER}## ## For a dual-boot menu, add one or more of: ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ\n -boot=${BOOT}${FSTYPE:-}${DEVICE:-} +boot=${BOOT}${DEVICE:-} partition=$PARTITION root=$ROOT timeout=30