mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
swmodd: config option to select swmodd-cgroups
This commit is contained in:
parent
8456cf37e3
commit
d2c3cda897
2 changed files with 13 additions and 3 deletions
|
|
@ -81,3 +81,11 @@ config SWMODD_NETWORKING
|
||||||
select PACKAGE_kmod-macvlan
|
select PACKAGE_kmod-macvlan
|
||||||
help
|
help
|
||||||
Enable "veth pair device" and "macvlan"
|
Enable "veth pair device" and "macvlan"
|
||||||
|
|
||||||
|
config SWMODD_LEGACY_CGROUPS
|
||||||
|
bool "Enables CGroups V1 Support"
|
||||||
|
depends on PACKAGE_swmodd
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
If this option is selected, it selects swmod-cgroup package, which mounts
|
||||||
|
GGroupV1 hierarchy on system start
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=swmodd
|
PKG_NAME:=swmodd
|
||||||
PKG_VERSION:=2.5.7
|
PKG_VERSION:=2.5.8
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
|
|
@ -33,7 +33,10 @@ define Package/swmodd
|
||||||
DEPENDS:=+libuci +libubox +ubus +libuuid +opkg +libcurl \
|
DEPENDS:=+libuci +libubox +ubus +libuuid +opkg +libcurl \
|
||||||
+PACKAGE_lxc:lxc +PACKAGE_liblxc:liblxc +@BUSYBOX_CONFIG_BUSYBOX \
|
+PACKAGE_lxc:lxc +PACKAGE_liblxc:liblxc +@BUSYBOX_CONFIG_BUSYBOX \
|
||||||
+@BUSYBOX_CONFIG_FEATURE_SHOW_SCRIPT +@BUSYBOX_CONFIG_SCRIPT \
|
+@BUSYBOX_CONFIG_FEATURE_SHOW_SCRIPT +@BUSYBOX_CONFIG_SCRIPT \
|
||||||
+swmodd-cgroup +jq +libbbfdm-api
|
+jq +libbbfdm-api +@CONFIG_KERNEL_CGROUPS
|
||||||
|
ifeq ($(CONFIG_SWMODD_LEGACY_CGROUPS),y)
|
||||||
|
DEPENDS+=+swmodd-cgroup
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/swmodd/description
|
define Package/swmodd/description
|
||||||
|
|
@ -49,7 +52,6 @@ define Package/swmodd-cgroup
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
SUBMENU:=TRx69
|
SUBMENU:=TRx69
|
||||||
TITLE:= Cgroup mount handler for Software modules daemon
|
TITLE:= Cgroup mount handler for Software modules daemon
|
||||||
DEPENDS:=+@CONFIG_KERNEL_CGROUPS
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += \
|
TARGET_CFLAGS += \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue