cgroups-mount,docker-ce,lxc: rework kernel feature dependency

Fix that KERNEL_CGROUPS is enabled (selected) automatically along with
cgroups-mount

Replace "if PACKAGE_docker-ce" with a menu to avoid circular denpendency
issue involving PACKAGE_docker-ce, PACKAGE_cgroups-mount and
KERNEL_CGRUOPS

docker-ce, lxc: replace KERNEL_LXC_MISC with more specific options

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou
2019-08-27 03:42:34 +00:00
parent 8d1aa54aba
commit b6a3145df5
3 changed files with 6 additions and 15 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
if PACKAGE_docker-ce
menu "Kernel features for Docker"
config DOCKER_KERNEL_OPTIONS
bool "Enable Basic kernel support for Docker"
default n
@@ -9,7 +9,7 @@ if PACKAGE_docker-ce
select KERNEL_CPUSETS
select KERNEL_MEMCG
select KERNEL_KEYS
select KERNEL_LXC_MISC
select KERNEL_DEVPTS_MULTIPLE_INSTANCES
select KERNEL_POSIX_MQUEUE
help
Select needed kernel options for Docker. Options include
@@ -81,4 +81,4 @@ if PACKAGE_docker-ce
select PACKAGE_kmod-fs-btrfs
select KERNEL_BTRFS_FS_POSIX_ACL
endmenu
endif
endmenu