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

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/{e2fsck,fsck.ext2,fsck.ext3,fsck.ext4}
@{exec_path} = @{bin}/{e2fsck,fsck.ext2,fsck.ext3,fsck.ext4}
profile e2fsck @{exec_path} {
include <abstractions/base>
include <abstractions/disks-write>
@ -19,8 +19,8 @@ profile e2fsck @{exec_path} {
@{exec_path} mr,
# To check for badblocks
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}{s,}bin/badblocks rPx,
@{bin}/{,ba,da}sh rix,
@{bin}/badblocks rPx,
/usr/share/file/misc/magic.mgc r,