[Buildroot] [git commit branch/2018.02.x] linux: enable CONFIG_AUDIT if the audit package is selected

Peter Korsgaard peter at korsgaard.com
Sun Nov 25 20:39:46 UTC 2018

commit: https://git.buildroot.net/buildroot/commit/?id=dc849a3c07ab64538967b6b9fa6f7061d72b9a0d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.02.x

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 <casantos at datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 2c828ed72fa51607714cbd7a53304d11db7145c3)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
 linux/linux.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/linux/linux.mk b/linux/linux.mk
index cc5aeb69cd..f69aeb48bb 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -287,6 +287,9 @@ define LINUX_KCONFIG_FIXUP_CMDS
+	$(if $(BR2_PACKAGE_AUDIT),
+		$(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config)
+		$(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT,$(@D)/.config))
 	$(if $(BR2_PACKAGE_KTAP),

More information about the buildroot mailing list