pmb.parse.kconfig: fix container check for kernels >= 6.1 (MR 2220)

Kernel 6.1 dropped CONFIG_MEMCG_SWAP[1].

[1] - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e55b9f96860f6c6026cff97966a740576285e07b

Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
This commit is contained in:
Alexander Martinz 2022-10-24 11:14:47 +02:00
parent 3b5492d91e
commit d8f2f20186
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 5 additions and 1 deletions

View File

@ -495,7 +495,6 @@ necessary_kconfig_options_containers = {
">=3.6": {
"all": { # all arches
"MEMCG": True,
"MEMCG_SWAP": True,
"DM_THIN_PROVISIONING": True, # Storage Drivers
},
"x86 x86_64": { # only for x86, x86_64 (and sparc64, ia64)
@ -503,6 +502,11 @@ necessary_kconfig_options_containers = {
"CGROUP_HUGETLB": True, # Optional section
}
},
">=3.6 <6.1": { # option has been dropped
"all": {
"MEMCG_SWAP": True,
}
},
">=3.7 <5.0": {
"all": {
"NF_NAT_IPV4": True, # Needed for lxc