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/,}bin/fwupdmgr
@{exec_path} = @{bin}/fwupdmgr
profile fwupdmgr @{exec_path} flags=(attach_disconnected,complain) {
include <abstractions/base>
include <abstractions/dbus-strict>
@ -48,8 +48,8 @@ profile fwupdmgr @{exec_path} flags=(attach_disconnected,complain) {
@{exec_path} mr,
/{usr/,}bin/dbus-launch rCx -> dbus,
/{usr/,}bin/pkttyagent rPx,
@{bin}/dbus-launch rCx -> dbus,
@{bin}/pkttyagent rPx,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
@ -73,7 +73,7 @@ profile fwupdmgr @{exec_path} flags=(attach_disconnected,complain) {
include <abstractions/base>
include <abstractions/nameservice-strict>
/{usr/,}bin/dbus-launch mr,
@{bin}/dbus-launch mr,
owner @{HOME}/.Xauthority r,