]> git.pld-linux.org Git - packages/util-vserver.git/blame - util-vserver-no-dynamic-ctx.patch
- rel 2; build with glibc, so it will also work on systems with newer kernels that...
[packages/util-vserver.git] / util-vserver-no-dynamic-ctx.patch
CommitLineData
cc7cee5f
JR
1diff -ur util-vserver-0.30.210.orig/scripts/vserver-build util-vserver-0.30.210/scripts/vserver-build
2--- util-vserver-0.30.210.orig/scripts/vserver-build 2006-04-18 18:10:30.000000000 +0200
3+++ util-vserver-0.30.210/scripts/vserver-build 2006-04-18 18:37:37.000000000 +0200
4@@ -122,6 +122,9 @@
5 shift
6 done
7
8+test -n "$SETUP_CONTEXT" ||
9+ panic $"Dynamic Context IDs not supported (use --context option)"
10+
11 test -n "$VSERVER_NAME" ||
12 panic $"Name of vserver not specified"
13
14diff -ur util-vserver-0.30.210.orig/scripts/vserver.functions util-vserver-0.30.210/scripts/vserver.functions
15--- util-vserver-0.30.210.orig/scripts/vserver.functions 2006-04-18 18:10:30.000000000 +0200
16+++ util-vserver-0.30.210/scripts/vserver.functions 2006-04-18 19:04:07.000000000 +0200
17@@ -365,6 +365,10 @@
18
19 test -z "$S_CONTEXT" || ctx=$S_CONTEXT
20
21+ test -n "$ctx" || panic $"\
22+Dynamic Context IDs are not supported, you must set Context ID
23+in $vdir/context file"
24+
25 _generateCapabilityOptions "$vdir"
26 _generateFlagOptions "$vdir"
27
This page took 0.067032 seconds and 4 git commands to generate.