feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-05-21 17:25:31 +01:00
parent 3d2197d7f0
commit e28f5a3bb4
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
8 changed files with 41 additions and 12 deletions

View file

@ -54,6 +54,8 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
/{usr/,}bin/{kmod,lsmod} rPx,
/{usr/,}bin/{modinfo,rmmod} rPx,
/{usr/,}bin/modprobe rPx,
/{usr/,}bin/plymouth rPx,
/{usr/,}bin/plymouth-set-default-theme rPx,
/{usr/,}lib/initcpio/busybox rix,
/{usr/,}lib{,32,64}/ld-*.so* rix,
@ -64,16 +66,20 @@ profile mkinitcpio @{exec_path} flags=(attach_disconnected) {
/etc/mkinitcpio.conf r,
/etc/mkinitcpio.d/{,**} r,
/etc/modprobe.d/{,*} r,
/etc/plymouth/plymouthd.conf r,
/etc/vconsole.conf r,
/usr/share/kbd/keymaps/{,**} r,
/usr/share/plymouth/plymouthd.defaults r,
/usr/share/plymouth/themes/{,**} r,
/usr/share/terminfo/x/xterm-256color r,
# Can copy any program to the initframs
/{usr/,}bin/ r,
/{usr/,}bin/[a-z0-9]* rm,
/{usr/,}lib/udev/[a-z0-9]* rm,
/{usr/,}lib/plymouth/plymouthd-* rm,
/{usr/,}lib/systemd/systemd-* rm,
/{usr/,}lib/udev/[a-z0-9]* rm,
# Manage /boot
/ r,

View file

@ -9,6 +9,7 @@ include <tunables/global>
@{exec_path} = /{usr/,}bin/pacman-conf
profile pacman-conf @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
network inet stream,
network inet6 stream,