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:
parent
3b5492d91e
commit
d8f2f20186
|
@ -495,7 +495,6 @@ necessary_kconfig_options_containers = {
|
||||||
">=3.6": {
|
">=3.6": {
|
||||||
"all": { # all arches
|
"all": { # all arches
|
||||||
"MEMCG": True,
|
"MEMCG": True,
|
||||||
"MEMCG_SWAP": True,
|
|
||||||
"DM_THIN_PROVISIONING": True, # Storage Drivers
|
"DM_THIN_PROVISIONING": True, # Storage Drivers
|
||||||
},
|
},
|
||||||
"x86 x86_64": { # only for x86, x86_64 (and sparc64, ia64)
|
"x86 x86_64": { # only for x86, x86_64 (and sparc64, ia64)
|
||||||
|
@ -503,6 +502,11 @@ necessary_kconfig_options_containers = {
|
||||||
"CGROUP_HUGETLB": True, # Optional section
|
"CGROUP_HUGETLB": True, # Optional section
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
">=3.6 <6.1": { # option has been dropped
|
||||||
|
"all": {
|
||||||
|
"MEMCG_SWAP": True,
|
||||||
|
}
|
||||||
|
},
|
||||||
">=3.7 <5.0": {
|
">=3.7 <5.0": {
|
||||||
"all": {
|
"all": {
|
||||||
"NF_NAT_IPV4": True, # Needed for lxc
|
"NF_NAT_IPV4": True, # Needed for lxc
|
||||||
|
|
Loading…
Reference in New Issue