refactor(profiles): use @{bin} and @{lib} in profiles (5)
This commit is contained in:
parent
43b0f09b65
commit
fcedbbfd95
122 changed files with 873 additions and 876 deletions
|
|
@ -6,28 +6,28 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/kernel-install
|
||||
@{exec_path} = @{bin}/kernel-install
|
||||
profile kernel-install @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}bin/mountpoint rix,
|
||||
/{usr/,}bin/sort rix,
|
||||
/{usr/,}bin/rm rix,
|
||||
/{usr/,}bin/mkdir rix,
|
||||
/{usr/,}bin/cp rix,
|
||||
/{usr/,}bin/chown rix,
|
||||
/{usr/,}bin/chmod rix,
|
||||
/{usr/,}bin/basename rix,
|
||||
@{bin}/mountpoint rix,
|
||||
@{bin}/sort rix,
|
||||
@{bin}/rm rix,
|
||||
@{bin}/mkdir rix,
|
||||
@{bin}/cp rix,
|
||||
@{bin}/chown rix,
|
||||
@{bin}/chmod rix,
|
||||
@{bin}/basename rix,
|
||||
|
||||
/{usr/,}bin/kmod rCx -> kmod,
|
||||
@{bin}/kmod rCx -> kmod,
|
||||
|
||||
/{usr/,}lib/kernel/install.d/ r,
|
||||
/{usr/,}lib/kernel/install.d/[0-9][0-9]-*.install rix,
|
||||
@{lib}/kernel/install.d/ r,
|
||||
@{lib}/kernel/install.d/[0-9][0-9]-*.install rix,
|
||||
|
||||
/etc/kernel/install.d/ r,
|
||||
/etc/kernel/install.d/*.install rix,
|
||||
|
|
@ -41,10 +41,10 @@ profile kernel-install @{exec_path} {
|
|||
owner /boot/loader/entries/ rw,
|
||||
owner /boot/loader/entries/*.conf w,
|
||||
|
||||
/{usr/,}lib/modules/*/modules.* w,
|
||||
@{lib}/modules/*/modules.* w,
|
||||
|
||||
/etc/os-release r,
|
||||
/{usr/,}lib/os-release r,
|
||||
@{lib}/os-release r,
|
||||
|
||||
/etc/kernel/tries r,
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ profile kernel-install @{exec_path} {
|
|||
profile kmod flags=(complain) {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/kmod mr,
|
||||
@{bin}/kmod mr,
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue