diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-08-17 11:03:34 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-17 11:05:56 -0700 |
| commit | 4ff83dfb5a9f70188959814aa015910bd7363eca (patch) | |
| tree | 1ae649d723ece4f642f8c1ab2f4f57057e302ca8 /meta-oe/recipes-security/audit | |
| parent | 26057707452352ac9b4a2cf52f240a27ca72cb27 (diff) | |
| download | meta-openembedded-4ff83dfb5a9f70188959814aa015910bd7363eca.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>
Diffstat (limited to 'meta-oe/recipes-security/audit')
| -rw-r--r-- | meta-oe/recipes-security/audit/audit_3.0.8.bb | 2 |
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 28d7d01764..78439f66fe 100644 --- a/meta-oe/recipes-security/audit/audit_3.0.8.bb +++ b/meta-oe/recipes-security/audit/audit_3.0.8.bb | |||
| @@ -78,6 +78,8 @@ do_configure:prepend() { | |||
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | do_install:append() { | 80 | do_install:append() { |
| 81 | sed -i -e 's|#include "audit.h"|#include <linux/audit.h>|g' ${D}${includedir}/libaudit.h | ||
| 82 | |||
| 81 | rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a | 83 | rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a |
| 82 | rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la | 84 | rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la |
| 83 | 85 | ||
