summaryrefslogtreecommitdiffstats
path: root/bitbake
Commit message (Collapse)AuthorAgeFilesLines
* bb/ui/hob: Restore toolchain relevant preference settings for buildJessica Zhang2011-08-091-0/+2
| | | | | | | | | | Fixes [#YOCTO 1354] (Bitbake rev: c3827690b9ba3625d1df32d9517efbe13d7d9a1e) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: move some code around to avert a raceJoshua Lock2011-08-091-7/+8
| | | | | | | | | | | | | The data-generated and model-updated signals are different, the model should only be accessed *after* the model-updated signal. Move code setting the image combo's backing model to the model-updated callback to ensure the combo is accurately set when changing the machine with an image selected. (Bitbake rev: 46953d3b4595667935d43fe7b20264ae0efd1bdf) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/tasklistmodel: prevent hang when removing itemJoshua Lock2011-08-091-1/+3
| | | | | | | | | | | | | | It's possible to trigger an infinite recursion when removing a package where many of the dependencies share their dependencies. Prevent this by keeping a list of removed item names and only removing the item when it's not in the list. Addresses [YOCTO #1319] (Bitbake rev: 0ed58f28e869cceeefa930a3f1f46c5f3e9ffe21) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/cooker: mark parsed conf files as potential cache invalidatorsJoshua Lock2011-08-051-1/+1
| | | | | | | | | | | | | | | The include parameter to _parse() tells the parser whether to include the file in __base_depends, the contents of which have their mtime tested to invalidate the cache when they have changed. As I understand it we would want all of the configuration files that are currently handled with the _parse() method to invalidate the cache to set the default value of the include parameter to True. (Bitbake rev: 5cacdc4f1641eda1b5707c96f7c40924a9db6174) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: reset event handler once build completeJoshua Lock2011-08-051-0/+2
| | | | | | | | | | | The HobEventHandler passes events on to RunningBuild when a build is in progress. This patch resets the HobEventHandler to handle events when the build is complete. (Bitbake rev: 3d66d4e64a6352c01662a24ee957eddcd3fde7fc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: be clear that the image contents are an estimateJoshua Lock2011-08-041-3/+19
| | | | | | | | | Partially addresses [YOCTO #1263] (Bitbake rev: 5f079f11ca626a4a11ad728c56bde21009ddd7c8) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: only connect to the changed signal of image_combo onceJoshua Lock2011-08-041-4/+7
| | | | | | | (Bitbake rev: bb2609ba00db11b445e0af1921744b725fe96065) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/hobeventhandler: use generic loading message once cache loadedJoshua Lock2011-08-041-1/+2
| | | | | | | (Bitbake rev: 110d507c69c756657393809f57443b88841ad091) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: prevent label on progress bar from changing rapidly when loadingJoshua Lock2011-08-041-2/+2
| | | | | | | | | Fixes [YOCTO #1240] (Bitbake rev: 2cb561de9b34d0c23939a492c475230f21d87d99) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/tasklistmodel: fix regex used for loading image recipesJoshua Lock2011-08-041-1/+1
| | | | | | | | | Fixes [YOCTO #1321] (Bitbake rev: a0fb6583222f2d981a69f0dae81b40db6caaa0d5) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: fix detection of whether GPLv3 is disabledJoshua Lock2011-08-041-1/+1
| | | | | | | | | | | | | Find returns -1 if the substring isn't found, so checking for the Truthiness of the return value is insufficient. An INCOMPATIBLE_LICENSE value which only includes GPLv3 will cause find to return 0, for example. Fixes [YOCTO #1320] (Bitbake rev: 28c71e63355ca94402a9049b8a07046e7b460026) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/runningbuild: emit signal when command fails with exit signalJoshua Lock2011-08-031-0/+6
| | | | | | | | | | | | Emit the generic build-complete signal when a command fails with an exit signal enabling the UI to update itself accordingly. Addresses [YOCTO #1265] (Bitbake rev: 25ec13075855f7e321a9763682a8cd4ca09203cd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: disable editing in the build messages tree viewJoshua Lock2011-08-031-1/+1
| | | | | | | | | Addresses the second part of [YOCTO #1311] (Bitbake rev: d790386112b0beb444713a12d766bd4bd3441f56) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/runningbuild: add optional readonly mode, default offJoshua Lock2011-08-031-2/+3
| | | | | | | | | | | | | | | | In b947e7aa405966262c0614cae02e7978ec637095 Bob started to introduce code for a right-click menu, whilst most of the code is non-invasive it does enable the editable property of the gtk.TreeView which can be confusing. This change adds a readonly parameter, defaulting to False, to the RunningBuildTreeView which if True will prevent the editable property from being set. CC: Bob Foerster <robert@erafx.com> (Bitbake rev: d1d6bfab1789d8c0a4faa109bcc06b3cefe62620) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: show build messages are displayed in the order they're receivedJoshua Lock2011-08-031-1/+1
| | | | | | | | | | | Use the new sequential option of RunningBuild to ensure this. Fixes the first part of [YOCTO #1311] (Bitbake rev: 972769e6362ea3cf35c8fb7cdfbb147758d0a2f2) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/runningbuild: optionally create list entries sequentiallyJoshua Lock2011-08-031-16/+21
| | | | | | | | | | | | | | | | | | | | | In b947e7aa405966262c0614cae02e7978ec637095 Bob changed the behaviour of the RunningBuildModel such that the items are added to the model in a non-sequential order. The messages in the view being listed out of order from how they are received is undesirable for users of the hob UI, therefore this patch adds an optional sequential parameter to the RunningBuild initialiser which, when set to True, will always append new messages so that the order shown in the view is that the messages are received in. The parameter defaults to to False such that the behaviour added by Bob is preserved. Partially addresses [YOCTO #1311] CC: Bob Foerster <robert@erafx.com> (Bitbake rev: b16663e1919fddbf63d0ca7f9ad3ffdc7d1121fd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/hob: save changes to bblayers.conf when using Add Layer menu itemJoshua Lock2011-08-031-0/+1
| | | | | | | | | Fixes [YOCTO #1283] (Bitbake rev: d1f1ebbe504f5567783461946c0eb45b1e923dd8) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: remove temporary directory on program shutdownJoshua Lock2011-08-022-13/+28
| | | | | | | | | | | | Move temp directory handling into the HobEventHandler and clean up the temporary files on program close. Fixes [YOCTO #1307] (Bitbake rev: 1009ca570a750a00b0e60afcc30ead070c7b310a) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/layereditor: if layer adding fails show an explanatory dialogJoshua Lock2011-08-021-2/+18
| | | | | | | | | When adding a layer fails try to explain why to the user. (Bitbake rev: 2f7eadfdd710f84a299d6fc7be67ddb089f03ecc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/configurator: tweak addLayerConf return valuesJoshua Lock2011-08-021-2/+5
| | | | | | | | | | Use different return types when adding failed versus when the layer is already enabled. (Bitbake rev: 906854d75a12c8752efb1e4065eaf1a10b191612) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: emit a signal when a command failsJoshua Lock2011-08-021-1/+4
| | | | | | | | | If a CommandFailed event is seen emit a signal with the error message. (Bitbake rev: 15cc4fe5051dcb6ac5915e10228b5f3d3ed845bd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: show error and exit if we receive the fatal-error signalJoshua Lock2011-08-021-0/+16
| | | | | | | | | | | | | If we receive the fatal-error signal from the handler display a dialog informing the user of an error and displaying the error message. Dismissing the dialog quits the application. Fixes [YOCTO #1279] (Bitbake rev: 04dbd80bbc9ffe2a566b8cc488f0feebadcdde60) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: emit a signal when there's a fatal-errorJoshua Lock2011-08-021-2/+21
| | | | | | | | | | If the cooker encounters an error we're unable to proceed so emit a signal so that UI's can notify the user and exit. (Bitbake rev: b6f6edd5090e933ac97a65f93ea9d1b255fca811) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: unset busy cursor on exitJoshua Lock2011-08-021-0/+5
| | | | | | | | | | Prevent the busy cursor being shown after hob exits if quit is called whilst the busy cursor is set. (Bitbake rev: 7b977ff222d4a318efabd0ca5f37fa03b9acb996) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: remove unused codeJoshua Lock2011-08-021-18/+0
| | | | | | | | | Remove some unused variables and methods. (Bitbake rev: b1b02d523c6281615b72255774ed455b4cae4847) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: fix save/restore of toolchain preferencesJoshua Lock2011-08-013-2/+25
| | | | | | | | | | Add some (namespaced) custom variables to the configuration file for sake of this UI. (Bitbake rev: c9dd2592434338bdddb3cc6f42e760c86fa9e6bb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: more reliable disabling of GPLv3 packagesJoshua Lock2011-08-014-18/+41
| | | | | | | | | | | | | | | | | | | | 1. reflect GPLv3's presence in INCOMPATIBLE_LICENSE value in the UI The hob UI currently only supports GPLv3 as a value for INCOMPATIBLE_LICENSE but doesn't properly reflect whether the value is already set. This patch rectifies this. 2. don't stomp over other INCOMPATIBLE_LICENSE values when disabling GPLv3 In case the user has other values set for INCOMPATIBLE_LICENSE we don't want to overwrite the value, we want to modify it. Fixes [#1286] (Bitbake rev: 68b992922bc7148d657a1c706c6acc67812a87c0) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/providers: list PREFERRED_VERSION candidates when unavailablePaul Eggleton2011-07-271-0/+12
| | | | | | | | | | If the specified PREFERRED_VERSION is not available then list the available versions in the output. (PR is omitted.) (Bitbake rev: eea5ff9f34bb9b2e29f5fa43deb80d4aa6ef7ddc) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/taskdata: fix incorrect usage of rdependees instead of dependeesPaul Eggleton2011-07-271-1/+1
| | | | | | | | | | This looked like a copy-paste error - the code around is dealing with depends and not rdepends. (Bitbake rev: bb688635c2050da3cbbaa5aa5b00e882887695de) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: show more information for NoProvider errorsPaul Eggleton2011-07-275-9/+34
| | | | | | | | | | | | | | | | | | "Nothing PROVIDES" errors often come up when a recipe has been skipped for some reason, and therefore it is useful to print out that reason information when showing the error so that the user understands why the error has occurred. Given that we already feed the reason information into the skiplist for various situations (COMMERCIAL_LICENSE, COMPATIBLE_MACHINE etc.) this should now output a useful error message for skipped recipes. Fixes [YOCTO #846], [YOCTO #1127] (Bitbake rev: 6765218430e31c165888f26fbc75023c89a6eab2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobprefs: trigger reparse when package format changedJessica Zhang2011-07-271-0/+1
| | | | | | | | | | | | | reload_data after package format change to make the change take effects in next build. Fixes [YOCTO #1287]. (Bitbake rev: fb47c7452455f3f8d943b21dd61300ec55eea141) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cooker: populate rdepends-pkg in generatePkgDepTreeDataJoshua Lock2011-07-271-0/+3
| | | | | | | | | | | The rdepends-pkg field of the generated depend_tree model was not populated in the original implementation of this method, this series adds in the loop to populate the rdepends-pkg column of the model. (Bitbake rev: 4f9a6f6f43cf2ef38115285897fbbde01964e892) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: fix loading customised image recipeJoshua Lock2011-07-272-1/+7
| | | | | | | | | | | | | | The signal handler of the 'Base image' combo was still connected during load such that updating the UI to reflect the loaded base image triggered a change of the model. Fix this by disconnecting the signal handler when updating the displayed 'Base image'. Fixes [YOCTO #1282] (Bitbake rev: 58036a79cb79d1dff307e2cfed0e684493178507) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: work around overly aggressive package removalJoshua Lock2011-07-271-3/+22
| | | | | | | | | | | | | | | | | | | | | The mark() method, which removes dependent and rdependent items, is overly aggressive removing items which are actually required by user selected items and then causing a removal of those items. Because the data structures used are not fine grained enough to do more intelligent dependency tracking the simplest "fix" is to track removals which are marked as "User Selected" and re-add those (and therefore their dependencies) once the aggressive removal is completed. Because the aggressive removal already ignores images and tasks this should make the removal behave as expected though certainly leaves area for improvement in future. Fixes [YOCTO #1280]. (Bitbake rev: 1e1055262450de994202fc3e5943b8b19f628681) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: fix loading a saved recipeJessica Zhang2011-07-261-1/+1
| | | | | | | | | | | | | use the correct variable userpkgs instead of packages during reload saved bb file that contains user customization. Fixes [YOCTO #1289] (Bitbake rev: 2650be190afc05f9472aca8b11af99205a342838) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: don't iterate whole model in find_alt_dependency()Joshua Lock2011-07-261-10/+9
| | | | | | | | | | | The method needs to find an included item anyway so rather than iterating the entire model and checking the included status of each entry iterate over the contents gtk.TreeFilter. (Bitbake rev: 79bdd501075ff5164a8ee673a6a2a0e402978ae5) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: handle items added in by base image being removedJoshua Lock2011-07-261-1/+15
| | | | | | | | | | | | | | When building an image based on an existing image we need to correctly handle removals from that images package set. Do so by testing if any of the items brought in by the base image are removed and, if so, building an image from scratch with all of the selected packages included. Fixes [YOCTO #1232] (Bitbake rev: 812ead4900714545850698d8ce29194f4ee8db0e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: enable building an image with minimal contentsJoshua Lock2011-07-262-7/+30
| | | | | | | | | | | | This patch enables a user to build a rootfs containing only the selected packages without having to have first selected a 'Base image'. Fixes [YOCTO #1239] (Bitbake rev: 05c82da31a69c910e72b58b07afcd9fca8c55479) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: Force the 'Base image combo' to be drawn correctlyJoshua Lock2011-07-261-0/+4
| | | | | | | | | | | | | As the combo is created before its backing model it's common for the combo to be drawn at its minimum size and then grow the first time the user activates it. This slight ugly patch forces the combo to be resized as soon as the model is associated so that by the time the user interacts with the widget it is less likely to change size. (Bitbake rev: 65819447ccc96ae2af8d42cf3a31769ef3d2d26e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: change wording in build complete dialogJoshua Lock2011-07-261-2/+2
| | | | | | | | | | | | | The 'View Log' button is potentially confusing to existing users of the system who may be expecting to be shown the on disk logs of the build. Instead use 'View Messages'. Addresses [YOCTO #1222] (Bitbake rev: 105bfe3562235fb586be4b4179bb34b2e94ef234) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: don't offer to show built output if build failsJoshua Lock2011-07-261-3/+7
| | | | | | | | | | The link to open the deploy directory should only be shown if the build completed succesfully. (Bitbake rev: d947f9880c2205be66fbd61cf7d3728275979a56) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: switch from buildFile to buildTargets for custom image buildsJoshua Lock2011-07-263-32/+77
| | | | | | | | | | | | | | | We need to use the buildTargets command to ensure dependencies, such as native tools to build the rootfs, are correctly included. This patch achieves this by modifying BBPATH and BBFILES to include matches for the location of the generated recipe file and reparsing the metadata before calling buildTargets. Fixes [YOCTO #1228] (Bitbake rev: 5840d59098141e773c12bea8ed8d9f4f1a706132) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: reparse files before running other commandsJoshua Lock2011-07-261-3/+5
| | | | | | | | | | Integrate reparseFiles into the run_next_command() method rather than calling reparseFiles on the server and immediately calling other methods. (Bitbake rev: 20f7218992cfe18f1d3dcea53f2e5a7bf96346db) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: replace the ugly static command mapJoshua Lock2011-07-262-27/+35
| | | | | | | | | | | | | | The command_map was never a good idea, what's implemented here is a fraction less ugly but a significant factor more readable and therefore easy to maintain. The method implemented in this patch also has the advantage of not being static meaning we can determine the desired runCommand arguments dynamically at call time. (Bitbake rev: 8b11c68ffcda355d0ba49cfc27790d245192ae24) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cooker: only append files onceJoshua Lock2011-07-261-1/+2
| | | | | | | | | | A list can contain the same value twice, therefore only append to the appendlist for a recipe if the append file is not already in the list. (Bitbake rev: d11f9dd33cdcc97a4a937e8bf7e97558d813cadd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* command|cooker: Add reparseFiles commandJoshua Lock2011-07-262-19/+40
| | | | | | | | | | | Add command reparseFiles to reparse bb files in a running cooker instance. Fixes [YOCTO #1249] (Bitbake rev: de035ad99feb7644f99ad54804bf9f98cc776877) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake-layers: adapt to cooker change for saved environmentJoshua Lock2011-07-261-3/+4
| | | | | | | | | | The Cooker requires a copy of the environment mapping, modify bitbake-layers to take one and pass it to the cooker. (Bitbake rev: f5653e557b68a27e99a2a6a5c5a31d0ba0b56bcb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* data|cooker: use saved environment variables when calling inheritFromOSJoshua Lock2011-07-262-5/+5
| | | | | | | | | | Now that we have a pristine copy of the variables available at launch time we can use them when looking to inherit the OS's environment. (Bitbake rev: 21c21fcc5871e81d8d497b6baed605cdd74c4571) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/utils: 'Fix' bb.utils.contains() behaviourRichard Purdie2011-07-261-7/+6
| | | | | | | | | | | | | | | | | Currently bb.utils.contains(X, "A", true, false) will return true for substring matches, e.g. if X = "ABC". This is not what most users expect from the function. In the common OE use of this function there is the case of "touchscreen" and "screen" being used as independent variables. Whilst it could be argued there isn't a problem in that specific case (touchscreens are usually on screens), there is no substring usage of this function is OE-Core so this patch changes the behaviour to match only full strings. It also fixes a bug where duplicate entries would confuse multiple matches, e.g. contains(X, ["A", "B"], ...) would match X = "A A" which is clearly wrong. (Bitbake rev: 3d8647b68a8e66c7b240ed5fed7406e1b78fabf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update version to 1.13.3Richard Purdie2011-07-252-2/+2
| | | | | | (Bitbake rev: f0b5d16426b983a67c51c47f3542162108bd4156) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>