mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
Added kernel configuration for LxC and in kernel OpenvSwitch
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
e2a26a7824
commit
20b24d5695
22
recipes-kernel/linux/linux-yocto/lxc.cfg
Normal file
22
recipes-kernel/linux/linux-yocto/lxc.cfg
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
CONFIG_CGROUP_DEVICE=y
|
||||||
|
CONFIG_CPUSETS=y
|
||||||
|
CONFIG_PROC_PID_CPUSET=y
|
||||||
|
CONFIG_RESOURCE_COUNTERS=y
|
||||||
|
CONFIG_CGROUP_MEM_RES_CTLR=y
|
||||||
|
CONFIG_CGROUP_SCHED=y
|
||||||
|
CONFIG_FAIR_GROUP_SCHED=y
|
||||||
|
CONFIG_RT_GROUP_SCHED=y
|
||||||
|
CONFIG_CHECKPOINT_RESTORE=y
|
||||||
|
CONFIG_NAMESPACES=y
|
||||||
|
CONFIG_UTS_NS=y
|
||||||
|
CONFIG_IPC_NS=y
|
||||||
|
CONFIG_USER_NS=y
|
||||||
|
CONFIG_PID_NS=y
|
||||||
|
CONFIG_NET_NS=y
|
||||||
|
CONFIG_SECCOMP=y
|
||||||
|
CONFIG_SECURITY_APPARMOR=y
|
||||||
|
|
||||||
|
CONFIG_CLS_CGROUP=m
|
||||||
|
CONFIG_BLK_CGROUP=m
|
||||||
|
CONFIG_NETPRIO_CGROUP=m
|
||||||
|
|
4
recipes-kernel/linux/linux-yocto/lxc.scc
Normal file
4
recipes-kernel/linux/linux-yocto/lxc.scc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
define KFEATURE_DESCRIPTION "Enable Features needed by LxC, namespaces, cgroups et.c."
|
||||||
|
define KFEATURE_COMPATIBILITY board
|
||||||
|
|
||||||
|
kconf non-hardware lxc.cfg
|
2
recipes-kernel/linux/linux-yocto/vswitch.cfg
Normal file
2
recipes-kernel/linux/linux-yocto/vswitch.cfg
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
CONFIG_OPENVSWITCH=m
|
||||||
|
|
4
recipes-kernel/linux/linux-yocto/vswitch.scc
Normal file
4
recipes-kernel/linux/linux-yocto/vswitch.scc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
define KFEATURE_DESCRIPTION "Enable in kernel OpenvSwitch module"
|
||||||
|
define KFEATURE_COMPATIBILITY board
|
||||||
|
|
||||||
|
kconf non-hardware vswitch.cfg
|
|
@ -1,5 +1,8 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
SRC_URI += "file://xt-checksum.scc \
|
SRC_URI += "file://xt-checksum.scc \
|
||||||
file://ebtables.scc "
|
file://ebtables.scc \
|
||||||
|
file://vswitch.scc \
|
||||||
|
file://lxc.scc \
|
||||||
|
"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user