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

This commit is contained in:
Alexandre Pujol 2023-07-09 14:34:42 +01:00
parent 43b0f09b65
commit fcedbbfd95
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
122 changed files with 873 additions and 876 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/hwinfo
@{exec_path} = @{bin}/hwinfo
profile hwinfo @{exec_path} {
include <abstractions/base>
include <abstractions/disks-read>
@ -31,12 +31,12 @@ profile hwinfo @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
@{bin}/{,ba,da}sh rix,
/{usr/,}bin/kmod rCx -> kmod,
/{usr/,}bin/udevadm rCx -> udevadm,
@{bin}/kmod rCx -> kmod,
@{bin}/udevadm rCx -> udevadm,
/{usr/,}{s,}bin/dmraid rPUx,
@{bin}/dmraid rPUx,
@{PROC}/version r,
@{PROC}/cmdline r,
@ -77,7 +77,7 @@ profile hwinfo @{exec_path} {
profile kmod {
include <abstractions/base>
/{usr/,}bin/kmod mr,
@{bin}/kmod mr,
/etc/modprobe.d/{,*.conf} r,
@ -94,7 +94,7 @@ profile hwinfo @{exec_path} {
profile udevadm {
include <abstractions/base>
/{usr/,}bin/udevadm mr,
@{bin}/udevadm mr,
/etc/udev/udev.conf r,