summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-kernel/linux
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-11-12 01:08:33 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-21 09:29:55 +0000
commit68cd2d51ab476701de4529d4cc831eda87c525d7 (patch)
tree62d251b23c2fa6146cfeab55c27d3447068f4a83 /meta-agl-ic-container/recipes-kernel/linux
parentf1015d6b9c5ef3a88900c08d71334c51a414191b (diff)
Maintain container setting to update container-manager
After the scarthgap update, systemd cgroup-v1 and v2 mixed support was disabled. It require to improve container-manager. Container-manager has some improvement already. This change maintain container setting to use these improvement. Bug-AGL: SPEC-5284 Change-Id: Ic2f94cc33577c07755940bcdb4376dacbd9b0ade Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-kernel/linux')
-rw-r--r--meta-agl-ic-container/recipes-kernel/linux/linux/lxc.cfg18
1 files changed, 8 insertions, 10 deletions
diff --git a/meta-agl-ic-container/recipes-kernel/linux/linux/lxc.cfg b/meta-agl-ic-container/recipes-kernel/linux/linux/lxc.cfg
index fb87ea19..6fbf43f5 100644
--- a/meta-agl-ic-container/recipes-kernel/linux/linux/lxc.cfg
+++ b/meta-agl-ic-container/recipes-kernel/linux/linux/lxc.cfg
@@ -1,10 +1,14 @@
+CONFIG_BPF=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_MEMCG=y
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
-CONFIG_RT_GROUP_SCHED=y
+# CONFIG_RT_GROUP_SCHED is not set
+CONFIG_BLK_CGROUP=y
+CONFIG_NET_CLS_CGROUP=y
+CONFIG_CGROUP_NET_PRIO=y
CONFIG_CHECKPOINT_RESTORE=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
@@ -13,14 +17,8 @@ CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
-CONFIG_NET_CLS_CGROUP=m
-CONFIG_BLK_CGROUP=y
-CONFIG_CGROUP_NET_PRIO=y
-
-# Virtual drivers
-CONFIG_HVC_DRIVER=y
-
-# Support for virtual ethernet and LXC
CONFIG_VETH=y
-CONFIG_MACVLAN=y
+CONFIG_MACVLAN=m
CONFIG_VXLAN=m
+
+CONFIG_VXCAN=y