diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2006-09-15 20:47:47 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2006-09-15 20:47:47 +0000 |
commit | 12cc4a654a16685828dfed9819ca71092b355ec1 (patch) | |
tree | 93fd10e105d932d42d1b1aa609022feb9d275ca4 /util-vserver/patches/0.30.211 | |
parent | patch is now in vanilla (diff) | |
download | misc-12cc4a654a16685828dfed9819ca71092b355ec1.tar.gz misc-12cc4a654a16685828dfed9819ca71092b355ec1.tar.bz2 misc-12cc4a654a16685828dfed9819ca71092b355ec1.zip |
to hackish, will be left out until it's in vanilla
svn path=/; revision=477
Diffstat (limited to 'util-vserver/patches/0.30.211')
-rw-r--r-- | util-vserver/patches/0.30.211/205_all_clone.patch | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/util-vserver/patches/0.30.211/205_all_clone.patch b/util-vserver/patches/0.30.211/205_all_clone.patch deleted file mode 100644 index eb1edff..0000000 --- a/util-vserver/patches/0.30.211/205_all_clone.patch +++ /dev/null @@ -1,102 +0,0 @@ -Index: util-vserver/contrib/manifest.dat.pathsubst -=================================================================== ---- util-vserver.orig/contrib/manifest.dat.pathsubst -+++ util-vserver/contrib/manifest.dat.pathsubst -@@ -8,6 +8,7 @@ build @PKGLIBDIR@/vserver-build.deboots - build @PKGLIBDIR@/vserver-build.yum - build @PKGLIBDIR@/vserver-build.rpm - build @PKGLIBDIR@/vserver-build.template -+build @PKGLIBDIR@/vserver-build.clone - build @PKGLIBDIR@/vserver-build.functions - build @PKGLIBDIR@/vserver-build.functions.apt - build @PKGLIBDIR@/vserver-build.functions.rpm -Index: util-vserver/scripts/Makefile-files -=================================================================== ---- util-vserver.orig/scripts/Makefile-files -+++ util-vserver/scripts/Makefile-files -@@ -45,6 +45,7 @@ scripts_pkglib_src_DTA = scripts/functio - scripts/vserver-build.rpm \ - scripts/vserver-build.yum \ - scripts/vserver-build.template \ -+ scripts/vserver-build.clone \ - scripts/vserver-build.functions \ - scripts/vserver-build.functions.apt \ - scripts/vserver-build.functions.rpm \ -Index: util-vserver/scripts/vserver-build -=================================================================== ---- util-vserver.orig/scripts/vserver-build -+++ util-vserver/scripts/vserver-build -@@ -128,7 +128,7 @@ setup_setDefaults "$VSERVER_NAME" - - case x"$method" in - (xlegacy) exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;; -- (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate) -+ (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xclone) - . $__PKGLIBDIR/vserver-build.$method - ;; - (x) panic $"No build-method specified";; -Index: util-vserver/scripts/vserver-build.clone -=================================================================== ---- /dev/null -+++ util-vserver/scripts/vserver-build.clone -@@ -0,0 +1,60 @@ -+# $Id$ --*- sh -*-- -+ -+# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> -+# -+# This program is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; version 2 of the License. -+# -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with this program; if not, write to the Free Software -+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -+ -+tmp=$(getopt -o '+d:' --long debug,pkgmgmt,source: -n "$0" -- "$@") || exit 1 -+eval set -- "$tmp" -+ -+. "$_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT" -+ -+DISTRIBUTION=: -+use_pkgmgmt= -+source= -+ -+while true; do -+ case "$1" in -+ -d) DISTRIBUTION=$2; shift;; -+ --debug) set -x;; -+ --pkgmgmt) use_pkgmgmt=1;; -+ --source) source=$2; shift;; -+ --) shift; break ;; -+ *) echo "vserver-build.clone: internal error: unrecognized option '$1'" >&2 -+ exit 1 -+ ;; -+ esac -+ shift -+done -+ -+test -z "$source" && panic $"vserver-build.clone: --source <vserver> is required!" -+ -+getDistribution '' 1 -+ -+base.init -+test -z "$use_pkgmgmt" || pkgmgmt.initVariables -+ -+base.initFilesystem "$OPTION_FORCE" -+test -z "$use_pkgmgmt" || pkgmgmt.initFilesystem "$OPTION_FORCE" -+ -+setup_writeOption "$VSERVER_NAME" -+setup_writeInitialFstab -+ -+$_CP -a "$__CONFDIR/$source/vdir/." "$VDIR" -+ -+test -z "$BUILD_INITPRE" || "$BUILD_INITPRE" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" -+test -z "$1" || "$@" -+test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" -+ -+base.setSuccess |