[yocto] [meta-security][v3][PATCH] apparmor: ptest fail to build on arm
Armin Kuster
akuster808 at gmail.com
Thu Oct 17 13:29:21 PDT 2019
exclude arm and aarch64 ptest tasks
[v2&3]
Sent before committing.
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
recipes-mac/AppArmor/apparmor_2.13.3.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/recipes-mac/AppArmor/apparmor_2.13.3.bb b/recipes-mac/AppArmor/apparmor_2.13.3.bb
index d434fd3..60d5e68 100644
--- a/recipes-mac/AppArmor/apparmor_2.13.3.bb
+++ b/recipes-mac/AppArmor/apparmor_2.13.3.bb
@@ -123,6 +123,15 @@ do_install () {
fi
}
+#Building ptest on arm fails.
+do_compile_ptest_aarch64 () {
+ :
+}
+
+do_compile_ptest_arm () {
+ :
+}
+
do_compile_ptest () {
oe_runmake -C ${B}/tests/regression/apparmor
oe_runmake -C ${B}/parser/tst
@@ -150,6 +159,15 @@ do_install_ptest () {
cp -rf ${B}/binutils ${t}
}
+#Building ptest on arm fails.
+do_install_ptest_aarch64 () {
+ :
+}
+
+do_install_ptest_arm() {
+ :
+}
+
pkg_postinst_ontarget_${PN} () {
if [ ! -d /etc/apparmor.d/cache ] ; then
mkdir /etc/apparmor.d/cache
--
2.17.1
More information about the yocto
mailing list