summaryrefslogtreecommitdiffstats
path: root/PCBSD/pc-sysinstall/conf/pc-sysinstall.conf
blob: 2d4735e41f7d8a654c34465da0df92f5651a7842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/bin/sh
# Configuration options for pc-sysinstall

TMPDIR="/tmp/.pc-sysinstall"
export TMPDIR

if [ ! -d "${TMPDIR}" ]
then
  mkdir -p ${TMPDIR}
  chmod 777 ${TMPDIR}
fi

# Set our temp directory for storing partition information
PARTDIR="${TMPDIR}/part-info"
export PARTDIR

# Set the SLICECFGDIR
SLICECFGDIR="${TMPDIR}/.slice-cfg"
export SLICECFGDIR

# Set the MIRRORCFGDIR
MIRRORCFGDIR="${TMPDIR}/.mirror-cfg"
export MIRRORCFGDIR

# Set the GELIKEYDIR
GELIKEYDIR="${TMPDIR}/.geli-keys"
export GELIKEYDIR

# Set our log file
LOGOUT="${TMPDIR}/pc-sysinstall.log"
export LOGOUT

# Set the number of rsync tries
RSYNCTRIES="3"
export RSYNCTRIES

# Set our mount-points
CDMNT="/cdmnt-install"
FSMNT="/mnt"
UZIP_DIR="/usr"
BOOT_PART_MOUNT="/boot-mount"
export FSMNT CDMNT UZIP_DIR BOOT_PART_MOUNT

# Set the location of component files on DVD / usb / ftp
# Relative to CDMNT or the FTP root
COMPFILEDIR="extras/"
export COMPFILEDIR

# Set the component temp directory, which is relative to FSMNT
COMPTMPDIR="/usr/.componenttmp"
export COMPTMPDIR

# Variables to set the location of installation data
UZIP_FILE="PCBSD.ufs.uzip"
TAR_FILE="PCBSD.tbz"
export UZIP_FILE TAR_FILE

# Locations of FreeBSD only install files
FBSD_UZIP_FILE="fbsd-release.ufs.uzip"
FBSD_TAR_FILE="fbsd-release.tbz"
FBSD_BRANCH_DIR="8.0-CURRENT"
export FBSD_UZIP_FILE FBSD_TAR_FILE FBSD_BRANCH_DIR

# Our internet mirror listing file location
NETSERVER="http://updates.pcbsd.org"
ARCH="`uname -m`"

# Check if we are running on a PC-BSD Disk
if [ -e "/PCBSDVERSION" ] ; then
  VERSION="`cat /PCBSDVERSION`"
else
  VERSION="UNKNOWN"
fi

MIRRORLIST="${NETSERVER}/mirrors-netinstall.php?ver=${VERSION}&arch=${ARCH}"
OpenPOWER on IntegriCloud