Update grub-mkconfig

This commit is contained in:
curiosityseeker 2023-09-05 18:44:01 +02:00 committed by GitHub
parent caedb45e81
commit 82ce884bc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{bin}/grub-mkconfig @{exec_path} = @{bin}/grub-mkconfig
profile grub-mkconfig @{exec_path} { profile grub-mkconfig @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/consoles> include <abstractions/consoles>
@ -44,6 +44,7 @@ profile grub-mkconfig @{exec_path} {
@{bin}/mktemp rix, @{bin}/mktemp rix,
@{bin}/mount rPx, @{bin}/mount rPx,
@{bin}/mountpoint rix, @{bin}/mountpoint rix,
@{bin}/mv rix,
@{bin}/os-prober rPx, @{bin}/os-prober rPx,
@{bin}/paste rix, @{bin}/paste rix,
@{bin}/readlink rix, @{bin}/readlink rix,
@ -59,6 +60,10 @@ profile grub-mkconfig @{exec_path} {
@{bin}/which{.debianutils,} rix, @{bin}/which{.debianutils,} rix,
/etc/grub.d/{**,} rix, /etc/grub.d/{**,} rix,
@{lib}/gconv/gconv-modules r,
@{lib}/gconv/gconv-modules.d/{,gconv-modules-extra.conf} r,
@{lib}/libostree/grub[0-9]-@{int}_ostree rix,
/boot/{**,} r, /boot/{**,} r,
/boot/grub/{**,} rw, /boot/grub/{**,} rw,
@ -67,7 +72,7 @@ profile grub-mkconfig @{exec_path} {
/etc/default/grub.d/{*,} r, /etc/default/grub.d/{*,} r,
/usr/share/grub/{**,} r, /usr/share/grub/{**,} r,
/usr/share/terminfo/x/xterm-256color r, /usr/share/terminfo/{,x/xterm-256color} r,
/.zfs/snapshot/*/boot/ r, /.zfs/snapshot/*/boot/ r,
/.zfs/snapshot/*/etc/{machine-id,} r, /.zfs/snapshot/*/etc/{machine-id,} r,
@ -83,5 +88,9 @@ profile grub-mkconfig @{exec_path} {
@{sys}/firmware/efi/efivars/OsIndicationsSupported-@{uuid} r, @{sys}/firmware/efi/efivars/OsIndicationsSupported-@{uuid} r,
/dev/pts/@{int} rw,
/dev/tty rw,
/dev/tty@{int} rw,
include if exists <local/grub-mkconfig> include if exists <local/grub-mkconfig>
} }