summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/openrc/doinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh
index 3b0d696a32..482b080f85 100644
--- a/system/openrc/doinst.sh
+++ b/system/openrc/doinst.sh
@@ -24,4 +24,4 @@ for file in "${BACKUP_CONF[@]}"; do
done
# enable cgroups service as required by openrc 0.35+
-[ ! -e etc/runlevels/sysinit/cgroups ] && /sbin/rc-update add cgroups sysinit
+[ ! -e etc/runlevels/sysinit/cgroups ] && chroot . /sbin/rc-update add cgroups sysinit