mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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 <justin.cormack@docker.com>
This commit is contained in:
parent
c0acfd1dad
commit
228ee16df3
1 changed files with 4 additions and 1 deletions
|
@ -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:'
|
||||
|
|
Loading…
Reference in a new issue