Permalink
Browse files

livecd install the root(/) from a liveCD/DVD.

livecd is the code used to install GhostBSD
  • Loading branch information...
ericbsd committed Jan 18, 2014
1 parent 34182ea commit 3e87404d76acc06dcc4a0b2dc5f3cf28f9983fab
Showing with 8 additions and 0 deletions.
  1. +8 −0 src-sh/pc-sysinstall/backend/functions-extractimage.sh
@@ -132,6 +132,14 @@ start_extract_uzip_tar()
exit_err "ERROR: Failed extracting the tar image"
fi
;;
+ livecd)
+ cd /
+ find * -print -depth |grep -v uzip | grep -v media/ | grep -v proc/ | grep -v dist | cpio -pudmv ${FSMNT} >&1 2>&1
+ if [ "$?" != "0" ]
+ then
+ exit_err "ERROR: Failed to copy files"
+ fi
+ ;;
esac
# Check if this was a FTP download and clean it up now

0 comments on commit 3e87404

Please sign in to comment.