pc-sysinstall.conf revision 218776
1209513Simp#!/bin/sh 2209513Simp# $FreeBSD: head/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf 218776 2011-02-17 16:33:41Z jpaetzel $ 3209513Simp# Configuration options for pc-sysinstall 4209513Simp 5209513SimpTMPDIR="/tmp/.pc-sysinstall" 6209513Simpexport TMPDIR 7209513Simp 8209513Simpif [ ! -d "${TMPDIR}" ] 9209513Simpthen 10209513Simp mkdir -p ${TMPDIR} 11209513Simp chmod 777 ${TMPDIR} 12209513Simpfi 13209513Simp 14209513Simp# Set our temp directory for storing partition information 15209513SimpPARTDIR="${TMPDIR}/part-info" 16209513Simpexport PARTDIR 17209513Simp 18209513Simp# Set the SLICECFGDIR 19209513SimpSLICECFGDIR="${TMPDIR}/.slice-cfg" 20209513Simpexport SLICECFGDIR 21209513Simp 22209513Simp# Set the MIRRORCFGDIR 23209513SimpMIRRORCFGDIR="${TMPDIR}/.mirror-cfg" 24209513Simpexport MIRRORCFGDIR 25209513Simp 26209513Simp# Set the GELIKEYDIR 27209513SimpGELIKEYDIR="${TMPDIR}/.geli-keys" 28209513Simpexport GELIKEYDIR 29209513Simp 30209513Simp# Set our log file 31209513SimpLOGOUT="${TMPDIR}/pc-sysinstall.log" 32209513Simpexport LOGOUT 33209513Simp 34209513Simp# Set the number of rsync tries 35209513SimpRSYNCTRIES="3" 36209513Simpexport RSYNCTRIES 37209513Simp 38209513Simp# Set our mount-points 39218776SjpaetzelCDMNT=${CDMNT-/cdmnt-install} 40218776SjpaetzelFSMNT=${FSMNT-/mnt} 41209513SimpUZIP_DIR="/usr" 42209513SimpBOOT_PART_MOUNT="/boot-mount" 43209513Simpexport FSMNT CDMNT UZIP_DIR BOOT_PART_MOUNT 44209513Simp 45209513Simp# Set the location of component files on DVD / usb / ftp 46209513Simp# Relative to CDMNT or the FTP root 47209513SimpCOMPFILEDIR="extras/" 48209513Simpexport COMPFILEDIR 49209513Simp 50209513Simp# Set the component temp directory, which is relative to FSMNT 51209513SimpCOMPTMPDIR="/usr/.componenttmp" 52209513Simpexport COMPTMPDIR 53209513Simp 54211485Simp# set the package temp directory, which is relative to FSMNT 55211485SimpPKGTMPDIR="/usr/.pkgtmp" 56211485Simpexport PKGTMPDIR 57211485Simp 58209513Simp# Variables to set the location of installation data 59209513SimpUZIP_FILE="PCBSD.ufs.uzip" 60209513SimpTAR_FILE="PCBSD.tbz" 61209513Simpexport UZIP_FILE TAR_FILE 62209513Simp 63209513Simp# Locations of FreeBSD only install files 64209513SimpFBSD_UZIP_FILE="fbsd-release.ufs.uzip" 65209513SimpFBSD_TAR_FILE="fbsd-release.tbz" 66209553SimpFBSD_BRANCH="8.0-RELEASE" 67209553SimpFBSD_BRANCH_DIR="${FBSD_BRANCH}" 68209553SimpFBSD_ARCH=`uname -m` 69209553Simpexport FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH FBSD_BRANCH_DIR FBSD_ARCH 70209513Simp 71213650Simp# Location of image file 72213650SimpIMAGE_FILE="/home/john/tmp/PCBSD8.1-x86-USB.img" 73213650Simpexport IMAGE_FILE 74213650Simp 75209513Simp# Our internet mirror listing file location 76209513SimpNETSERVER="http://updates.pcbsd.org" 77209513SimpARCH="`uname -m`" 78209513Simp 79209513Simp# Check if we are running on a PC-BSD Disk 80209513Simpif [ -e "/PCBSDVERSION" ] ; then 81209513Simp VERSION="`cat /PCBSDVERSION`" 82209513Simpelse 83209513Simp VERSION="UNKNOWN" 84209513Simpfi 85209513Simp 86209513SimpMIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}" 87