[yocto] [patchtest][PATCH] core-image-patchtest: avoid skip parse recipe
Changqing Li
changqing.li at windriver.com
Sun Apr 28 23:10:45 PDT 2019
ping
On 3/5/19 5:59 PM, changqing.li at windriver.com wrote:
> From: Changqing Li <changqing.li at windriver.com>
>
> patchtest [1] failed since the recipe is skipparsed since it defines
> REQUIRED_DISTRO_FEATURES. patchtest don't really need
> DISTRO_FEATURES, so fix the problem by set REQUIRED_DISTRO_FEATURES/
> COMPATIBLE_MACHINE/COMPATIBLE_HOST to "" to avoid skip parse
>
> [Yocto #13005]
>
> [1] https://patchwork.openembedded.org/series/9949/
>
> Signed-off-by: Changqing Li <changqing.li at windriver.com>
> ---
> meta-patchtest/recipes-core/images/core-image-patchtest.bb | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta-patchtest/recipes-core/images/core-image-patchtest.bb b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
> index 47e4041..95279d2 100644
> --- a/meta-patchtest/recipes-core/images/core-image-patchtest.bb
> +++ b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
> @@ -30,6 +30,9 @@ TMPBUILD="\$(mktemp -d)"
> BRANCH="\$(get-target-branch \$REPO \$MBOX | awk '{print \$NF}')"
> cd \$REPO
> source ./oe-init-build-env \$TMPBUILD
> +echo "COMPATIBLE_MACHINE_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
> +echo "COMPATIBLE_HOST_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
> +echo "REQUIRED_DISTRO_FEATURES_qemuall = \\"\\"" >> \$TMPBUILD/conf/local.conf
> test-mboxes -r \$REPO -s \$SUITESTART -m \$MBOX -o \$RESULTS -- --base-branch \$BRANCH
> rm -rf \$TMPBUILD
> }
--
BRs
Sandy(Li Changqing)
More information about the yocto
mailing list