Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata | Richard Purdie | 2013-06-28 | 1 | -5/+13 |
| | | | | | | | | | | | | | | | | | PN/PE/PV/PR should never change between do_package and the following do_package_write_* tasks. If any do change you would see build failure due to the wrong WORKDIR being used for example. This patch ensures that if something is going wrong we see the error earlier and with some better warning about what the real problem is. [YOCTO #4102 partial] This is a rewritten version of a patch from Martin Jansa <martin.jansa@gmail.com> (From OE-Core rev: f5252fea11e13dbcec1c277cf1bf0d7e61b60690) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | packagedata: Add error message if multiple recipes try to write the same package | Richard Purdie | 2013-01-24 | 1 | -1/+6 |
| | | | | | | | | | | | | If multiple recipes try and write the same package it resulted in a rather confusing traceback and unintuitive error. This patch prints a human readable error instead. [YOCTO #3645] (From OE-Core rev: 6f817779af77fdb0b861297f0f43c4c6607ce6f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | Convert tab indentation in python functions into four-space | Richard Purdie | 2012-07-19 | 1 | -8/+8 |
| | | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True) | Richard Purdie | 2012-03-05 | 1 | -2/+2 |
| | | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | Convert to use direct access to the data store (instead of bb.data.*Var*()) | Richard Purdie | 2011-11-10 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | Move packagedata code into oe.packagedata (sync from OE) | Chris Larson | 2011-05-20 | 1 | -64/+4 |
| | | | | | | | (From OE-Core rev: e6858627ab087f2f25ebbd6c4422eeae35f3b0ac) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | classes: Remove and sanitise import statements | Richard Purdie | 2009-11-13 | 1 | -9/+0 |
| | | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> | ||||
* | base.bbclass: Move package metadata handling functions into their own class file | Richard Purdie | 2009-02-05 | 1 | -0/+82 |