From 996b3504d3b311cce30de138a8aad7fa88749f6f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 22 May 2010 23:57:37 -0400 Subject: Adding cpdup option --- PCBSD/pc-sysinstall/backend/functions-extractimage.sh | 7 +++++++ PCBSD/pc-sysinstall/changes.txt | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'PCBSD') 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 diff --git a/PCBSD/pc-sysinstall/changes.txt b/PCBSD/pc-sysinstall/changes.txt index 2fcca4a..c5d2956 100644 --- a/PCBSD/pc-sysinstall/changes.txt +++ b/PCBSD/pc-sysinstall/changes.txt @@ -2,4 +2,5 @@ PCBSD -> pfSense changes 1. Modified test-live to use mount | grep "/dev/iso9660/pfSense" >/dev/null 2>/dev/null 2. Removed desktop specific components directory -3. \ No newline at end of file +3. Added cpdup option +4. \ No newline at end of file -- cgit v1.1