Ignore:
Timestamp:
Oct 23, 2013 9:16:41 AM (6 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
9855292
Parents:
73ddd0e
Message:

Update installer GUI to provide option to use old FreeBSD boot-loader
this will work for users who don't care about BE's or want to test
the FreeBSD loader when it begins to get these features.

Update pc-sysinstall backend to work with BSD/bsd GRUB/grub as the
bootManager= string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-sysinstall/backend/functions-disk.sh

    r87e7f725 r07eb74c  
    471471      strip_white_space "$VAL" 
    472472      BMANAGER="$VAL" 
     473      # Convert to upper 
     474      if [ "$BMANAGER" = "bsd" ] ; then BMANAGER="BSD" ; fi 
     475      if [ "$BMANAGER" = "grub" ] ; then BMANAGER="GRUB" ; fi 
     476      if [ "$BMANAGER" = "grub-slice" ] ; then BMANAGER="GRUB-slice" ; fi 
    473477    fi 
    474478 
     
    712716  rc_halt "gpart set -a active -i 1 ${_intDISK}" 
    713717 
    714   if [ "$_intBOOT" = "bsd" ] ; then 
     718  if [ "$_intBOOT" = "BSD" ] ; then 
    715719    echo_log "Stamping boot0 on ${_intDISK}" 
    716720    rc_halt "gpart bootcode -b /boot/boot0 ${_intDISK}" 
     
    849853  sleep 1 
    850854 
    851   if [ "${BMANAGER}" = "bsd" ]; then 
     855  if [ "${BMANAGER}" = "BSD" ]; then 
    852856    echo_log "Stamping boot sector on ${DISK}" 
    853857    rc_halt "gpart bootcode -b /boot/boot0 ${DISK}" 
     
    907911  sleep 1 
    908912 
    909   if [ "${BMANAGER}" = "bsd" ]; then 
     913  if [ "${BMANAGER}" = "BSD" ]; then 
    910914    echo_log "Stamping boot sector on ${DISK}" 
    911915    rc_halt "gpart bootcode -b /boot/boot0 ${DISK}" 
Note: See TracChangeset for help on using the changeset viewer.