Use bundle.sysctl by default in core and change update to switch to not-active database
This commit is contained in:
parent
29b838ff96
commit
1577dfcf09
|
@ -3,7 +3,7 @@
|
|||
. ../../APKBUILD.template
|
||||
|
||||
pkgname=nnd-s6-services
|
||||
pkgver=2.80
|
||||
pkgver=2.81
|
||||
pkgrel=0
|
||||
pkgdesc="Base services for s6"
|
||||
depends="s6-rc s6-portable-utils s6-linux-utils"
|
||||
|
|
|
@ -74,7 +74,7 @@ swap() {
|
|||
}
|
||||
|
||||
update() {
|
||||
if ! s6-rc-update -l "$S6_LIVE_PATH" "$S6_SV_PATH/current.$(DB_FRESH_ACT)"; then
|
||||
if ! s6-rc-update -l "$S6_LIVE_PATH" "$S6_SV_PATH/current.$(DB_FRESH_NAC)"; then
|
||||
error "Failed to update live state of the database"
|
||||
return "$?"
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/execlineb -P
|
||||
export VAL 0
|
||||
export SYSCTL kernel/unprivileged_userns_clone
|
||||
/usr/libexec/nnd/sysctl
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/execlineb -P
|
||||
importas -i XDG_CONFIG_HOME XDG_CONFIG_HOME
|
||||
|
||||
export VAL 0
|
||||
s6-envdir -I ${XDG_CONFIG_HOME}/s6/env/sysctl.kernel-unprivileged_userns_clone
|
||||
|
||||
export SYSCTL kernel/unprivileged_userns_clone
|
||||
/usr/libexec/nnd/s6/sysctl
|
Loading…
Reference in New Issue