Changeset c8f6fd5


Ignore:
Timestamp:
01/25/14 07:20:02 (11 months ago)
Author:
Eric Turgeon <ericturgeon.bsd@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
63b9307
Parents:
aa642f1b
Message:

Adding the GhostBSD way for gpt partitioning.

File:
1 edited

Legend:

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

    r07e446b rc8f6fd5  
    404404      if [ "${_pType}" = "gpt" ] ; then 
    405405        sleep 2 
    406         aCmd="gpart add -a 4k ${SOUT} -t ${PARTYPE} ${_pDisk}" 
     406        if [ -a "${INSTALLTYPE}" = "GhostBSD" ] 
     407        then 
     408          aCmd="gpart add ${SOUT} -t ${PARTYPE} ${_pDisk}" 
     409        else 
     410          aCmd="gpart add -a 4k ${SOUT} -t ${PARTYPE} ${_pDisk}" 
     411        fi 
    407412      elif [ "${_pType}" = "gptslice" ]; then 
    408413        sleep 2 
    409         aCmd="gpart add ${SOUT} -t ${PARTYPE} ${_pDisk}" 
     414        aCmd="gpart add ${SOUT} -t ${PARTYPE} ${_wSlice}" 
    410415      elif [ "${_pType}" = "apm" ]; then 
    411416        sleep 2 
Note: See TracChangeset for help on using the changeset viewer.