generic-poky/meta-yocto/conf
Paul Gortmaker 07bfa68195 poky.conf: change case of Poky for DISTRO<->SANITY mismatch
Using anything build appliance based will emit the warning:

 WARNING: Host distribution "poky-1.7" has not been validated with
 this version of the build system; you may possibly experience
 unexpected failures. It is recommended that you use a tested distribution.

The chain of events leading to this is:

1) At image creation time:

   meta-yocto/conf/distro/poky.conf:
	DISTRO = "poky"

   meta/recipes-extended/lsb/lsb_4.1.bb:
	echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release

2) At deployment/usage time of the created image:

   meta/lib/oe/lsb.py:
	output, err = bb.process.run(['lsb_release', '-ir'], stderr=PIPE)

   meta-yocto/conf/distro/poky.conf:
	SANITY_TESTED_DISTROS ?= " \
            Poky-1.6 \n \
            Poky-1.7 \n \
            [...]

   meta/classes/sanity.bbclass:
	distro = oe.lsb.distro_identifier()
	tested_distros = sanity_data.getVar('SANITY_TESTED_DISTROS', True)

and hence the lsb.distro gets the lower case "poky" which fails to
match the upper case "Poky" used in SANITY_TESTED_DISTROS.

(From meta-yocto rev: 3373b04f8a61e5daa5d24501c0c7d8f947afb3f8)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-23 11:31:59 +00:00
..
distro poky.conf: change case of Poky for DISTRO<->SANITY mismatch 2015-01-23 11:31:59 +00:00
bblayers.conf.sample bblayers.conf.sample: use ##OEROOT## instead of ##COREBASE## 2013-09-22 12:19:45 +01:00
conf-notes.txt meta-toolchain-sdk: Remove references from meta-yocto 2013-12-19 09:45:21 +00:00
layer.conf meta-yocto/layer.conf: Bump LAYERVERSION_yocto 2013-09-17 14:11:05 +01:00
local.conf.sample local.conf.sample: Add qemuarm64 2014-12-30 11:38:47 +00:00
local.conf.sample.extended local.conf.sample.extended: update for RPM_PREFER_ELF_ARCH 2014-10-24 17:36:21 +01:00
site.conf.sample local.conf.sample: use ?= to assign BB_ENV_EXTRAWHITE variables 2013-06-17 16:27:59 +01:00
toasterconf.json toasterconf: naming and description changes 2014-12-18 10:21:50 +00:00