mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
swmodd: Select dependent kernel flags
This commit is contained in:
parent
be03425493
commit
ee9528cfa6
2 changed files with 36 additions and 5 deletions
|
|
@ -3,9 +3,7 @@ menu "Configuration"
|
|||
|
||||
config SWMODD_LXC_SUPPORT
|
||||
bool "Handles LXC based containers"
|
||||
default n
|
||||
depends on PACKAGE_swmodd
|
||||
select PACKAGE_liblxc
|
||||
default y
|
||||
|
||||
config SWMODD_OCI_SUPPORT
|
||||
bool "Handles OCI containers"
|
||||
|
|
@ -19,4 +17,37 @@ menu "Configuration"
|
|||
depends on PACKAGE_swmodd
|
||||
select PACKAGE_skopeo
|
||||
select PACKAGE_umoci
|
||||
|
||||
config SWMODD_KERNEL_OPTIONS
|
||||
bool "Enable kernel support for LXC and OCI containers"
|
||||
default y
|
||||
select KERNEL_CGROUPS
|
||||
select KERNEL_CGROUP_SCHED
|
||||
select KERNEL_CGROUP_DEVICE
|
||||
select KERNEL_CGROUP_FREEZER
|
||||
select KERNEL_CGROUP_CPUACCT
|
||||
select KERNEL_CGROUP_NET_PRIO
|
||||
select KERNEL_NET_CLS_CGROUP
|
||||
select KERNEL_NAMESPACES
|
||||
select KERNEL_DEVPTS_MULTIPLE_INSTANCES
|
||||
select KERNEL_POSIX_MQUEUE
|
||||
select KERNEL_FAIR_GROUP_SCHED
|
||||
select KERNEL_RT_GROUP_SCHED
|
||||
select KERNEL_MEMCG
|
||||
select KERNEL_MEMCG_KMEM
|
||||
select KERNEL_CPUSETS
|
||||
select PACKAGE_kmod-ikconfig
|
||||
help
|
||||
Select needed kernel options for LXC and CRUN related utilities. Options
|
||||
include cgroups, namespaces and other miscellaneous options. These
|
||||
options unfortunately can not be installed as a module.
|
||||
|
||||
config SWMODD_NETWORKING
|
||||
bool "Enable networking support for LXC/OCI containers"
|
||||
default y
|
||||
select PACKAGE_kmod-veth
|
||||
select PACKAGE_kmod-macvlan
|
||||
help
|
||||
Enable "veth pair device" and "macvlan"
|
||||
|
||||
endmenu
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=swmodd
|
||||
PKG_VERSION:=2.2.1
|
||||
PKG_VERSION:=2.2.2
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=97064600c831bb7b246b21360bc4eb3966ac6ce1
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/lcm/swmodd.git
|
||||
PKG_SOURCE_VERSION:=db0805d7833a27afc9a42edd094209978f43e311
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MIRROR_HASH:=skip
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue