[openwrt/openwrt] trace-cmd: disable AUDIT (libaudit library)

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 11 10:38:26 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9f9243887e4aca106f9c9ad09632734662728f92

commit 9f9243887e4aca106f9c9ad09632734662728f92
Author: Josef Schlehofer <pepe.schlehofer at gmail.com>
AuthorDate: Fri Oct 2 14:17:48 2020 +0200

    trace-cmd: disable AUDIT (libaudit library)
    
    If you compile first libaudit library and then trace-cmd package,
    compilations fails with:
    
    Package trace-cmd is missing dependencies for the following libraries:
    libaudit.so.1
    
    If you enable libaudit for trace-cmd, it will show system name calls while using command profile.
    Try to be slim as much as possible - libaudit .ipk has 42,4 kB.
    
    Signed-off-by: Josef Schlehofer <pepe.schlehofer at gmail.com>
---
 package/devel/trace-cmd/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/devel/trace-cmd/Makefile b/package/devel/trace-cmd/Makefile
index 25831d8b1b..d1f73ae9bb 100644
--- a/package/devel/trace-cmd/Makefile
+++ b/package/devel/trace-cmd/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=trace-cmd
 PKG_VERSION:=v2.6.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/snapshot/
@@ -31,6 +31,7 @@ endef
 
 MAKE_FLAGS += \
 	NO_PYTHON=1 \
+	NO_AUDIT=1 \
 	prefix=/usr
 
 PLUGINS_DIR := $(PKG_INSTALL_DIR)/usr/lib/trace-cmd/plugins



More information about the lede-commits mailing list