summaryrefslogtreecommitdiffstats
path: root/PCBSD/pc-sysinstall/components/src/install.sh
blob: 6559380037ef8131b58a293fe1e8180ea7216c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Available Variables
# COMPTMPDIR = Set to the tmpdir that contains CFILE
# CFILE =  Set to the file(s) provided by this component
#          Comma delimited, if more than one file
# This script installs the freebsd source

rm -rf /usr/src
mkdir /usr/src
cd /usr/src
echo "Extracting FREEBSD source tree..."
tar xvjf ${COMPTMPDIR}/${CFILE} >/dev/null 2>/dev/null
OpenPOWER on IntegriCloud