feat(profile): use @{sbin} for all program inside /usr/sbin.
This commit is contained in:
parent
b8f2f38c72
commit
fd17a77b17
270 changed files with 475 additions and 475 deletions
|
|
@ -8,7 +8,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/mkinitramfs
|
||||
@{exec_path} = @{sbin}/mkinitramfs
|
||||
profile mkinitramfs @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
|
@ -58,7 +58,7 @@ profile mkinitramfs @{exec_path} {
|
|||
|
||||
@{bin}/find rCx -> find,
|
||||
@{bin}/kmod rCx -> kmod,
|
||||
@{bin}/ldconfig rCx -> ldconfig,
|
||||
@{sbin}/ldconfig rCx -> ldconfig,
|
||||
@{bin}/ldd rCx -> ldd,
|
||||
@{lib}/@{multiarch}/ld-linux-*so* rCx -> ldd,
|
||||
@{lib}/ld-linux.so* rCx -> ldd,
|
||||
|
|
@ -130,10 +130,10 @@ profile mkinitramfs @{exec_path} {
|
|||
|
||||
capability sys_chroot,
|
||||
|
||||
@{bin}/ldconfig mr,
|
||||
@{sbin}/ldconfig mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/ldconfig.real rix,
|
||||
@{sbin}/ldconfig.real rix,
|
||||
|
||||
owner /var/tmp/mkinitramfs_@{rand6}/etc/ld.so.conf r,
|
||||
owner /var/tmp/mkinitramfs_@{rand6}/etc/ld.so.conf.d/{,*.conf} r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue