Extend stage1 profile to apparmor and annotate build depends

This commit is contained in:
Michael Biebl 2015-08-18 16:55:07 +02:00
parent a2d0d8e615
commit b7eb246c63
2 changed files with 7 additions and 7 deletions

4
debian/control vendored
View File

@ -25,10 +25,10 @@ Build-Depends: debhelper (>= 9),
gnu-efi [amd64 i386],
libcap-dev (>= 1:2.24-9~),
libpam0g-dev,
libapparmor-dev (>= 2.9.0-3+exp2),
libapparmor-dev (>= 2.9.0-3+exp2) <!stage1>,
libaudit-dev,
libdbus-1-dev (>= 1.3.2) <!nocheck>,
libcryptsetup-dev (>= 2:1.6.0),
libcryptsetup-dev (>= 2:1.6.0) <!stage1>,
libselinux1-dev (>= 2.1.9),
libacl1-dev,
liblzma-dev,

10
debian/rules vendored
View File

@ -44,18 +44,18 @@ CONFFLAGS = \
--with-system-uid-max=999 \
--with-system-gid-max=999
ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
CONFFLAGS += --enable-libcryptsetup
endif
CONFFLAGS_deb = \
--enable-selinux \
--enable-apparmor \
--enable-compat-libs \
--enable-hwdb \
--enable-efi \
PYTHON=python3
ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
CONFFLAGS_deb += --enable-libcryptsetup \
--enable-libapparmor
endif
CONFFLAGS_udeb = \
--disable-libcryptsetup \
--disable-pam \