summaryrefslogtreecommitdiffstats
path: root/PCBSD/pc-sysinstall
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-05-23 00:11:38 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-05-23 00:11:38 -0400
commite3ccf0504f03a516ab752ed30c9d406789630259 (patch)
treefa72b0871c631a1c98ff751446c189972518c6a6 /PCBSD/pc-sysinstall
parent3d99ee74d0d3df3e3bc72e2bbda413d50c5c19ef (diff)
downloadpfsense-e3ccf0504f03a516ab752ed30c9d406789630259.zip
pfsense-e3ccf0504f03a516ab752ed30c9d406789630259.tar.gz
cpdup correctly
Diffstat (limited to 'PCBSD/pc-sysinstall')
-rwxr-xr-xPCBSD/pc-sysinstall/backend-query/test-live.sh1
-rw-r--r--PCBSD/pc-sysinstall/backend/functions-extractimage.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/PCBSD/pc-sysinstall/backend-query/test-live.sh b/PCBSD/pc-sysinstall/backend-query/test-live.sh
index 87fb45c..9447136 100755
--- a/PCBSD/pc-sysinstall/backend-query/test-live.sh
+++ b/PCBSD/pc-sysinstall/backend-query/test-live.sh
@@ -18,6 +18,7 @@ then
exit 0
fi
+# The above failed so we are a REAL DISK
echo "REAL-DISK"
exit 1
diff --git a/PCBSD/pc-sysinstall/backend/functions-extractimage.sh b/PCBSD/pc-sysinstall/backend/functions-extractimage.sh
index e07d6cd..eb0eb41 100644
--- a/PCBSD/pc-sysinstall/backend/functions-extractimage.sh
+++ b/PCBSD/pc-sysinstall/backend/functions-extractimage.sh
@@ -29,7 +29,7 @@ start_extract_uzip_tar()
case ${PACKAGETYPE} in
cpdup)
- cpdup -vvv -I -o ${INSFILE} ${FSMNT} >&1 2>&1
+ cpdup -vvv -I -o ${INSFILE} ${FSMNT}/${INSFILE} >&1 2>&1
if [ "$?" != "0" ]
echo "CPDUP failure occured:" >>${LOGOUT}
exit_err "ERROR: Error occured during cpdup"
OpenPOWER on IntegriCloud