summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-09-05 19:11:39 -0400
committerMike Gilbert <floppym@gentoo.org>2016-09-05 19:12:07 -0400
commitea886fc15fb4718cde854ff8f150d95e38a88d51 (patch)
tree1d326fe056bdc262aa56e2b9f4f6479c30e26e35 /sys-apps/systemd/systemd-231.ebuild
parentdev-util/gtk-update-icon-cache: version bump to 3.20.9 (diff)
downloadgentoo-ea886fc15fb4718cde854ff8f150d95e38a88d51.tar.gz
gentoo-ea886fc15fb4718cde854ff8f150d95e38a88d51.tar.bz2
gentoo-ea886fc15fb4718cde854ff8f150d95e38a88d51.zip
sys-apps/systemd: adjust SECCOMP kernel checks
Only check for SECCOMP and SECCOMP_FILTER when USE="seccomp". Package-Manager: portage-2.3.0_p23
Diffstat (limited to 'sys-apps/systemd/systemd-231.ebuild')
-rw-r--r--sys-apps/systemd/systemd-231.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/systemd/systemd-231.ebuild b/sys-apps/systemd/systemd-231.ebuild
index 42684a920f73..9d130236deec 100644
--- a/sys-apps/systemd/systemd-231.ebuild
+++ b/sys-apps/systemd/systemd-231.ebuild
@@ -106,12 +106,13 @@ python_check_deps() {
pkg_pretend() {
local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
~DEVTMPFS ~DMIID ~EPOLL ~FANOTIFY ~FHANDLE
- ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SECCOMP ~SIGNALFD ~SYSFS
+ ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS
~TIMERFD ~TMPFS_XATTR ~UNIX
~!FW_LOADER_USER_HELPER ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED
~!SYSFS_DEPRECATED_V2"
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
+ 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"