mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
util-linux: add optional dependency on audit
login and hwclock can be built with audit support. This patch adds optional dependency on audit package if it is already selected. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
c8252fdebb
commit
8d9cad0d05
@@ -153,6 +153,13 @@ else
|
||||
UTIL_LINUX_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AUDIT),y)
|
||||
UTIL_LINUX_CONF_OPTS += --with-audit
|
||||
UTIL_LINUX_DEPENDENCIES += audit
|
||||
else
|
||||
UTIL_LINUX_CONF_OPTS += --without-audit
|
||||
endif
|
||||
|
||||
# Install PAM configuration files
|
||||
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),y)
|
||||
define UTIL_LINUX_INSTALL_PAMFILES
|
||||
|
||||
Reference in New Issue
Block a user