refactor(profiles): use @{bin} and @{lib} in profiles (6)
This commit is contained in:
parent
fcedbbfd95
commit
7c2c806ffa
156 changed files with 828 additions and 791 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{libexec}/packagekitd
|
||||
@{exec_path} = @{lib}/packagekitd
|
||||
profile packagekitd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus-strict>
|
||||
|
|
@ -82,32 +82,32 @@ profile packagekitd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/gpg{,2} rCx -> gpg,
|
||||
/{usr/,}bin/gpgconf rCx -> gpg,
|
||||
/{usr/,}bin/gpgsm rCx -> gpg,
|
||||
@{bin}/gpg{,2} rCx -> gpg,
|
||||
@{bin}/gpgconf rCx -> gpg,
|
||||
@{bin}/gpgsm rCx -> gpg,
|
||||
|
||||
/{usr/,}{s,}bin/ldconfig rix,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/cp rix,
|
||||
/{usr/,}bin/echo rix,
|
||||
/{usr/,}bin/gdbus rix,
|
||||
/{usr/,}bin/gzip rix,
|
||||
/{usr/,}bin/ischroot rix,
|
||||
/{usr/,}bin/repo2solv rix,
|
||||
/{usr/,}bin/tar rix,
|
||||
/{usr/,}bin/test rix,
|
||||
/{usr/,}bin/touch rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/cp rix,
|
||||
@{bin}/echo rix,
|
||||
@{bin}/gdbus rix,
|
||||
@{bin}/gzip rix,
|
||||
@{bin}/ischroot rix,
|
||||
@{bin}/ldconfig rix,
|
||||
@{bin}/repo2solv rix,
|
||||
@{bin}/tar rix,
|
||||
@{bin}/test rix,
|
||||
@{bin}/touch rix,
|
||||
|
||||
/{usr/,}bin/appstreamcli rPx,
|
||||
/{usr/,}bin/arch-audit rPx,
|
||||
/{usr/,}bin/dpkg rPx -> child-dpkg,
|
||||
/{usr/,}bin/glib-compile-schemas rPx,
|
||||
/{usr/,}bin/systemd-inhibit rPx,
|
||||
/{usr/,}bin/update-desktop-database rPx,
|
||||
/{usr/,}lib/apt/methods/* rPx,
|
||||
/{usr/,}lib/cnf-update-db rPx,
|
||||
/{usr/,}lib/update-notifier/update-motd-updates-available rPx,
|
||||
/{usr/,}lib/zypp/plugins/appdata/InstallAppdata rPUx, # TODO: write the profile
|
||||
@{bin}/appstreamcli rPx,
|
||||
@{bin}/arch-audit rPx,
|
||||
@{bin}/dpkg rPx -> child-dpkg,
|
||||
@{bin}/glib-compile-schemas rPx,
|
||||
@{bin}/systemd-inhibit rPx,
|
||||
@{bin}/update-desktop-database rPx,
|
||||
@{lib}/apt/methods/* rPx,
|
||||
@{lib}/cnf-update-db rPx,
|
||||
@{lib}/update-notifier/update-motd-updates-available rPx,
|
||||
@{lib}/zypp/plugins/appdata/InstallAppdata rPUx, # TODO: write the profile
|
||||
/usr/share/libalpm/scripts/* rPx,
|
||||
|
||||
# Install/update packages
|
||||
|
|
@ -146,12 +146,12 @@ profile packagekitd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
capability dac_read_search,
|
||||
|
||||
/{usr/,}bin/gpg{,2} mr,
|
||||
/{usr/,}bin/gpgconf mr,
|
||||
/{usr/,}bin/gpgsm mr,
|
||||
@{bin}/gpg{,2} mr,
|
||||
@{bin}/gpgconf mr,
|
||||
@{bin}/gpgsm mr,
|
||||
|
||||
/{usr/,}bin/gpg-agent rix,
|
||||
/{usr/,}bin/scdaemon rix,
|
||||
@{bin}/gpg-agent rix,
|
||||
@{bin}/scdaemon rix,
|
||||
|
||||
/etc/gcrypt/hwf.deny r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue