feat(profile): add only directive.

This commit is contained in:
Alexandre Pujol 2024-03-21 23:18:03 +00:00
parent 6052b95347
commit 5149b55bd0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 16 additions and 11 deletions

View file

@ -39,7 +39,7 @@ profile gpg @{exec_path} {
owner @{user_projects_dirs}/**/gnupg/ rw,
owner @{user_projects_dirs}/**/gnupg/** rwkl -> @{user_projects_dirs}/**/gnupg/**,
# only: apt
#aa:only apt
owner /etc/apt/keyrings/ rw,
owner /etc/apt/keyrings/** rwkl -> /etc/apt/keyrings/**,
@ -50,6 +50,7 @@ profile gpg @{exec_path} {
owner /var/lib/*/.gnupg/** rwkl -> /var/lib/*/.gnupg/**,
# TODO: Remove after zypper profile is created
#aa:only zypper
owner /var/tmp/zypp.@{rand6}/ rw,
owner /var/tmp/zypp.@{rand6}/** rwkl -> /var/tmp/zypp.@{rand6}/**,