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