Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/
Date: Mon, 27 Nov 2017 22:04:06
Message-Id: 1511820239.663c5cf752b24425fa93c8f9a0fbf22077314520.floppym@gentoo
1 commit: 663c5cf752b24425fa93c8f9a0fbf22077314520
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 27 22:03:07 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 27 22:03:59 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663c5cf7
7
8 sys-apps/systemd: add kernel check for CGROUP_BPF
9
10 Closes: https://bugs.gentoo.org/638860
11 Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7
12
13 sys-apps/systemd/systemd-235-r1.ebuild | 1 +
14 sys-apps/systemd/systemd-9999.ebuild | 1 +
15 2 files changed, 2 insertions(+)
16
17 diff --git a/sys-apps/systemd/systemd-235-r1.ebuild b/sys-apps/systemd/systemd-235-r1.ebuild
18 index e31cdbf1487..a83897f709f 100644
19 --- a/sys-apps/systemd/systemd-235-r1.ebuild
20 +++ b/sys-apps/systemd/systemd-235-r1.ebuild
21 @@ -118,6 +118,7 @@ pkg_pretend() {
22 use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER"
23 kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG"
24 kernel_is -lt 4 7 && CONFIG_CHECK+=" ~DEVPTS_MULTIPLE_INSTANCES"
25 + kernel_is -ge 4 10 && CONFIG_CHECK+=" ~CGROUP_BPF"
26
27 if linux_config_exists; then
28 local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)
29
30 diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
31 index 032a4e3441e..e32db7f2190 100644
32 --- a/sys-apps/systemd/systemd-9999.ebuild
33 +++ b/sys-apps/systemd/systemd-9999.ebuild
34 @@ -116,6 +116,7 @@ pkg_pretend() {
35 use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER"
36 kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG"
37 kernel_is -lt 4 7 && CONFIG_CHECK+=" ~DEVPTS_MULTIPLE_INSTANCES"
38 + kernel_is -ge 4 10 && CONFIG_CHECK+=" ~CGROUP_BPF"
39
40 if linux_config_exists; then
41 local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)