Patchwork [v2] poky-tiny: set poky and poky-tiny in distro overrides

login
register
mail settings
Submitter Saul Wold
Date May 23, 2014, 8:57 p.m.
Message ID <1400878671-14795-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/72673/
State New
Headers show

Comments

Saul Wold - May 23, 2014, 8:57 p.m.
Since meta-yocto uses a generic poky override for FILESEXTRAPATH in busybox,
we really should be setting the DISTROOVERRIDES to both poky and poky-tiny.

[YOCTO #6353]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta-yocto/conf/distro/poky-tiny.conf | 2 ++
 1 file changed, 2 insertions(+)
Khem Raj - May 24, 2014, 2:32 a.m.
On Fri, May 23, 2014 at 1:57 PM, Saul Wold <sgw@linux.intel.com> wrote:
> Since meta-yocto uses a generic poky override for FILESEXTRAPATH in busybox,
> we really should be setting the DISTROOVERRIDES to both poky and poky-tiny.

I would rather think override in busybox is not needed. since
defconfig is inside ${BPN}/poky-tiny
if you did not have _prepend qualifier in FILESEXTRAPATHS_prepend_poky
:= "${THISDIR}/${P}:"
it would work as expected.

Patch

diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-yocto/conf/distro/poky-tiny.conf
index 2548d79..5b67e32 100644
--- a/meta-yocto/conf/distro/poky-tiny.conf
+++ b/meta-yocto/conf/distro/poky-tiny.conf
@@ -30,6 +30,8 @@ 
 
 require conf/distro/poky.conf
 DISTRO = "poky-tiny"
+DISTROOVERRIDES = "poky:poky-tiny"
+
 
 # FIXME: consider adding a new "tiny" feature
 #DISTRO_FEATURES_append = " tiny"