summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-07-29 23:00:15 -0500
committerWilliam Hubbs <williamh@gentoo.org>2016-07-29 23:04:44 -0500
commitccbdbde873e3f1f2ff9ce4fd0a667a55c4799d91 (patch)
treeba7e4ea0992e551866ec2aedaae9e3ac22a05047 /app-emulation/docker
parentmail-filter/sigh: Added ebuild (diff)
downloadgentoo-ccbdbde873e3f1f2ff9ce4fd0a667a55c4799d91.tar.gz
gentoo-ccbdbde873e3f1f2ff9ce4fd0a667a55c4799d91.tar.bz2
gentoo-ccbdbde873e3f1f2ff9ce4fd0a667a55c4799d91.zip
app-emulation/docker: 1.12.0: clean up kernel checks
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-emulation/docker')
-rw-r--r--app-emulation/docker/docker-1.12.0.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/app-emulation/docker/docker-1.12.0.ebuild b/app-emulation/docker/docker-1.12.0.ebuild
index 1b1ed8752b84..9eef62fe485b 100644
--- a/app-emulation/docker/docker-1.12.0.ebuild
+++ b/app-emulation/docker/docker-1.12.0.ebuild
@@ -70,13 +70,12 @@ S="${WORKDIR}/${P}/src/${EGO_PN}"
# see "contrib/check-config.sh" from upstream's sources
CONFIG_CHECK="
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
- ~DEVPTS_MULTIPLE_INSTANCES
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
~KEYS ~MACVLAN ~VETH ~BRIDGE ~BRIDGE_NETFILTER
~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_MANGLE ~IP_NF_TARGET_MASQUERADE
~IP_VS ~IP_VS_RR
~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK
- ~NETFILTER_XT_MATCH_IVPS
+ ~NETFILTER_XT_MATCH_IPVS
~NETFILTER_XT_MARK ~NETFILTER_XT_TARGET_REDIRECT
~NF_NAT ~NF_NAT_NEEDED
@@ -148,6 +147,12 @@ pkg_setup() {
ERROR_MEMCG_KMEM="CONFIG_MEMCG_KMEM: is optional"
fi
+ if kernel_is lt 4 7; then
+ CONFIG_CHECK+="
+ ~DEVPTS_MULTIPLE_INSTANCES
+ "
+ fi
+
if use aufs; then
CONFIG_CHECK+="
~AUFS_FS