mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 00:45:46 +02:00
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>
22 lines
541 B
Bash
22 lines
541 B
Bash
# 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"
|
|
}
|