exclude arm and aarch64 ptest tasks Signed-off-by: Armin Kuster <akuster...@gmail.com> --- recipes-mac/AppArmor/apparmor_2.13.3.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
diff --git a/recipes-mac/AppArmor/apparmor_2.13.3.bb b/recipes-mac/AppArmor/apparmor_2.13.3.bb index d434fd3..ba7065b 100644 --- a/recipes-mac/AppArmor/apparmor_2.13.3.bb +++ b/recipes-mac/AppArmor/apparmor_2.13.3.bb @@ -42,6 +42,8 @@ PACKAGECONFIG[aa-decode] = ",,,bash" PAMLIB="${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)}" HTTPD="${@bb.utils.contains('PACKAGECONFIG', 'apache2', '1', '0', d)}" +#Building ptest on arm fails. + python() { if 'apache2' in d.getVar('PACKAGECONFIG').split() and \ 'webserver' not in d.getVar('BBFILE_COLLECTIONS').split(): @@ -50,6 +52,10 @@ python() { DISABLE_STATIC = "" +do_configure_ptest_base_aarch64[noexec] = "1" +do_compile_ptest_base_aarch64[noexec] = "1" +do_install_ptest_base_aarch64[noexec] = "1" + do_configure() { cd ${S}/libraries/libapparmor aclocal @@ -123,6 +129,14 @@ do_install () { fi } +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 +164,14 @@ do_install_ptest () { cp -rf ${B}/binutils ${t} } +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 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto