summaryrefslogtreecommitdiff
path: root/utils/cgroupfs-mount
diff options
context:
space:
mode:
authorGerard Ryan <G.M0N3Y.2503@gmail.com>2020-06-20 18:02:29 +1000
committerGerard Ryan <G.M0N3Y.2503@gmail.com>2020-06-20 19:38:50 +1000
commit07b042c53ed0e81d894810002162f7c0d92a68c5 (patch)
tree9755c572dda1d20417e1b7975440bfaea44f1163 /utils/cgroupfs-mount
parent453c5a9b36523ceb6b715a841f0c852b5994992c (diff)
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>
Diffstat (limited to 'utils/cgroupfs-mount')
-rw-r--r--utils/cgroupfs-mount/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/utils/cgroupfs-mount/Makefile b/utils/cgroupfs-mount/Makefile
index 03d1088a6..e5c3eabe1 100644
--- a/utils/cgroupfs-mount/Makefile
+++ b/utils/cgroupfs-mount/Makefile
@@ -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