From 15675563a489e3f02a4526c7af087bed7e8f852e Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Sat, 3 Nov 2018 13:42:43 -0300 Subject: [PATCH] linux: enable CONFIG_AUDIT if the audit package is selected We already turn on kernel features for several packages, so let's do it for audit too, since the daemon is useless and fails to load otherwise. Notice that we also turn NET on, since AUDIT depends on NET, like we do for the wireguard package. Signed-off-by: Carlos Santos Signed-off-by: Thomas Petazzoni (cherry picked from commit 2c828ed72fa51607714cbd7a53304d11db7145c3) Signed-off-by: Peter Korsgaard --- linux/linux.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 675e7906a8..24669d32f9 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -309,6 +309,9 @@ define LINUX_KCONFIG_FIXUP_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config)) $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV), $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config)) + $(if $(BR2_PACKAGE_AUDIT), + $(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config) + $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT,$(@D)/.config)) $(if $(BR2_PACKAGE_KTAP), $(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS,$(@D)/.config)