pmbootstrap kconfig check: add apparmor check (MR 2133)

SECURITY_APPARMOR_BOOTPARAM_VALUE was required to enable it by default
until 5.1 where the option was removed.

Related: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0102fb83f90050b86ce37aec810ea17bb4448e0c
Related: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/security/Kconfig?id=fe91c4725aeed35023ba4f7a1e1adfebb6878c23#n285
This commit is contained in:
Oliver Smith 2020-08-18 10:49:10 +02:00
parent dcedc4bc1f
commit 93e7a1d876
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 30 additions and 0 deletions

View file

@ -403,6 +403,7 @@ def kconfig(args):
if not pmb.parse.kconfig.check(
args, package,
force_anbox_check=args.anbox,
force_apparmor_check=args.apparmor,
force_nftables_check=args.nftables,
force_containers_check=args.containers,
force_zram_check=args.zram,