fix: ensure dkms module can be installed on system update.

fix #377
This commit is contained in:
Alexandre Pujol 2024-07-09 12:10:21 +01:00
parent d480156e09
commit 435cf47359
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ profile pacman-hook-dkms @{exec_path} flags=(attach_disconnected) {
capability dac_read_search, capability dac_read_search,
capability mknod, capability mknod,
network unix stream,
@{exec_path} mr, @{exec_path} mr,
@{sh_path} rix, @{sh_path} rix,
@ -31,7 +33,6 @@ profile pacman-hook-dkms @{exec_path} flags=(attach_disconnected) {
# Inherit Silencer # Inherit Silencer
deny network inet stream, deny network inet stream,
deny network inet6 stream, deny network inet6 stream,
deny unix (receive) type=stream,
include if exists <local/pacman-hook-dkms> include if exists <local/pacman-hook-dkms>
} }

View File

@ -254,6 +254,7 @@ ollama attach_disconnected,complain
os-prober attach_disconnected,complain os-prober attach_disconnected,complain
package-data-downloader complain package-data-downloader complain
packagekitd attach_disconnected,complain packagekitd attach_disconnected,complain
pacman-hook-dkms complain
pam_kwallet_init complain pam_kwallet_init complain
pam-tmpdir-helper complain pam-tmpdir-helper complain
passim complain passim complain