feat(profiles): replace old [0-9]* glob by @{int}

Beware some [0-9]* glob are actually not proper @{int}.
This commit is contained in:
Alexandre Pujol 2023-08-18 17:09:53 +01:00
parent 8ea4491a56
commit 275d6b6e62
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
368 changed files with 637 additions and 636 deletions

View file

@ -23,8 +23,8 @@ profile grub-mkrelpath @{exec_path} {
/boot/grub/themes/{,**} r,
/tmp/grub-btrfs.*/@snapshots/[0-9]*/snapshot/boot/ r,
/tmp/grub-btrfs.*/@/.snapshots/[0-9]*/snapshot/boot/ r,
/tmp/grub-btrfs.*/@snapshots/@{int}/snapshot/boot/ r,
/tmp/grub-btrfs.*/@/.snapshots/@{int}/snapshot/boot/ r,
/tmp/grub-btrfs.*/@_backup_[0-9]*/boot/ r,
/tmp/grub-btrfs.*/ r,

View file

@ -34,7 +34,7 @@ profile grub-probe @{exec_path} {
/dev/*vg*/ r,
/dev/bsg/ r,
/dev/cpu/ r,
/dev/cpu/[0-9]*/ r,
/dev/cpu/@{int}/ r,
/dev/dri/ r,
/dev/dri/by-path/ r,
/dev/hugepages/ r,

View file

@ -15,7 +15,7 @@ profile update-grub @{exec_path} {
@{bin}/{,ba,da}sh rix,
@{bin}/grub-mkconfig rPx,
/dev/tty[0-9]* rw,
/dev/tty@{int} rw,
include if exists <local/update-grub>
}