docker-ce: Simplified config layout for menuconfig
cgroupfs-mount: Replaced dependency with cgroup config option Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
parent
453c5a9b36
commit
07b042c53e
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=cgroupfs-mount
|
||||
PKG_VERSION:=1.4
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/tianon/cgroupfs-mount/tar.gz/${PKG_VERSION}?
|
||||
|
@ -12,11 +12,19 @@ PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
|||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/cgroupfs-mount/config
|
||||
config CGROUPFS_MOUNT_KERNEL_CGROUPS
|
||||
bool "Enable kernel cgroups support"
|
||||
depends on PACKAGE_cgroupfs-mount
|
||||
default y if ( DOCKER_KERNEL_OPTIONS || LXC_KERNEL_OPTIONS )
|
||||
select KERNEL_CGROUPS
|
||||
endef
|
||||
|
||||
define Package/cgroupfs-mount
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=cgroup mount scripts
|
||||
DEPENDS:=@KERNEL_CGROUPS +mount-utils
|
||||
DEPENDS:=+mount-utils
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
menu "Kernel features for Docker"
|
||||
config DOCKER_KERNEL_OPTIONS
|
||||
bool "Enable Basic kernel support for Docker"
|
||||
depends on PACKAGE_docker-ce
|
||||
default n
|
||||
select KERNEL_CGROUPS
|
||||
select KERNEL_CGROUP_CPUACCT
|
||||
|
@ -18,6 +18,7 @@ menu "Kernel features for Docker"
|
|||
|
||||
config DOCKER_SECCOMP
|
||||
bool "Enable support for seccomp in Docker"
|
||||
depends on PACKAGE_docker-ce
|
||||
default n
|
||||
select KERNEL_SECCOMP
|
||||
select PACKAGE_libseccomp
|
||||
|
@ -27,6 +28,7 @@ menu "Kernel features for Docker"
|
|||
|
||||
config DOCKER_RES_SHAPE
|
||||
bool "Enables support for resource shaping"
|
||||
depends on PACKAGE_docker-ce
|
||||
default n
|
||||
select KERNEL_MEMCG_SWAP
|
||||
select KERNEL_MEMCG_SWAP_ENABLED
|
||||
|
@ -38,6 +40,8 @@ menu "Kernel features for Docker"
|
|||
select KERNEL_RT_GROUP_SCHED
|
||||
|
||||
menu "Network"
|
||||
depends on PACKAGE_docker-ce
|
||||
|
||||
config DOCKER_NET_OVERLAY
|
||||
bool "Enables the Overlay network feature"
|
||||
default n
|
||||
|
@ -71,6 +75,8 @@ menu "Kernel features for Docker"
|
|||
endmenu
|
||||
|
||||
menu "Storage"
|
||||
depends on PACKAGE_docker-ce
|
||||
|
||||
config DOCKER_STO_EXT4
|
||||
bool "Enables support for ext3 or ext4 as the backing filesystem"
|
||||
default n
|
||||
|
@ -82,4 +88,3 @@ menu "Kernel features for Docker"
|
|||
select PACKAGE_kmod-fs-btrfs
|
||||
select KERNEL_BTRFS_FS_POSIX_ACL
|
||||
endmenu
|
||||
endmenu
|
||||
|
|
Loading…
Reference in New Issue