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

This commit is contained in:
Alexandre Pujol 2023-07-09 14:59:53 +01:00
parent 7c2c806ffa
commit 2b2c42d23c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
155 changed files with 938 additions and 938 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/uscan
@{exec_path} = @{bin}/uscan
profile uscan @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@ -22,21 +22,21 @@ profile uscan @{exec_path} {
network netlink raw,
@{exec_path} r,
/{usr/,}bin/perl r,
@{bin}/perl r,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/pwd rix,
/{usr/,}bin/find rix,
/{usr/,}bin/file rix,
/{usr/,}bin/getconf rix,
@{bin}/{,ba,da}sh rix,
@{bin}/pwd rix,
@{bin}/find rix,
@{bin}/file rix,
@{bin}/getconf rix,
/{usr/,}bin/tar rix,
/{usr/,}bin/gzip rix,
/{usr/,}bin/bzip2 rix,
/{usr/,}bin/gunzip rix,
/{usr/,}bin/xz rix,
@{bin}/tar rix,
@{bin}/gzip rix,
@{bin}/bzip2 rix,
@{bin}/gunzip rix,
@{bin}/xz rix,
/{usr/,}bin/uupdate rPUx,
@{bin}/uupdate rPUx,
# To run custom maintainer scripts
owner @{user_build_dirs}/**/debian/* rPUx,
@ -44,8 +44,8 @@ profile uscan @{exec_path} {
/usr/share/*/debian/ r,
/usr/share/*/debian/changelog r,
/{usr/,}bin/gpg{,2} rCx -> gpg,
/{usr/,}bin/gpgv rCx -> gpg,
@{bin}/gpg{,2} rCx -> gpg,
@{bin}/gpgv rCx -> gpg,
/etc/dpkg/origins/debian r,
@ -62,8 +62,8 @@ profile uscan @{exec_path} {
profile gpg {
include <abstractions/base>
/{usr/,}bin/gpg{,2} mr,
/{usr/,}bin/gpgv mr,
@{bin}/gpg{,2} mr,
@{bin}/gpgv mr,
owner @{HOME}/@{XDG_GPG_DIR}/gpg.conf r,
owner @{HOME}/@{XDG_GPG_DIR}/pubring.{gpg,kbx} r,