Commit Graph

40 Commits

Author SHA1 Message Date
Richard Purdie 66bd8b8247 sanity: Require bitbake 1.33.4
We need the bitbake bug in recrdeptask handling of missing tasks fixed in
order to apply a fix for OE-Core.

(From OE-Core rev: ef16288f3e1e801e5c763ed49fad8eb0c885183e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-10 23:00:43 +01:00
Richard Purdie 555c48fb01 sanity.conf: Increase minimum version requirement to 1.33.3
This pulls in changes to bb.utils.which() for HOSTTOOLS.

(From OE-Core rev: 398fd35bfc2b4795067e25659841adaeea211809)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie dec5650bc2 sanity: Require bitbake 1.33.2
We want to update to a version with the bb.utils.filter() function.

(From OE-Core rev: 6db26339522a22c3e3c13287ea0c9daf40c7c15e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-01 11:17:45 +00:00
Richard Purdie 75aafde619 sanity.conf: Update minimum version requirement for devtool
A recent devtool change needs bitbake changes so bump the minmium bitbake
version requirement to match.

(From OE-Core rev: e7b624c268cb917c00e88e8e9a6a87585eb98eac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-07 14:50:09 +00:00
Richard Purdie 0150dddeaf sanity.conf: Update minimum bitbake version requirements to 1.33.0
Recipe specific sysroots and mutliconfig need recent versions of bitbake,
look for version 1.33.0 as a minimum

(From OE-Core rev: 3a617a4c66941cecbdccb6f410e1b0d8bfde9845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-27 10:42:39 +00:00
Richard Purdie 45f401abe5 sanity: Update minimum version requirement to 1.31.2
This is so we can depend on the bb event threading fix which
prevents event pipe corruption.

(From OE-Core rev: 728269fe2839533a05e7f2532209466dc34e4174)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-05 10:10:11 +01:00
Richard Purdie 6c24a6446a sanity: Require bitbake 1.31.1 for multi-config changes
(From OE-Core rev: ecc8d346223030ee06aa6d83427f757982e948e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-18 10:07:24 +01:00
Richard Purdie 6af88d873a sanity: Require bitbake 1.29.1
This is for the improved exec_func functionality.

(From OE-Core rev: aedef9d6a585db9c1289f6117e72bdb576a1a304)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Richard Purdie c1c6a9d64e sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)
Right now, only one configuration file can be processed (conf/bblayers.conf)
and it can only have one version number. This is a cause of immense friction
between OE-Core and Poky since if one needs a version change, it shouldn't
be forced on the other.

We'd like to rename the meta-yocto layer (within the meta-yocto repository)
to meta-poky. To do this, we need to correct the bblayers.conf file and that
means changing the sanity version. After the pain this caused the last time,
Paul made me promise never to have them out of sync between OE-Core and Poky,
equally, having every distro changing config update OE-Core isn't scalable
either.

This patch changes the sanity upgrade method to list a more generic format:

<config file>:<current version variable name>:<required version variable name>:<upgrade function>

This in theory allows us to support upgrades to any of the core
configuration files, and allow layers to extend them as needed. Files
with the same name can be handled in different layers by setting a unique
version name variable in the file itself. The upgrade code is only called
if the version variable is set.

To allow us to make the poky name change and use a new configuration file
name, one last version bump is included for poky to handle the transition.

(From OE-Core rev: 10fd24271e771ed12e36edcff0007caa1a4e67e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:31:17 +00:00
Richard Purdie 283a302774 sanity: Bump minimum version to 1.29.0
This requires the python expansion changes and allow SRCPV
to work correctly without errors.

(From OE-Core rev: 40efff29ad458937222c3dbeba070c525103907c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-12 13:44:46 +00:00
Richard Purdie a3e60c3cbf sanity.conf: Bump minimum bitbake version to 1.27.1 for sstate change
(From OE-Core rev: b925be92e8be2ab3b945069a699859809615c78f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-10 12:00:13 +01:00
Paul Eggleton 1bb0022384 classes/sanity: avoid bblayers version issue when switching between poky and other DISTRO values
If you create a build directory with poky, or set DISTRO to "poky" and
run bitbake, you'll get a bblayers.conf file with LCONF_VERSION set to
6. If you then set DISTRO to any other value where the new distro config
doesn't pull in poky's config, e.g. "nodistro", you would then get a
bblayers.conf version error which didn't immediately make sense. (The
layer versions have been out-of-step ever since meta-yocto-bsp was
split out of meta-yocto several years ago).

This is just painful and we'd rather users didn't have to deal with
it. Obviously it isn't an OE-Core problem per se, but a simple way to
resolve it for everyone is to bump OE-Core's version to 6 with an
automatic no-op upgrade. Also ensure that multiple upgrade functions
(such as the poky one) have a chance to execute by not breaking out of
the loop as we were before.

Fixes [YOCTO #6139].

(From OE-Core rev: 2fdeee2fad69445b0d97148826c7b027820be63a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-23 18:00:20 +00:00
Richard Purdie daeb4a4459 sanity.conf: Update to require bitbake 1.25.0 as minimum version
This allows us to merge in the _defaultval changes.

(From OE-Core rev: 3de8689ad4aa97acd36a76dda36c96697e2ab712)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-03 12:23:56 +00:00
Richard Purdie 9a3781d8ef sanity.conf: Update minimum bitbake version to 1.23.2 due to event changes
(From OE-Core rev: b4e2a769e8def2e78ffca3f006a0cc88407aaeda)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 22:10:12 +01:00
Otavio Salvador f7bbe9ce76 sanity: Bump BitBake minimal version to 1.23.0
The metadata started using the bb.utils.contains_any which has been
add in the BitBake 1.23.0 release, set this as the minimal version to
ensure parsing compatibility.

(From OE-Core rev: dea40c2850a32b5b67e90336f9565889f92dabe8)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-01 22:48:51 +01:00
Richard Purdie 2c7276c3cf sanity.conf: Require bitbake 1.21.1 as a minumum version for deltask functionality
(From OE-Core rev: cdc6dfd497c7a96f8ccd666fe0b8970d5b906786)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-20 12:26:25 +00:00
Richard Purdie 1920ba2883 sanity.conf: Update minimum bitbake version requirement to 1.19.1 for bitbake-worker
This is due to the need to rely on bitbake-worker being present going
forwards.

(From OE-Core rev: ccf4fe860096f4b2a56b51b612b2a1dcb3525e59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14 12:53:52 +01:00
Richard Purdie ccde53bfa7 sanity.conf: Update minimum bitbake version
We need this for the multiprocessing pool issues in python < 2.7.3 whic
we now use in do_package.

(From OE-Core rev: 027dc0ec80b570c79f4adb0deabb63bcf3c49b78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06 13:14:31 +00:00
Richard Purdie e2edcd98b8 sanity.conf: Increase minimum bitbake version requirement to 1.17.0 for FILESDIR updates
(From OE-Core rev: a85f990efd62e50e5ffaddf5c6d2703f18f11071)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-26 10:01:23 +00:00
Richard Purdie 35e6121a58 sanity.conf: Require bitbake 1.16.0 (stable series) prior to release (and for explode_dep_versions changes)
(From OE-Core rev: bf334f01cb90483ba304b4a830d53e705637b87a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02 11:40:52 +01:00
Richard Purdie 6ab608087a sanity.conf: Increase bitbake minimum version to 1.15.3
(From OE-Core rev: c8937438a7b5d2aec4ae0318f5680f3a43979259)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19 10:24:50 +01:00
Richard Purdie 8ce8d25bcd sanity.bbclass: Increase LAYER_CONF_VERSION to match bblayers change
(From OE-Core rev: f4b5afe46ff018570c1949653eb6995428827f6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25 17:20:54 +01:00
Richard Purdie b454cb7366 sanity.conf: Incrase bitbake minimum version requirement to 1.15.1
(From OE-Core rev: 383b1ef37c1c6f6b1be043ac61e338d75488c9a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-23 09:01:38 +00:00
Richard Purdie d7c67a1a05 sanity: Increase bitbake minium version to 1.13.3 for bb.utils.contains() function
(From OE-Core rev: 92a7e70feb1dfd882d13b5cb65e144d293ff291a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25 14:36:30 +01:00
Richard Purdie e485b88daa sanity.conf: Require bitbake version 1.13.2 at a minimum
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30 20:56:33 +01:00
Richard Purdie 69c87c5ebb conf/sanity.conf: Set the minimum bitbake version correctly, we've needed recent bitbake features for a while
(From OE-Core rev: f6a38cd75edb46858da6950b5ec029db8a12d801)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09 22:45:00 +01:00
Richard Purdie 949645e577 sanity.conf: Rename POKY_CONF_VERSION -> LOCALCONF_VERSION and make sanity versions weak assignment allowing the distro to override
(From OE-Core rev: 9a5a783fb131aef98540a81ea6697031a7a429e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21 00:29:32 +01:00
Beth Flanagan 020967ed0d Emenlow Removal from Poky Core: meta-emenlow
Removing Emenlow from poky core as it is now in meta-intel as a BSP layer

[BUGID #769]

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2011-02-25 09:10:20 -08:00
Paul Eggleton 1993ca1f87 sanity.bbclass: allow minimisation of impact of more invasive sanity checks
Add a mechanism to avoid running more invasive checks every time bitbake is
invoked. Adds a file in conf/ (i.e. under user's build directory) that
tracks a new variable SANITY_VERSION (set in sanity.conf) as well as TMPDIR
and SSTATE_DIR, allowing checks to be run when these are changed.

Fixes [BUGID #562]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2010-12-20 14:54:02 +00:00
Scott Garman 87cac1db8c bblayers.conf.sample: remove meta-moblin from default layers
This fixes [BUGID #273]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-09-17 11:32:00 -07:00
Richard Purdie fbf2022c9a sanity.conf: Update layer version after the last commit
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 23:56:36 +01:00
Joshua Lock c4a0b5463d sanity.bbclass: version each of the files in the build/conf/ directory
We already have versioning of the local.conf file but it's entirely plausible
for the bblayers.conf and site.conf to change incompatibly so we should version
those too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-07 16:16:35 +01:00
Joshua Lock fbe3d41eb0 Version the build configuration directory
The addition of BBLAYERS changes the build/conf directory to be incompatible
with the "old way" in the Purple release.

As such things are likely to occur in future we should bersion the build/conf
directory through local.conf

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30 16:25:41 +01:00
Richard Purdie 8beb43ca48 Move SANITY_ABI to its own file and give a more general name
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4938 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-24 11:10:33 +00:00
Richard Purdie a566074ef3 bitbake.conf: Split STAGING and CROSS to become target specific so armv5 binaries don't mix with armv6 or v7, likewise with the cross compilers themselves. Also move pkgdata our of staging since it follows a totally different directory structure to staging. These changes break ABI so change the ABI number
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4893 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-19 11:59:42 +00:00
Richard Purdie 63d12962f2 sanity.conf: Sync with OE, introduce ABI versioning for TMPDIR, bump minimum bitbake version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4449 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-07 09:46:02 +00:00
Richard Purdie 837f7e0867 sanity.conf: Bump minimum bitbake version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2601 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-29 21:41:11 +00:00
Richard Purdie 4398b980ba conf: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@892 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 17:13:43 +00:00
Richard Purdie 3fb64b4e50 sanity.conf: Update minimum bitbake version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@658 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 22:05:00 +00:00
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00