Small corrections to POSIX-compliant changes.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=8
This commit is contained in:
parent
f4f011f862
commit
b51b6daf94
@ -3,7 +3,7 @@ Mon Apr 8 13:18:50 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
|||||||
|
|
||||||
- %pre bash features: replace by POSIX equivalents.
|
- %pre bash features: replace by POSIX equivalents.
|
||||||
- %build bash features: add %_buildshell definition for it.
|
- %build bash features: add %_buildshell definition for it.
|
||||||
- Do not igonre errors from groupadd.
|
- Do not ignore errors from groupadd.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 5 19:13:48 UTC 2019 - Aleksa Sarai <asarai@suse.com>
|
Fri Apr 5 19:13:48 UTC 2019 - Aleksa Sarai <asarai@suse.com>
|
||||||
|
4
lxd.spec
4
lxd.spec
@ -261,9 +261,9 @@ touch /etc/subuid /etc/subgid || :
|
|||||||
#
|
#
|
||||||
# This default setting of 500 million is enough for ~8000 isolated containers,
|
# This default setting of 500 million is enough for ~8000 isolated containers,
|
||||||
# which should be enough for most users.
|
# which should be enough for most users.
|
||||||
grep -q '^root:' /etc/subuid 2>/dev/null || \
|
grep -q '^root:' /etc/subuid || \
|
||||||
usermod -v 400000000-900000000 root ||:
|
usermod -v 400000000-900000000 root ||:
|
||||||
grep -q '^root:' /etc/subgid 2>/dev/null || \
|
grep -q '^root:' /etc/subgid || \
|
||||||
usermod -w 400000000-900000000 root ||:
|
usermod -w 400000000-900000000 root ||:
|
||||||
|
|
||||||
%service_add_pre %{name}.service
|
%service_add_pre %{name}.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user