sys-apps/systemd: add kernel check for CGROUP_BPF

Closes: https://bugs.gentoo.org/638860
Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7
This commit is contained in:
Mike Gilbert
2017-11-27 17:03:07 -05:00
parent cd06fe962b
commit 663c5cf752
2 changed files with 2 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ pkg_pretend() {
use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER"
kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG"
kernel_is -lt 4 7 && CONFIG_CHECK+=" ~DEVPTS_MULTIPLE_INSTANCES"
kernel_is -ge 4 10 && CONFIG_CHECK+=" ~CGROUP_BPF"
if linux_config_exists; then
local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)

View File

@@ -116,6 +116,7 @@ pkg_pretend() {
use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER"
kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG"
kernel_is -lt 4 7 && CONFIG_CHECK+=" ~DEVPTS_MULTIPLE_INSTANCES"
kernel_is -ge 4 10 && CONFIG_CHECK+=" ~CGROUP_BPF"
if linux_config_exists; then
local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)