aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-21 11:19:16 +0300
committerArmin Kuster <akuster808@gmail.com>2022-09-22 09:49:12 -0400
commit7eff264695d09bdbf6a9e67a6d2eb6466107927d (patch)
tree9fa683c7a6f1006dcd53832611010881ed95e245
parent088eaf9ea97b9f65a4629e0267ee905d33f7acee (diff)
downloadmeta-openembedded-7eff264695d09bdbf6a9e67a6d2eb6466107927d.tar.gz
audit: Revert the tweak done in configure step in do_install
This tweak is needed for building audit but not the interfaces it may expose via the headers, therefore undo the tweak before packaging things up Reported-By: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4ff83dfb5a9f70188959814aa015910bd7363eca)
-rw-r--r--meta-oe/recipes-security/audit/audit_3.0.8.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/audit/audit_3.0.8.bb b/meta-oe/recipes-security/audit/audit_3.0.8.bb
index 3dbfc9e604..c17899d4f6 100644
--- a/meta-oe/recipes-security/audit/audit_3.0.8.bb
+++ b/meta-oe/recipes-security/audit/audit_3.0.8.bb
@@ -77,6 +77,8 @@ do_configure:prepend() {
}
do_install:append() {
+ sed -i -e 's|#include "audit.h"|#include <linux/audit.h>|g' ${D}${includedir}/libaudit.h
+
rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a
rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la