summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'util-vserver/patches/0.30.210-r13/util-vserver-0.30.210-clone.patch')
-rw-r--r--util-vserver/patches/0.30.210-r13/util-vserver-0.30.210-clone.patch98
1 files changed, 0 insertions, 98 deletions
diff --git a/util-vserver/patches/0.30.210-r13/util-vserver-0.30.210-clone.patch b/util-vserver/patches/0.30.210-r13/util-vserver-0.30.210-clone.patch
deleted file mode 100644
index 9bb46be..0000000
--- a/util-vserver/patches/0.30.210-r13/util-vserver-0.30.210-clone.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff -Nurp util-vserver-0.30.210.orig/contrib/manifest.dat.pathsubst util-vserver-0.30.210.clone/contrib/manifest.dat.pathsubst
---- util-vserver-0.30.210.orig/contrib/manifest.dat.pathsubst 2006-01-21 22:34:46.000000000 +0100
-+++ util-vserver-0.30.210.clone/contrib/manifest.dat.pathsubst 2006-03-16 01:48:57.000000000 +0100
-@@ -7,6 +7,7 @@ build @PKGLIBDIR@/vserver-build.skeleto
- build @PKGLIBDIR@/vserver-build.debootstrap
- build @PKGLIBDIR@/vserver-build.yum
- build @PKGLIBDIR@/vserver-build.rpm
-+build @PKGLIBDIR@/vserver-build.clone
- build @PKGLIBDIR@/vserver-build.functions
- build @PKGLIBDIR@/vserver-build.functions.apt
- build @PKGLIBDIR@/vserver-build.functions.rpm
-diff -Nurp util-vserver-0.30.210.orig/scripts/Makefile-files util-vserver-0.30.210.clone/scripts/Makefile-files
---- util-vserver-0.30.210.orig/scripts/Makefile-files 2005-04-28 19:45:34.000000000 +0200
-+++ util-vserver-0.30.210.clone/scripts/Makefile-files 2006-03-16 02:08:32.000000000 +0100
-@@ -43,6 +43,7 @@ scripts_pkglib_src_DTA = scripts/functio
- scripts/vserver-build.debootstrap \
- scripts/vserver-build.rpm \
- scripts/vserver-build.yum \
-+ scripts/vserver-build.clone \
- scripts/vserver-build.functions \
- scripts/vserver-build.functions.apt \
- scripts/vserver-build.functions.rpm \
-diff -Nurp util-vserver-0.30.210.orig/scripts/vserver-build util-vserver-0.30.210.clone/scripts/vserver-build
---- util-vserver-0.30.210.orig/scripts/vserver-build 2005-07-03 19:45:43.000000000 +0200
-+++ util-vserver-0.30.210.clone/scripts/vserver-build 2006-03-16 01:48:36.000000000 +0100
-@@ -126,7 +126,7 @@ setup_setDefaults "$VSERVER_NAME"
-
- case x"$method" in
- (xlegacy) exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
-- (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm)
-+ (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xclone)
- . $__PKGLIBDIR/vserver-build.$method
- ;;
- (x) panic $"No build-method specified";;
-diff -Nurp util-vserver-0.30.210.orig/scripts/vserver-build.clone util-vserver-0.30.210.clone/scripts/vserver-build.clone
---- util-vserver-0.30.210.orig/scripts/vserver-build.clone 1970-01-01 01:00:00.000000000 +0100
-+++ util-vserver-0.30.210.clone/scripts/vserver-build.clone 2006-03-16 02:08:07.000000000 +0100
-@@ -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