pc-sysinstall.conf revision 302408
1#!/bin/sh 2# $FreeBSD: stable/11/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf 247735 2013-03-03 23:07:27Z jpaetzel $ 3# Configuration options for pc-sysinstall 4 5TMPDIR="/tmp/.pc-sysinstall" 6export TMPDIR 7 8# Create a fresh TMPDIR 9if [ -d "${TMPDIR}" -a "$TMPDIR" != '/' ]; then rm -rf ${TMPDIR}; fi 10mkdir -p ${TMPDIR} 11 12# Set our temp directory for storing partition information 13PARTDIR="${TMPDIR}/part-info" 14export PARTDIR 15 16# Set the SLICECFGDIR 17SLICECFGDIR="${TMPDIR}/.slice-cfg" 18export SLICECFGDIR 19 20# Set the MIRRORCFGDIR 21MIRRORCFGDIR="${TMPDIR}/.mirror-cfg" 22export MIRRORCFGDIR 23 24# Set the GELIKEYDIR 25GELIKEYDIR="${TMPDIR}/.geli-keys" 26export GELIKEYDIR 27 28# Set our log file 29LOGOUT="${TMPDIR}/pc-sysinstall.log" 30export LOGOUT 31 32# Set the number of rsync tries 33RSYNCTRIES="3" 34export RSYNCTRIES 35 36# Set our mount-points 37CDMNT=${CDMNT-/cdmnt-install} 38FSMNT=${FSMNT-/mnt} 39UZIP_DIR="/usr" 40BOOT_PART_MOUNT="/boot-mount" 41export FSMNT CDMNT UZIP_DIR BOOT_PART_MOUNT 42 43# Set the location of component files on DVD / usb / ftp 44# Relative to CDMNT or the FTP root 45COMPFILEDIR="extras/" 46export COMPFILEDIR 47 48# Set the component temp directory, which is relative to FSMNT 49COMPTMPDIR="/usr/.componenttmp" 50export COMPTMPDIR 51 52# set the package temp directory, which is relative to FSMNT 53PKGTMPDIR="/usr/.pkgtmp" 54export PKGTMPDIR 55 56# Variables to set the location of installation data 57UZIP_FILE="PCBSD.ufs.uzip" 58TAR_FILE="PCBSD.tbz" 59export UZIP_FILE TAR_FILE 60 61# Locations of FreeBSD only install files 62FBSD_UZIP_FILE="fbsd-release.ufs.uzip" 63FBSD_TAR_FILE="fbsd-release.tbz" 64FBSD_BRANCH="8.0-RELEASE" 65FBSD_BRANCH_DIR="${FBSD_BRANCH}" 66FBSD_ARCH=`uname -m` 67export FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH FBSD_BRANCH_DIR FBSD_ARCH 68 69# Location of image file 70IMAGE_FILE="/home/john/tmp/PCBSD8.1-x86-USB.img" 71export IMAGE_FILE 72 73# Our internet mirror listing file location 74NETSERVER="http://updates.pcbsd.org" 75ARCH="`uname -m`" 76 77# Check if we are running on a PC-BSD Disk 78if [ -e "/PCBSDVERSION" ] ; then 79 VERSION="`cat /PCBSDVERSION`" 80else 81 VERSION="UNKNOWN" 82fi 83 84MIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}" 85