diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-22 23:57:37 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-22 23:57:37 -0400 |
commit | 996b3504d3b311cce30de138a8aad7fa88749f6f (patch) | |
tree | 2831b40472d4552b0dcf19c6c3da4ffe1ef2ee59 /PCBSD/pc-sysinstall/backend | |
parent | e5cd6d89607a9fada16fc483a1a55e15a4804daf (diff) | |
download | pfsense-996b3504d3b311cce30de138a8aad7fa88749f6f.zip pfsense-996b3504d3b311cce30de138a8aad7fa88749f6f.tar.gz |
Adding cpdup option
Diffstat (limited to 'PCBSD/pc-sysinstall/backend')
-rw-r--r-- | PCBSD/pc-sysinstall/backend/functions-extractimage.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/PCBSD/pc-sysinstall/backend/functions-extractimage.sh b/PCBSD/pc-sysinstall/backend/functions-extractimage.sh index 394cfad..e07d6cd 100644 --- a/PCBSD/pc-sysinstall/backend/functions-extractimage.sh +++ b/PCBSD/pc-sysinstall/backend/functions-extractimage.sh @@ -28,6 +28,13 @@ start_extract_uzip_tar() echo_log "pc-sysinstall: Starting Extraction" case ${PACKAGETYPE} in + cpdup) + cpdup -vvv -I -o ${INSFILE} ${FSMNT} >&1 2>&1 + if [ "$?" != "0" ] + echo "CPDUP failure occured:" >>${LOGOUT} + exit_err "ERROR: Error occured during cpdup" + fi + ;; uzip) # Start by mounting the uzip image MDDEVICE=`mdconfig -a -t vnode -o readonly -f ${INSFILE}` mkdir -p ${FSMNT}.uzip |