mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
acct-user/boinc: add into the docker group
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> Part-of: https://github.com/gentoo/gentoo/pull/42187 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
committed by
Nowa Ammerlaan
parent
22c9a573ea
commit
2e004f5743
22
acct-user/boinc/boinc-1.ebuild
Normal file
22
acct-user/boinc/boinc-1.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for sci-misc/boinc"
|
||||
ACCT_USER_ID=352
|
||||
ACCT_USER_HOME=/var/lib/${PN}
|
||||
ACCT_USER_HOME_PERMS=0750
|
||||
ACCT_USER_GROUPS=( boinc docker video )
|
||||
|
||||
acct-user_add_deps
|
||||
|
||||
pkg_postinst() {
|
||||
acct-user_pkg_postinst
|
||||
|
||||
elog "To run Docker application via Podman, BOINC needs to be granted permissions:"
|
||||
elog "# usermod --add-subuids 1065536-1131071 boinc"
|
||||
elog "# usermod --add-subgids 1065536-1131071 boinc"
|
||||
}
|
||||
Reference in New Issue
Block a user