added 'yum' support
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 27 Jan 2005 19:11:29 +0000 (19:11 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 27 Jan 2005 19:11:29 +0000 (19:11 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1813 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver-build

index efe1117..994e3cd 100755 (executable)
@@ -53,6 +53,9 @@ Possible methods are:
     apt-rpm ... -- -d <distribution>
                 ...  installs the base-packages of the given distribution with
                     help of 'vapt-get'
+    yum     ... -- -d <distribution>
+                ...  installs the base-packages of the given distribution with
+                    help of 'vyum'
     skeleton ... -- [<cmd> <args>*]
                 ...  installs a minimal skeleton filesystem, creates the
                     configuration file and calls an optional command then
@@ -117,7 +120,7 @@ setup_setDefaults "$VSERVER_NAME"
 
 case x"$method" in
     (xlegacy)  exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
-    (xapt-rpm|xcopy|xskeleton|xdebootstrap)
+    (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum)
                . $PKGLIBDIR/vserver-build.$method
                ;;
     (x)                echo $"No build-method specified" >&2