From 8ae70703f68853a8714a4fb8fa5d959b5e21a02d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 3 Jul 2018 12:06:37 +0100 Subject: staging: Always use the default sysroot for allarch recipes Without this, recipes can't find allarch data files like autoconf-archive. Signed-off-by: Richard Purdie --- meta/classes/staging.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 91cbc2083d..939042eb44 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass @@ -474,6 +474,9 @@ python extend_recipe_sysroot() { # We need a consistent WORKDIR for the image d2.setVar("WORKDIR", d.getVar("WORKDIR")) destsysroot = d2.getVar("RECIPE_SYSROOT") + # We put allarch recipes into the default sysroot + if manifest and "allarch" in manifest: + destsysroot = d.getVar("RECIPE_SYSROOT") native = False if c.endswith("-native") or "-cross-" in c or "-crosssdk" in c: -- cgit 1.2.3-korg