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