refactor(profiles): use @{bin} and @{lib} in profiles (4)

This commit is contained in:
Alexandre Pujol 2023-07-09 14:23:22 +01:00
parent 27daa7c9bb
commit 43b0f09b65
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
173 changed files with 909 additions and 916 deletions

View file

@ -21,27 +21,27 @@ profile frontend @{exec_path} flags=(complain) {
capability dac_read_search,
@{exec_path} r,
/{usr/,}bin/perl r,
@{bin}/perl r,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/hostname rix,
/{usr/,}bin/locale rix,
/{usr/,}bin/lsb_release rPx -> lsb_release,
/{usr/,}bin/stty rix,
@{bin}/{,ba,da}sh rix,
@{bin}/hostname rix,
@{bin}/locale rix,
@{bin}/lsb_release rPx -> lsb_release,
@{bin}/stty rix,
# debconf apps
/{usr/,}{s,}bin/aspell-autobuildhash rPx,
/{usr/,}{s,}bin/pam-auth-update rPx,
/{usr/,}bin/adequate rPx,
/{usr/,}bin/debconf-apt-progress rPx,
/{usr/,}bin/linux-check-removal rPx,
/{usr/,}bin/ucf rPx,
/{usr/,}bin/whiptail rPx,
/{usr/,}lib/tasksel/tasksel-debconf rPx -> tasksel,
@{bin}/adequate rPx,
@{bin}/aspell-autobuildhash rPx,
@{bin}/debconf-apt-progress rPx,
@{bin}/linux-check-removal rPx,
@{bin}/pam-auth-update rPx,
@{bin}/ucf rPx,
@{bin}/whiptail rPx,
@{lib}/tasksel/tasksel-debconf rPx -> tasksel,
/usr/share/debian-security-support/check-support-status.hook rPx,
# Grub
/{usr/,}lib/grub/grub-multi-install rPx,
@{lib}/grub/grub-multi-install rPx,
/usr/share/grub/grub-check-signatures rPx,
# Run the package maintainer's scripts
@ -63,9 +63,9 @@ profile frontend @{exec_path} flags=(complain) {
# DKMS scipts
# What to do with it? (#FIXME#)
/{usr/,}lib/dkms/common.postinst rPUx,
/{usr/,}lib/dkms/dkms-* rPUx,
/{usr/,}lib/dkms/dkms_* rPUx,
@{lib}/dkms/common.postinst rPUx,
@{lib}/dkms/dkms-* rPUx,
@{lib}/dkms/dkms_* rPUx,
/usr/share/debconf/{,**} r,
@ -97,14 +97,11 @@ profile frontend @{exec_path} flags=(complain) {
/ r,
/{usr/,}bin/ r,
/{usr/,}bin/* rPUx,
@{bin}/ r,
@{bin}/* rPUx,
/{usr/,}sbin/ r,
/{usr/,}sbin/* rPUx,
/{usr/,}lib/ r,
/{usr/,}lib/** rPUx,
@{lib}/ r,
@{lib}/** rPUx,
/usr/share/ r,
/usr/share/** rPUx,