refactor(profiles): use @{bin} and @{lib} in profiles (7)
This commit is contained in:
parent
7c2c806ffa
commit
2b2c42d23c
155 changed files with 938 additions and 938 deletions
|
|
@ -6,19 +6,19 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/tasksel
|
||||
@{exec_path} = @{bin}/tasksel
|
||||
profile tasksel @{exec_path} flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/perl>
|
||||
|
||||
@{exec_path} r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/tempfile rix,
|
||||
/{usr/,}lib/tasksel/tasksel-debconf rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/tempfile rix,
|
||||
@{lib}/tasksel/tasksel-debconf rix,
|
||||
|
||||
/{usr/,}lib/tasksel/tests/* rCx -> tasksel-tests,
|
||||
@{lib}/tasksel/tests/* rCx -> tasksel-tests,
|
||||
|
||||
# Think what to do about this (#FIXME#)
|
||||
/usr/share/debconf/frontend rPx,
|
||||
|
|
@ -27,11 +27,11 @@ profile tasksel @{exec_path} flags=(complain) {
|
|||
# Do not strip env to avoid errors like the following:
|
||||
# ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open
|
||||
# shared object file): ignored.
|
||||
/{usr/,}bin/dpkg-query rpx,
|
||||
@{bin}/dpkg-query rpx,
|
||||
#
|
||||
/{usr/,}bin/apt-cache rPx,
|
||||
@{bin}/apt-cache rPx,
|
||||
|
||||
/{usr/,}bin/debconf-apt-progress rPx,
|
||||
@{bin}/debconf-apt-progress rPx,
|
||||
|
||||
/usr/share/tasksel/** r,
|
||||
|
||||
|
|
@ -43,8 +43,8 @@ profile tasksel @{exec_path} flags=(complain) {
|
|||
profile tasksel-tests flags=(complain) {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}lib/tasksel/tests/* r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{lib}/tasksel/tests/* r,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -55,16 +55,16 @@ profile tasksel @{exec_path} flags=(complain) {
|
|||
include <abstractions/nameservice-strict>
|
||||
|
||||
/usr/share/debconf/frontend r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/{usr/,}bin/tasksel rPx,
|
||||
@{bin}/tasksel rPx,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/stty rix,
|
||||
/{usr/,}bin/locale rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/stty rix,
|
||||
@{bin}/locale rix,
|
||||
|
||||
# The following is needed when debconf uses dialog/whiptail frontend.
|
||||
/{usr/,}bin/whiptail rPx,
|
||||
@{bin}/whiptail rPx,
|
||||
owner /tmp/file* w,
|
||||
|
||||
/usr/share/debconf/confmodule r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue