source:
patches/yaboot-1.3.17-parted-1.patch@
418edd7
Last change on this file since 418edd7 was 42084fb, checked in by , 11 years ago | |
---|---|
|
|
File size: 1.2 KB |
-
yaboot-1.3.10/ybin/yabootconfig
Submitted By: William Harrington kb0iic at cross-lfs dot org Date: 2013-10-20 Initial Package Version: 1.3.10 Upstream Status: Unknown Origin: https://bugzilla.redhat.com/show_bug.cgi?id=121361 Description: Add parted support to yabootconfig.
old new 160 160 FDISK=mac-fdisk 161 161 elif (command -v pdisk > /dev/null 2>&1) ; then 162 162 FDISK=pdisk 163 elif (command -v parted > /dev/null 2>&1) ; then 164 FDISK=parted 163 165 else 164 166 echo 1>&2 "$PRG: Unable to locate mac-fdisk" 165 167 return 1 … … 209 211 BOOT="${DISK}${BOOT}" 210 212 fi 211 213 debug "BOOT after fixup: $BOOT\n" 212 el se214 elif [ "$FDISK" = mac-fdisk ] ; then 213 215 BOOT="$(v=`$FDISK -l "$DISK" 2>/dev/null | grep '\<Apple_Bootstrap\>'` ; echo ${v%%[ ]*})" 214 216 debug "BOOT=$BOOT\n" 217 else 218 BOOT="$(v=`$FDISK "$DISK" print 2>/dev/null | grep 'bootstrap'` ; echo ${v%%[ ]*})" 219 debug "BOOT before fixup: $BOOT\n" 220 if [ -n "$BOOT" ] ; then 221 BOOT="${DISK}${BOOT}" 222 fi 223 debug "BOOT after fixup: $BOOT\n" 215 224 fi 216 225 if [ -z "$BOOT" ] ; then 217 226 echo 1>&2 "$PRG: Unable to locate bootstrap partition on $DISK..."
Note:
See TracBrowser
for help on using the repository browser.