summaryrefslogtreecommitdiffstats
path: root/PCBSD/pc-sysinstall/components/src/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'PCBSD/pc-sysinstall/components/src/install.sh')
-rwxr-xr-xPCBSD/pc-sysinstall/components/src/install.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/PCBSD/pc-sysinstall/components/src/install.sh b/PCBSD/pc-sysinstall/components/src/install.sh
new file mode 100755
index 0000000..6559380
--- /dev/null
+++ b/PCBSD/pc-sysinstall/components/src/install.sh
@@ -0,0 +1,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