From 6a727694ed070d15241ecd0061006478315ef98d Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 18 Nov 2016 11:38:07 +0000 Subject: [PATCH] Fix check config script on 4.8 kernels DEVPTS_MULTIPLE_INSTANCES is no longer an option, it is always set, so do not check for this post 4.8. Signed-off-by: Justin Cormack Upstream-commit: 228ee16df3d738efaf001309370b26561c49edd6 Component: engine --- components/engine/contrib/check-config.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/engine/contrib/check-config.sh b/components/engine/contrib/check-config.sh index 6b1b8d39e2..3a924d9de4 100755 --- a/components/engine/contrib/check-config.sh +++ b/components/engine/contrib/check-config.sh @@ -188,7 +188,6 @@ fi flags=( NAMESPACES {NET,PID,IPC,UTS}_NS - DEVPTS_MULTIPLE_INSTANCES CGROUPS CGROUP_CPUACCT CGROUP_DEVICE CGROUP_FREEZER CGROUP_SCHED CPUSETS MEMCG KEYS VETH BRIDGE BRIDGE_NETFILTER @@ -200,6 +199,10 @@ flags=( POSIX_MQUEUE ) check_flags "${flags[@]}" +if [ "$kernelMajor" -lt 4 ] || [ "$kernelMajor" -eq 4 -a "$kernelMinor" -lt 8 ]; then + check_flags DEVPTS_MULTIPLE_INSTANCES +fi + echo echo 'Optional Features:'