summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2019-01-09 15:19:58 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2019-01-10 13:08:38 -0500
commit9078c4bac5d78b321bc7d21a9be459c1ed1cac97 (patch)
tree94319e0db7cbaacd462deb856ed16454eb46e4ab /recipes-kernel/linux/linux-yocto
parenta3c284dbe8f69d6d29c4087f0d2833fe125a4fb7 (diff)
downloadmeta-virtualization-9078c4bac5d78b321bc7d21a9be459c1ed1cac97.tar.gz
linux-yocto: cleanup lxc.cfg kernel config fragment
fixes: WARNING: linux-yocto-4.18.21+gitAUTOINC+9e348b6f9d_db2d813869-r0 do_kernel_configcheck: [kernel config]: This BSP sets config options that are not offered anywhere within this kernel: CONFIG_EXT3_FS_XATTR CONFIG_RESOURCE_COUNTERS CONFIG_CGROUP_MEM_RES_CTLR CONFIG_CLS_CGROUP CONFIG_NETPRIO_CGROUP CONFIG_DEVPTS_MULTIPLE_INSTANCES Configs were either dropped or renamed according to the updates made in the kernel, as capture below. CONFIG_RESOURCE_COUNTERS gone since kernel v3.19 via mainline commit 5b1efc027c0b51ca3e76f4e00c83358f8349f543. CONFIG_CGROUP_MEM_RES_CTLR renamed since kernel v3.6 via mainline commit c255a458055e459f65eb7b7f51dc5dbdd0caf1d8 CONFIG_CLS_CGROUP never existed AFAICT it should have always been CONFIG_NET_CLS_CGROUP CONFIG_NETPRIO_CGROUP renamed since kernel v3.14 via mainline commit 86f8515f9721fa171483f0fe0391968fbb949cc9 CONFIG_DEVPTS_MULTIPLE_INSTANCES removed since kernel v4.7 via mainline commit eedf265aa003b4781de24cfed40a655a664457e6 Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-kernel/linux/linux-yocto')
-rw-r--r--recipes-kernel/linux/linux-yocto/lxc.cfg9
1 files changed, 3 insertions, 6 deletions
diff --git a/recipes-kernel/linux/linux-yocto/lxc.cfg b/recipes-kernel/linux/linux-yocto/lxc.cfg
index e5f1edca..9ff49f19 100644
--- a/recipes-kernel/linux/linux-yocto/lxc.cfg
+++ b/recipes-kernel/linux/linux-yocto/lxc.cfg
@@ -1,8 +1,7 @@
1CONFIG_CGROUP_DEVICE=y 1CONFIG_CGROUP_DEVICE=y
2CONFIG_CPUSETS=y 2CONFIG_CPUSETS=y
3CONFIG_PROC_PID_CPUSET=y 3CONFIG_PROC_PID_CPUSET=y
4CONFIG_RESOURCE_COUNTERS=y 4CONFIG_MEMCG=y
5CONFIG_CGROUP_MEM_RES_CTLR=y
6CONFIG_CGROUP_SCHED=y 5CONFIG_CGROUP_SCHED=y
7CONFIG_FAIR_GROUP_SCHED=y 6CONFIG_FAIR_GROUP_SCHED=y
8CONFIG_RT_GROUP_SCHED=y 7CONFIG_RT_GROUP_SCHED=y
@@ -14,11 +13,9 @@ CONFIG_USER_NS=y
14CONFIG_PID_NS=y 13CONFIG_PID_NS=y
15CONFIG_NET_NS=y 14CONFIG_NET_NS=y
16 15
17CONFIG_CLS_CGROUP=m 16CONFIG_NET_CLS_CGROUP=m
18CONFIG_BLK_CGROUP=y 17CONFIG_BLK_CGROUP=y
19CONFIG_NETPRIO_CGROUP=m 18CONFIG_CGROUP_NET_PRIO=m
20
21CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
22 19
23# Virtual drivers 20# Virtual drivers
24CONFIG_HVC_DRIVER=y 21CONFIG_HVC_DRIVER=y