2020-09-12 17:19:23 +02:00
|
|
|
# vim:syntax=apparmor
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
2021-01-10 16:35:07 +01:00
|
|
|
# Copyright (C) 2020-2021 Mikhail Morfikov
|
2020-09-12 17:19:23 +02:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
|
|
# License published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
abi <abi/3.0>,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
include <tunables/global>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
@{BUILD_DIR} = /media/debuilder/
|
|
|
|
|
|
|
|
@{exec_path} = /{usr/,}bin/uupdate
|
|
|
|
profile uupdate @{exec_path} flags=(complain) {
|
2020-12-10 22:33:39 +01:00
|
|
|
include <abstractions/base>
|
|
|
|
include <abstractions/consoles>
|
|
|
|
include <abstractions/perl>
|
|
|
|
include <abstractions/nameservice-strict>
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
@{exec_path} r,
|
2020-12-09 10:30:52 +01:00
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
|
|
|
|
|
|
/{usr/,}bin/basename rix,
|
|
|
|
/{usr/,}bin/which rix,
|
|
|
|
/{usr/,}bin/tr rix,
|
|
|
|
/{usr/,}bin/{,e}grep rix,
|
|
|
|
/{usr/,}bin/getopt rix,
|
|
|
|
/{usr/,}bin/cut rix,
|
|
|
|
/{usr/,}bin/mktemp rix,
|
|
|
|
/{usr/,}bin/ls rix,
|
|
|
|
/{usr/,}bin/wc rix,
|
|
|
|
/{usr/,}bin/mv rix,
|
|
|
|
/{usr/,}bin/rm rix,
|
|
|
|
/{usr/,}bin/cp rix,
|
|
|
|
/{usr/,}bin/expr rix,
|
|
|
|
|
|
|
|
/{usr/,}bin/perl rix,
|
|
|
|
/{usr/,}bin/chmod rix,
|
|
|
|
/{usr/,}bin/md5sum rix,
|
|
|
|
|
|
|
|
/{usr/,}bin/tar rix,
|
|
|
|
/{usr/,}bin/bzip2 rix,
|
|
|
|
/{usr/,}bin/xz rix,
|
2020-09-12 17:19:23 +02:00
|
|
|
|
|
|
|
# FIXME
|
|
|
|
/{usr/,}bin/debchange rPUx,
|
|
|
|
/{usr/,}bin/dpkg-vendor rPUx,
|
|
|
|
/{usr/,}bin/dpkg-parsechangelog rPUx,
|
|
|
|
/{usr/,}bin/dpkg rPx -> child-dpkg,
|
|
|
|
|
|
|
|
/etc/devscripts.conf r,
|
|
|
|
|
|
|
|
# For package building
|
|
|
|
owner @{BUILD_DIR}/** rwkl -> @{BUILD_DIR}/**,
|
|
|
|
|
2020-12-10 22:33:39 +01:00
|
|
|
include if exists <local/uupdates>
|
2020-09-12 17:19:23 +02:00
|
|
|
}
|