feat(profile): update sbin list and ensure the profiles use the good variable (sbin or bin).

This commit is contained in:
Alexandre Pujol 2025-06-05 00:35:43 +02:00
parent c8f2a435f8
commit 6ed873aad3
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
54 changed files with 75 additions and 70 deletions

View file

@ -7,7 +7,7 @@ abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{sbin}/setpci
@{exec_path} = @{bin}/setpci
profile setpci @{exec_path} flags=(complain) {
include <abstractions/base>
include <abstractions/consoles>

View file

@ -23,7 +23,7 @@ profile syncthing @{exec_path} {
@{exec_path} mrix,
@{open_path} rPx -> child-open,
@{sbin}/ip rix,
@{bin}/ip rix,
/usr/share/mime/{,**} r,

View file

@ -7,7 +7,7 @@ abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/update-alternatives
@{exec_path} = @{sbin}/update-alternatives
profile update-alternatives @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>

View file

@ -33,7 +33,7 @@ profile wechat @{exec_path} flags=(attach_disconnected) {
@{bin}/mkdir ix,
@{bin}/gawk rix,
@{bin}/lsblk rPx,
@{sbin}/ip rix,
@{bin}/ip rix,
@{bin}/xdg-user-dir rix,
@{open_path} rpx -> child-open-strict,

View file

@ -38,7 +38,7 @@ profile wechat-appimage @{exec_path} flags=(attach_disconnected) {
@{bin}/mkdir ix,
@{bin}/gawk rix,
@{bin}/lsblk rPx,
@{sbin}/ip rix,
@{bin}/ip rix,
@{bin}/xdg-user-dir rix,
@{tmp}/.mount_wechat@{word6}/opt/wechat/{,**} ix,
@{tmp}/.mount_wechat@{word6}/usr/bin/wechat ix,

View file

@ -24,7 +24,7 @@ profile wpa-action @{exec_path} {
@{bin}/cat rix,
@{bin}/date rix,
@{bin}/ifup rix,
@{sbin}/ip rix,
@{bin}/ip rix,
@{bin}/ln rix,
@{bin}/logger rix,
@{bin}/rm rix,