]>
Commit | Line | Data |
---|---|---|
40303baa JR |
1 | diff -urNp -x '*.orig' util-vserver-0.30.216-pre3126.org/scripts/vserver-build util-vserver-0.30.216-pre3126/scripts/vserver-build |
2 | --- util-vserver-0.30.216-pre3126.org/scripts/vserver-build 2021-03-12 21:50:27.621046552 +0100 | |
3 | +++ util-vserver-0.30.216-pre3126/scripts/vserver-build 2021-03-12 21:50:27.707714756 +0100 | |
4 | @@ -138,6 +138,9 @@ while true; do | |
cc7cee5f JR |
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 | ||
40303baa JR |
14 | diff -urNp -x '*.orig' util-vserver-0.30.216-pre3126.org/scripts/vserver.functions util-vserver-0.30.216-pre3126/scripts/vserver.functions |
15 | --- util-vserver-0.30.216-pre3126.org/scripts/vserver.functions 2016-02-24 19:09:17.000000000 +0100 | |
16 | +++ util-vserver-0.30.216-pre3126/scripts/vserver.functions 2021-03-12 21:50:27.707714756 +0100 | |
17 | @@ -455,6 +455,10 @@ function _generateChcontextOptions | |
cc7cee5f JR |
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" | |
40303baa | 27 | _generateUMaskOptions "$vdir" |