feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-08-27 14:54:04 +01:00
parent 19331acaa9
commit 75ef5ef6ad
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
48 changed files with 205 additions and 141 deletions

View file

@ -105,8 +105,9 @@ profile mkinitramfs @{exec_path} {
@{lib}/initramfs-tools/bin/* mr,
@{lib}/@{multiarch}/ld-*.so* rix,
@{lib}{,x}32/ld-*.so{,.2} rix,
@{lib}/ld-*.so{,.2} rix,
include if exists <local/mkinitramfs_ldd>
}
profile ldconfig {
@ -133,6 +134,7 @@ profile mkinitramfs @{exec_path} {
owner /var/tmp/mkinitramfs_*/var/cache/ldconfig/ rw,
owner /var/tmp/mkinitramfs_*/var/cache/ldconfig/aux-cache{,~} rw,
include if exists <local/mkinitramfs_ldconfig>
}
profile find {
@ -151,6 +153,7 @@ profile mkinitramfs @{exec_path} {
owner /var/tmp/mkinitramfs_*/{,**/} r,
include if exists <local/mkinitramfs_find>
}
profile kmod {
@ -169,9 +172,11 @@ profile mkinitramfs @{exec_path} {
owner /var/tmp/mkinitramfs_*/usr/lib/modules/*/ r,
owner /var/tmp/mkinitramfs_*/usr/lib/modules/*/modules.* rw,
owner /var/tmp/mkinitramfs_*/usr/lib/modules/*/updates/{,**} r,
owner /var/tmp/mkinitramfs_*/usr/lib/modules/*/kernel/{,**/} r,
owner /var/tmp/mkinitramfs_*/usr/lib/modules/*/kernel/**/*.ko r,
include if exists <local/mkinitramfs_kmod>
}
include if exists <local/mkinitramfs>