[Buildroot] [PATCH 2/2] package/systemd: disable audit for host package
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sat Aug 29 13:59:41 UTC 2020
Disable audit for host package to avoid getting the following error if
it is found on host:
[84/662] Generating audit_type-list.txt with a meson_exe.py custom command
In file included from <command-line>:32:
./../src/basic/missing_audit.h:7:10: fatal error: libaudit.h: No such file or directory
7 | #include <libaudit.h>
| ^~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/systemd/systemd.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 115ccbda06..81fa2bd0f0 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -700,7 +700,8 @@ HOST_SYSTEMD_CONF_OPTS = \
-Dxdg-autostart=false \
-Dkernel-install=false \
-Dsystemd-analyze=false \
- -Dlibcryptsetup=false
+ -Dlibcryptsetup=false \
+ -Daudit=false
HOST_SYSTEMD_DEPENDENCIES = \
$(BR2_COREUTILS_HOST_DEPENDENCY) \
--
2.28.0
More information about the buildroot
mailing list