From f8a0fe4f3a376e846bdc9a24b7ba9ee61a88fd06 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 29 Mar 2020 12:35:22 +0200 Subject: [PATCH] package/apparmor: enable PAM integration Signed-off-by: Angelo Compagnucci [yann.morin.1998@free.fr: split off to its own patch] Signed-off-by: Yann E. MORIN Tested-by: Angelo Compagnucci --- package/apparmor/apparmor.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/apparmor/apparmor.mk b/package/apparmor/apparmor.mk index b1a47c080c..db24a62c52 100644 --- a/package/apparmor/apparmor.mk +++ b/package/apparmor/apparmor.mk @@ -39,6 +39,11 @@ ifeq ($(BR2_PACKAGE_APPARMOR_PROFILES),y) APPARMOR_TOOLS += profiles endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +APPARMOR_DEPENDENCIES += linux-pam +APPARMOR_TOOLS += changehat/pam_apparmor +endif + define APPARMOR_BUILD_CMDS $(foreach tool,$(APPARMOR_TOOLS),\ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ -- 2.30.2