Changeset 2468

Show
Ignore:
Timestamp:
01/21/07 21:05:19 (2 years ago)
Author:
dhozac
Message:

Add the clone build method.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/contrib/manifest.dat.pathsubst

    r2458 r2468  
    8080@ENSC_HAVE_C99_COMPILER_TRUE@build  @PKGLIBDIR@/vunify 
    8181@ENSC_HAVE_C99_COMPILER_TRUE@build  @PKGLIBDIR@/vhashify 
     82@ENSC_HAVE_C99_COMPILER_TRUE@build  @PKGLIBDIR@/vclone 
    8283base   @PKGLIBDIR@/vservers.grabinfo.sh 
    8384build  @PKGLIBDIR@/distributions 
  • trunk/scripts/util-vserver-vars.pathsubst

    r2460 r2468  
    7373_VAPT_GET_WORKER="$__PKGLIBDIR/vapt-get-worker" 
    7474_VATTRIBUTE="$__SBINDIR/vattribute" 
     75_VCLONE="$__PKGLIBDIR/vclone" 
    7576_VCONTEXT="$__SBINDIR/vcontext" 
    7677_VDEVMAP="$__SBINDIR/vdevmap" 
  • trunk/scripts/vserver-build

    r2398 r2468  
    7575    rsync       ... -- [-d <distribution>] --source <source> [-o <rsync option>]* 
    7676                ...  installs a guest by rsyncing from <source> to the guest root 
     77    clone       ... -- [-d <distribution>] --source <source> 
     78                ...  clones a guest by linking unified files and copying the rest 
    7779 
    7880Please report bugs to $PACKAGE_BUGREPORT" 
     
    135137case x"$method" in 
    136138    (xlegacy)   exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;; 
    137     (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync
     139    (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone
    138140                . $__PKGLIBDIR/vserver-build.$method 
    139141                ;;