[yocto] Disabling building PTESTs in a bbappend

Burton, Ross ross.burton at intel.com
Fri Aug 31 06:18:43 PDT 2018


In a local.conf:

PTEST_ENABLE_pn-apparmor = "0"

(the overrides are prefixed with pn-)

In a bbappend just PTEST_ENABLE="0" will work.

Ross

On 31 August 2018 at 14:09, Mardegan, Alberto <AMardegan at luxoft.com> wrote:
> Hi there!
>   the apparmor recipe from the meta-security layer fails to build in
> rocko due to an error when building the tests; I tried updating to the
> latest apparmor version, just to find out that the tests fail to build
> in some other place (the tests include sys/io.h -- which package should
> ship this file?)...
>
> At the end I think that the fastest way for me to get apparmor to build
> is to disable building the tests. But I cannot find any info on how it
> could be done in a .bbappend file.
>
> I tried
>
>     PTEST_ENABLED_apparmor = '0'
>
> but that doesn't seem to work. Suggestions?
>
> Meanwhile, where does one file bugs against the meta-security layer?
>
> Ciao,
>   Alberto
>
> ________________________________
>
> This e-mail and any attachment(s) are intended only for the recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information. If you are not the intended recipient, please do not read this email or its attachment(s). Furthermore, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list