[PATCH 3/3] stress-ng: disable apparmor from the correct spot

Alexander Kanavin
2022-05-06T06:42:15Z

do_configure uses the base.bbclass version, which can
call 'make clean', negating the disabling.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb b/meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb
index ada35dbc4c..e7cc1d1846 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb
@@ -20,7 +20,7 @@ RCONFLICTS:${PN} = "stress"

inherit bash-completion

-do_configure:prepend() {
+do_compile:prepend() {
mkdir -p configs
touch configs/HAVE_APPARMOR
}
--
2.30.2