pmbootstrap kconfig check: enable apparmor

SECURITY_APPARMOR_BOOTPARAM_VALUE was required to enable it by default
until 5.1 where the option was removed:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0102fb83f90050b86ce37aec810ea17bb4448e0c
This commit is contained in:
Oliver Smith 2020-08-18 10:49:10 +02:00
parent e233b73949
commit 0856888daf
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 8 additions and 0 deletions

View File

@ -189,14 +189,17 @@ necessary_kconfig_options = {
">=0.0.0": { # all versions
"all": { # all arches
"ANDROID_PARANOID_NETWORK": False,
"AUDIT": True,
"BLK_DEV_INITRD": True,
"CGROUPS": True,
"CRYPTO_XTS": True,
"DEFAULT_SECURITY_APPARMOR": True,
"DEVTMPFS": True,
"DM_CRYPT": True,
"EXT4_FS": True,
"KINETO_GAN": False,
"PFT": False,
"SECURITY_APPARMOR": True,
"SYSVIPC": True,
"USE_VFB": False,
"VT": True,
@ -212,6 +215,11 @@ necessary_kconfig_options = {
"armhf armv7 x86": {
"LBDAF": True
}
},
"<5.1": {
"all": {
"SECURITY_APPARMOR_BOOTPARAM_VALUE": True,
}
}
}