feat(profiles): grub update.

This commit is contained in:
Alexandre Pujol 2022-11-03 21:42:16 +00:00
parent a90cdbe879
commit 157e2a5df6
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
33 changed files with 166 additions and 30 deletions

View file

@ -1,4 +1,5 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2022 Jeroen Rijken
# SPDX-License-Identifier: GPL-2.0-only
@ -7,11 +8,15 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{,s}bin/update-secureboot-policy
profile update-secureboot-policy @{exec_path} flags=(complain) {
profile update-secureboot-policy @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} rm,
/usr/share/debconf/frontend rPx,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/dpkg-trigger rPx,
/usr/share/debconf/frontend rPx,
include if exists <local/update-secureboot-policy>
}