16 |
16 |
MY_P=${MY_PN}-${MY_PV}
|
17 |
17 |
S=${WORKDIR}/${MY_P}
|
18 |
18 |
SRC_URI="https://github.com/systemd/${MY_PN}/archive/v${MY_PV}/${MY_P}.tar.gz"
|
19 |
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
|
19 |
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
|
20 |
20 |
fi
|
21 |
21 |
|
22 |
|
PYTHON_COMPAT=( python3_{7,8} )
|
|
22 |
PYTHON_COMPAT=( python3_{7..9} )
|
23 |
23 |
|
24 |
24 |
inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev usr-ldscript
|
25 |
25 |
|
... | ... | |
85 |
85 |
|
86 |
86 |
# baselayout-2.2 has /run
|
87 |
87 |
RDEPEND="${COMMON_DEPEND}
|
88 |
|
acct-group/adm
|
89 |
|
acct-group/wheel
|
90 |
|
acct-group/kmem
|
91 |
|
acct-group/tty
|
92 |
|
acct-group/utmp
|
93 |
|
acct-group/audio
|
94 |
|
acct-group/cdrom
|
95 |
|
acct-group/dialout
|
96 |
|
acct-group/disk
|
97 |
|
acct-group/input
|
98 |
|
acct-group/kvm
|
99 |
|
acct-group/render
|
100 |
|
acct-group/tape
|
101 |
|
acct-group/video
|
102 |
|
acct-group/systemd-journal
|
103 |
|
acct-user/systemd-journal-remote
|
104 |
|
acct-user/systemd-coredump
|
105 |
|
acct-user/systemd-network
|
106 |
|
acct-user/systemd-resolve
|
107 |
|
acct-user/systemd-timesync
|
|
88 |
>=acct-group/adm-0-r1
|
|
89 |
>=acct-group/wheel-0-r1
|
|
90 |
>=acct-group/kmem-0-r1
|
|
91 |
>=acct-group/tty-0-r1
|
|
92 |
>=acct-group/utmp-0-r1
|
|
93 |
>=acct-group/audio-0-r1
|
|
94 |
>=acct-group/cdrom-0-r1
|
|
95 |
>=acct-group/dialout-0-r1
|
|
96 |
>=acct-group/disk-0-r1
|
|
97 |
>=acct-group/input-0-r1
|
|
98 |
>=acct-group/kvm-0-r1
|
|
99 |
>=acct-group/lp-0-r1
|
|
100 |
>=acct-group/render-0-r1
|
|
101 |
>=acct-group/tape-0-r1
|
|
102 |
acct-group/users
|
|
103 |
>=acct-group/video-0-r1
|
|
104 |
>=acct-group/systemd-journal-0-r1
|
|
105 |
>=acct-user/root-0-r1
|
|
106 |
acct-user/nobody
|
|
107 |
>=acct-user/systemd-journal-remote-0-r1
|
|
108 |
>=acct-user/systemd-coredump-0-r1
|
|
109 |
>=acct-user/systemd-network-0-r1
|
|
110 |
acct-user/systemd-oom
|
|
111 |
>=acct-user/systemd-resolve-0-r1
|
|
112 |
>=acct-user/systemd-timesync-0-r1
|
108 |
113 |
>=sys-apps/baselayout-2.2
|
109 |
114 |
selinux? ( sec-policy/selinux-base-policy[systemd] )
|
110 |
115 |
sysv-utils? (
|
... | ... | |
207 |
212 |
|
208 |
213 |
# Add local patches here
|
209 |
214 |
PATCHES+=(
|
|
215 |
"${FILESDIR}"/247-cgroup-test.patch
|
210 |
216 |
)
|
211 |
217 |
|
212 |
218 |
if ! use vanilla; then
|
213 |
219 |
PATCHES+=(
|
214 |
220 |
"${FILESDIR}/gentoo-generator-path-r2.patch"
|
215 |
|
"${FILESDIR}/gentoo-systemctl-disable-sysv-sync.patch"
|
|
221 |
"${FILESDIR}/gentoo-systemctl-disable-sysv-sync-r1.patch"
|
216 |
222 |
"${FILESDIR}/gentoo-journald-audit.patch"
|
217 |
223 |
"${FILESDIR}/gentoo-pam.patch"
|
218 |
224 |
)
|
... | ... | |
376 |
382 |
rmdir "${ED}${rootprefix}"/sbin || die
|
377 |
383 |
fi
|
378 |
384 |
|
|
385 |
# https://bugs.gentoo.org/761763
|
|
386 |
rm -r "${ED}"/usr/lib/sysusers.d || die
|
|
387 |
|
379 |
388 |
# Preserve empty dirs in /etc & /var, bug #437008
|
380 |
389 |
keepdir /etc/{binfmt.d,modules-load.d,tmpfiles.d}
|
381 |
390 |
keepdir /etc/kernel/install.d
|