New @{uuid} variable.
This commit is contained in:
parent
773741c85e
commit
0ee2e4f7ad
24 changed files with 47 additions and 44 deletions
|
|
@ -29,8 +29,8 @@ profile btrfs @{exec_path} {
|
|||
|
||||
# For scrub
|
||||
/var/lib/btrfs/ rw,
|
||||
/var/lib/btrfs/scrub.progress.[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw,
|
||||
/var/lib/btrfs/scrub.status.[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*{,_tmp} rwk,
|
||||
/var/lib/btrfs/scrub.progress.@{uuid} rw,
|
||||
/var/lib/btrfs/scrub.status.@{uuid}{,_tmp} rwk,
|
||||
|
||||
# Saved metadata
|
||||
@{MOUNTS}/*/ r,
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ profile f3fix @{exec_path} {
|
|||
@{PROC}/sys/kernel/osrelease r,
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
|
||||
@{sys}/firmware/efi/efivars/SecureBoot-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* r,
|
||||
@{sys}/firmware/efi/efivars/SecureBoot-@{uuid} r,
|
||||
|
||||
# file_inherit
|
||||
/dev/sd[a-z]* rw,
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ profile fatresize @{exec_path} {
|
|||
@{PROC}/sys/kernel/osrelease r,
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
|
||||
@{sys}/firmware/efi/efivars/SecureBoot-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* r,
|
||||
@{sys}/firmware/efi/efivars/SecureBoot-@{uuid} r,
|
||||
|
||||
# file_inherit
|
||||
/dev/{s,v}d[a-z]* rw,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue