feat(profile): improve pacman profiles.

This commit is contained in:
Alexandre Pujol 2025-06-21 19:47:49 +02:00
parent cd619d280a
commit 5eb08f8de5
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ abi <abi/4.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = /usr/share/code-{features,marketplace}/patch.py @{exec_path} = /usr/share/code-{features,marketplace}{,-insiders}/patch.py
profile pacman-hook-code @{exec_path} { profile pacman-hook-code @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/python> include <abstractions/python>
@ -20,8 +20,8 @@ profile pacman-hook-code @{exec_path} {
@{lib}/code/product.json rw, @{lib}/code/product.json rw,
/usr/share/code-{features,marketplace}/{,*} r, /usr/share/code-{features,marketplace}{,-insiders}/{,*} r,
/usr/share/code-{features,marketplace}/cache.json rw, /usr/share/code-{features,marketplace}{,-insiders}/cache.json rw,
include if exists <local/pacman-hook-code> include if exists <local/pacman-hook-code>
} }

View file

@ -21,10 +21,10 @@ profile pacman-key @{exec_path} {
@{bin}/bash rix, @{bin}/bash rix,
@{bin}/chmod rix, @{bin}/chmod rix,
@{bin}/gettext rix, @{bin}/gettext rix,
@{bin}/gpg{,2} rCx -> gpg, @{bin}/gpg{,2} rCx -> &gpg,
@{bin}/{,e}grep rix, @{bin}/{,e}grep rix,
@{bin}/ngettext rix, @{bin}/ngettext rix,
@{bin}/pacman-conf rPx, @{bin}/pacman-conf rPx -> &pacman-conf,
@{bin}/touch rix, @{bin}/touch rix,
@{bin}/tput rix, @{bin}/tput rix,
@{bin}/vercmp rix, @{bin}/vercmp rix,