summaryrefslogtreecommitdiffstats
path: root/bitbake
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: hob-toolchain: task-core-standalone-sdk-target renamed to ↵Andrei Dinu2012-10-101-1/+1
| | | | | | | | | | | | packagegroup-core-standalone-sdk-target This change also applies to task-core-standalone-sdk-target-dbg and resolves build failures caused by the missing packages. (Bitbake rev: 4cd0200e96fb282980a945b80af641a6e022e0b4) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/imageconfigurationpage: a 'hob-image' appears listed in the ↵Cristiana Voicu2012-10-101-0/+1
| | | | | | | | | | | | | base image combo box -remove this image from image combo box [YOCTO #3230] (Bitbake rev: 90fd57ee3cb2856c10bda1f5af4879d2b7cf2668) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hobeventhandler: Describe the runCommand failure exceptionConstantin Musca2012-10-101-1/+3
| | | | | | | | | [YOCTO #1245] (Bitbake rev: 17f28f09452f70dfb67fce9a397a99deec84dfe5) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hobeventhandler: Throw an exception if runCommand failsConstantin Musca2012-10-101-1/+6
| | | | | | | | | | | | - throw a Hob exception if runCommand returns 'Busy' or 'No such command' [YOCTO #1245] (Bitbake rev: 5a8e3baa66f845599a616f080a7efce81ecda631) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/imagedetailspage: disable the deploy tool for qemu machinesConstantin Musca2012-10-031-0/+2
| | | | | | | | | | | | - qemu images cannot be deployed to hardware, even if live images (hddimg and iso) files are created [YOCTO #3196] (Bitbake rev: 001b1c439ffa450cb8728b0fa9469fed63ae9bed) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: alignment and spacing fixes on "Shared state" tabCristiana Voicu2012-10-031-29/+43
| | | | | | | | | | | -alignment and separation on vertical and horizontal axis -change controls width [YOCTO #3188] (Bitbake rev: a84c466eae7c2616c041faf930163f23834f0685) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/image_details/run_image: Kernel must be setIoana Grigoropol2012-10-031-2/+2
| | | | | | | | - when displaying image details, even if the kernel information is not shown, the kernel value must be set (if dealing with qemu) otherwise running the image will throw an error (Bitbake rev: 334125a98ecb8a938aee4bc530205ad75099361c) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: raise an exception if user specifies protocol=git with http://Paul Eggleton2012-10-031-0/+3
| | | | | | | | | | | | It is a common mistake to use http:// and protocol=git when attempting to fetch from a git repository using the http protocol; if this is detected then throw an error explaining that you need to use git:// with protocol=http instead. (Bitbake rev: 5bc4930c1638db16bcd5f9c8cfc4081f9ffc192b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: providers.py: Fix PREFERRED_VERSION containing epochsRichard Purdie2012-10-031-1/+1
| | | | | | | | | | | | | For some reason the code calls int() on the epoch component of any PREFERRED_VERSION. Since this is compared against strings, the comparison would always fail. This removes the stray cast and allows epochs in preferred_version to work correctly. [YOCTO #3187] (Bitbake rev: 117b47553970fc5307374cbf500744b7c302efb4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hobpages: Generate the title label every timeConstantin Musca2012-10-021-0/+1
| | | | | | | | | | | | - the title label is destroyed at page switching (that's why we need to generate it every time) [YOCTO #3195] (Bitbake rev: d6d991c08f66cf9ab27c53075109212ea9129380) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Improved behavior for error reporting windowCristian Iorga2012-10-021-0/+1
| | | | | | | | | | | | Scrollbars have now an automatic behavior, depending on the error's text size and error window size. Fixes [YOCTO #2983] (Bitbake rev: 0c0a25672498520fb2c46164f08959dda83c61e0) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Update version to 1.16.0Richard Purdie2012-10-022-2/+2
| | | | | | (Bitbake rev: a579754a04bdcf450e6957dde614a15c11df39e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Further improvements to hob dialogsBogdan Marinescu2012-10-021-6/+23
| | | | | | | | | | | | | | | 1. Replace some labels in the "Build environment" tab 2. 'defaultsetup' changed to 'Default' in the "Image types" tab 3. Fixed the moving icon in the "Output" tab For more details: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2162 [Yocto #2162] (Bitbake rev: db7d98569117b7a75262eb555e1c7ae9a421bdf8) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Fix 'User selected' tag functionalityConstantin Musca2012-10-022-6/+13
| | | | | | | | | | | | | | | - the 'User selected' tag is only used when the user selects a package - fix hob to remember which packages are 'User selected' - if the package is already brought in by some other package, it should not appear as 'User selected' [YOCTO #3108] (Bitbake rev: 2391e9ba7034d4f90bafa5732d8efa8166f69950) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: Change the 'Delete' button behaviour in the shared ↵Cristiana Voicu2012-10-021-16/+21
| | | | | | | | | | | | | | state settings tab -the tab shows an empty mirror row when no mirror is configured -able to delete the mirror row even if it's not empty(if it's not the first mirror) [YOCTO #3189] (Bitbake rev: d6472608112b8af2e98f247e6f89a7f948b2d020) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/image_details: Remove kernel info from detailsIoana Grigoropol2012-10-021-12/+12
| | | | | | | | | | | - removed kernel information from image details [Yocto #3002] (Bitbake rev: 7fc33f0a8a38d9b8984bf884e47e505791536d16) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/utils: Add test for explode_dep_versions2Richard Purdie2012-10-021-0/+15
| | | | | | (Bitbake rev: b1b0aabfab3c94c3b515070d0fb4d7819e2548bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Add explode_dep_versions2 to replace explode_dep_versionsRichard Purdie2012-10-021-6/+21
| | | | | | | | | | | | | | | | The API for explode_dep_versions is flawed since there can only be one version constraint against any given dependency. This adds a new function with an API without this limitation. explode_dep_versions() is maintained with a warning printed when its used in a situation where information is lost. This should allow a simple transition to the new API to fix the lost dependency information. join_deps() is updated to deal with data in either format. (Bitbake rev: babeeded21827d8d3e7c7b785a62332ee9d45d4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils.py: Allow explode_dep_versions comparisons to have arbitrary ↵Mark Hatle2012-10-021-15/+47
| | | | | | | | | | | | | | | | | | | whitespace Refactor the explode_dep_versions to be more lenient on whitespace values. The required format is: foo (= 1.10) foo (=1.10) foo ( = 1.10) foo ( =1.10) foo ( = 1.10 ) foo ( =1.10 ) (Bitbake rev: 39c1c12c58fadd854098cf14ebe92f4d307a36dd) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils.py: Check for duplicate dependency entriesMark Hatle2012-10-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | explode_dep_versions is not able to have duplicate entries. Previously duplicate entries ended up with the last item being the one returned to the caller. We now detect a collision. We do allow an empty item to have a comparison added to it, or a duplicate with the same comparison without error. When a collision is detected a ValueError exception is thrown. Allowed: foo foo (= 1.12) foo Invalid: foo (= 1.12) foo (= 1.13) (Bitbake rev: d40448f0483a2959e9dcaac9b6dd35839f396a6e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fix bad merge of #2162Bogdan Marinescu2012-09-281-19/+4
| | | | | | | | | This patch fixes the bad merge of #2162 fixes on master. (Bitbake rev: 5b84d88f2a47063197f9a20f8ebf0a7ccf22c2eb) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Error reports are done in a clearer wayCristian Iorga2012-09-282-18/+46
| | | | | | | | | | | | | | | | | | | For long errors (bigger than 200 letters), the text box is scrollable and resizable and text is selectable. Additionaly, all message dialogs are modal. Otherwise, a user could still interact with hob even in an error case, leading to potential problems. See design details in related bugs. Fixes [YOCTO #2960], [YOCTO #2983] (Bitbake rev: be8bf02f2b347edf5514cafc6cb6a44f71118736) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builddetailspage: fix failure_primary_action_button_clicked_cbConstantin Musca2012-09-281-1/+1
| | | | | | | | | [YOCTO #3194] (Bitbake rev: 660a449bdfd154fed556024f166e69c6931ff634) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builddetailspage: remove "back" buttonCristiana Voicu2012-09-281-2/+0
| | | | | | | | | | | | When a build fails, there should not be a back button on the screen. All available actions are provided within the failure notification, so no back button is needed. [YOCTO #3104] (Bitbake rev: 03f978d21c7bfbf5f1afc741a43766030f2882a8) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: Allow displaying of status when no tasks are activeRichard Purdie2012-09-281-2/+5
| | | | | | | | | | | | The console can appear to hang when no tasks are executing even if bitbake is iterating through a large number of tasks behind the scenes. This patch tweaks the footer code to display a status even when no tasks are active to give the user better feedback about what is happening. (Bitbake rev: 0a950ee14fce3a0cb938c22d7c717dc93ce6e25f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: parse/ConfHandler: Add negative lookahead to spot some quoting problemsRichard Purdie2012-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | Syntax like: FOO = "bar" # eek" would result in FOO taking the value 'bar" #eek' which is clearly not the intention. Whilst our metadata is riddled with mixtures of even quotes like: FOO = "d.getVar("X")" odd numbers of quotes seem rare. This patch adds detection of one odd quote which we don't have any of in OE-Core so it seems a valid sanity improvement. (Bitbake rev: 5f892d9b083550e20e37576070ec7d1a94cc88fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: set modal flag on progress dialogRoss Burton2012-09-281-1/+2
| | | | | | | | | | | The entire interface isn't usable whilst the progress dialog is up so we might as well set the modal flag so that some WMs (such as GNOME 3) can do nice things with the dialog (such as pin it to the titlebar). (Bitbake rev: 9a19fe8e8c65b75dbbb4ae5401df6d6838495bdd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: implement a new tab in settings dialog to show ↵Cristiana Voicu2012-09-282-0/+0
| | | | | | | | | | | | | | | | SSTATE_MIRRORS Add a new tab to show correctly SSTATE_MIRRORS variable. Now you can add new mirrors or delete mirror. "info" image was also changed( it is smaller, so it can be next to labels). >From "Build environment" tab, SSTATE_DIR and SSTATE_MIRRORS vars were removed. [YOCTO #2893] (Bitbake rev: ae27a7cf4d31a1b99840a761a27fd6256cb1dd9b) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Add missing file from previous commitRichard Purdie2012-09-281-0/+85
| | | | | | (Bitbake rev: 5bc0f0e70f7272ff84aaeca43dcf4bb4bc0f5c3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builder: When you stop a build, Hob should tell you stopping is ↵Constantin Musca2012-09-271-0/+2
| | | | | | | | | | | | | | happening - use the progress bar text to indicate the stopping status - the text should say: 'Stopping the build...' [YOCTO #3152] (Bitbake rev: 6f59db920ca4f527606670969c79afbf34eaff81) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/data.py: improve output for expansion errorsPaul Eggleton2012-09-272-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Instead of logging the function/variable separately as a NOTE when failing to expand, re-raise ExpansionError with more contextual information. This means that the full details are reported in Hob as well as actually reporting the original error message in any UI where we previously did not. For example, we used to get this with tab/space indentation issues in a python function: NOTE: Error expanding variable populate_packages ERROR: Unable to parse /path/to/recipename.bb Now, we will get this: ERROR: ExpansionError during parsing /path/to/recipename.bb: Failure expanding variable populate_packages: IndentationError: unindent does not match any outer indentation level (<string>, line 4) Fixes [YOCTO #3162]. (Bitbake rev: ce5c7a95a359cdaecab7c4a519ad4f9df029da82) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: adjust layer dependency error messagesPaul Eggleton2012-09-271-3/+3
| | | | | | | | | Make these a little easier to understand. (Bitbake rev: 84ab874c8818484d37ee438aab27486fff497705) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/recipeselectionpage: recipes should not be shown brought in by ↵Cristiana Voicu2012-09-271-0/+4
| | | | | | | | | | themselves [YOCTO #3107] (Bitbake rev: 2cc5f517224cee8e2dd2b045a277423ce66ec886) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: add "-d" option to cpioRobert Yang2012-09-271-2/+2
| | | | | | | | | | | | | | Add "-d" option to cpio since it is useful: -d --make-directories Create leading directories where needed. [YOCTO #3137] (Bitbake rev: a78f9ded7896432b107f34c0bb608b389fdb676a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Multiple user interface fixes in settingsBogdan Marinescu2012-09-272-54/+150
| | | | | | | | | | | | | | | | | | | 1. Move the "Others" tab from advanced settings to simple settings 2. Organize content of tabs into headings 3. Match various labels in the settings with the design 4. Clean up config_md5 in both simple and advanced settings This patch implements a part of the changes requested by Belen in the settings dialogs. The second version of the patch addresses all the UI changes requested by Belen (more details are in the bug description): alphabetical ordering of the image types and warnings if no image type is selected. [YOCTO #2162] (Bitbake rev: b45438555ecf2e25ebb99324a18d31c812a2738a) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/runningbuild: Add missing logging level argumentConstantin Musca2012-09-271-1/+1
| | | | | | | | | [YOCTO #3170] (Bitbake rev: d11fe38a38adc10eedec3b4c251c575b95339774) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Add sanity check progress screenBogdan Marinescu2012-09-274-17/+120
| | | | | | | | | | | | | | | | | | | | This patch adds a sanity check progress screen to hob. The screen is displayed when Hob executes the sanity check procedure. The screen is displayed for at least 5 seconds. If a network error is detected, a special dialog is displayed which lets the user open the proxy configuration page directly. Note that currently bitbake triggers the network tests only when the value of its TMPDIR variable changes, which happens fairly rare on my system. This is the subject of another bug (#3026). Version 2 of the patch splits the changes in two parts (sanity.bbclass belongs to oe-core). [YOCTO #3025] (Bitbake rev: b48f1351271cc066ffe919db112b14834a6d8f8f) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builddetailspage: change branch fieldCristiana Voicu2012-09-271-0/+2
| | | | | | | | | | | | When a user makes a build from a tarball, it shows fatal error in branch field. Now it not complains as a fatal error. It is a normal message. [YOCTO #3114] (Bitbake rev: 53d5d542cd0197ca67c5f90a57808af2f19ff56d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Buttons width and height are taken for hostIoana Grigoropol2012-09-276-30/+100
| | | | | | | | | | | | | - removed all set_size_request calls for buttons in order to: - force autosizing of buttons with regard to the text length - use host theme default height for buttons - modified buttons on image details page to have the same height (default host one) and the width of the button with the largest text - modified Stop button on build details page to have the default height by directly attaching it to the containing table instead of hbox (Bitbake rev: 9cdfaa17309d368c3bbae0f1cce0ad875d340e83) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: implement a new tab in settings dialog to show ↵Cristiana Voicu2012-09-274-21/+175
| | | | | | | | | | | | | | | | SSTATE_MIRRORS Add a new tab to show correctly SSTATE_MIRRORS variable. Now you can add new mirrors or delete mirror. "info" image was also changed( it is smaller, so it can be next to labels). >From "Build environment" tab, SSTATE_DIR and SSTATE_MIRRORS vars were removed. [YOCTO #2893] (Bitbake rev: 1a81e27365d969e4ad4b4f0aec290aa967a8a35f) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/git: Don't use deprecated API1.3_M5.rc2Richard Purdie2012-09-251-1/+1
| | | | | | (Bitbake rev: 8e650b3307b60cfe8e7439ea6891c3a85f785af9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/packageselectionpage:cancel button should redirect to Image ↵Cristiana Voicu2012-09-251-3/+3
| | | | | | | | | | | | conf screen Cancel button brings you to Image configuration page. [YOCTO #3105] (Bitbake rev: 88cd9586f0f6a413c1a6800b3e57444f453afb73) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builddetailspage: change tooltips and remove a dialog from ↵Cristiana Voicu2012-09-251-2/+7
| | | | | | | | | | | | | "Build stopped" message When you stop a build, a "Build stopped" message appears. I have changed 2 tooltips and also eliminate the alert that comes up when you click 'Edit packages'. [YOCTO #3160] (Bitbake rev: f5a21da2faf7ede56cf211b96dffd8aaa4b485b8) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: Unbuffer stdout for log filesJason Wessel2012-09-241-0/+8
| | | | | | | | | | | | | | | | | | | | It is possible to lose critical log data when python exits in an unorderly fashion via segmentation fault or certain types of crashes. This is because the buffer characteristics are inherited from the top level stdout, which should be set to unbuffered, for the purpose of all the forked children. This pushes the buffering to the OS, instead of having python managing the buffers in its stream handler class. This change is also to provide the ability to tail logs written from processes in "real time" because they would be written in an orderly fashion depending upon the OS characteristics for the file I/O. (Bitbake rev: c6a367bc3224adafca698a4ffc5414ad83842c16) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: event.py, knotty.py, ncurses.py, runningbuild.py: Add support for ↵Jason Wessel2012-09-244-0/+45
| | | | | | | | | | | | | | | | | | | | | | LogExecTTY event The LogExecTTY even is intended to provide the ability to spawn a task on a the controlling tty, if a tty is availble. When a controlling tty is not availble the previous behavior is preserved where a warning is issued about the action an end user must execute. All the available UI's were tested against the new event type. This feature is primarily intended for hooking up a screen client session automatically on the controlling tty to allow for a more streamlined end user experience when using a pure command line driven environment. The changes that send the LogExecTTY event are in the oe-core side. (Bitbake rev: cffe80d82a46aaf52ff4a7b6409435754043553f) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: progress.py: Fix traceback when running goggle uiJason Wessel2012-09-241-0/+3
| | | | | | | | | | | | | | | | | | | | The following traceback appears when running the following command after the devshell is exited. bitbake -u goggle -c devshell busybox -- traceback -- Traceback (most recent call last): File "/work/bitbake/lib/bb/ui/goggle.py", line 35, in event_handle_idle_func build.handle_event (event, pbar) File "/work/bitbake/lib/bb/ui/crumbs/runningbuild.py", line 299, in handle_event pbar.set_text(event.msg) AttributeError: 'ProgressBar' object has no attribute 'set_text' (Bitbake rev: a6cc53cdb3c34fc8fd01bbc5ce0008429dc6785c) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Add --no-setscene to skip all setscene tasksJason Wessel2012-09-242-6/+9
| | | | | | | | | | | Mainly intended for the purpose of debugging or forcing builds from source, the --no-setscene will prevent any setscene tasks from running. (Bitbake rev: 440e479f3e248482c38c149643403c6907ac7034) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/git: Add missing mkdirRichard Purdie2012-09-241-0/+1
| | | | | | | | | | bitbake-selftest is failing due to directories not being created. This adds in an appropriate mkdir so the tests can complete. Presumably in general OE use, something else is ensuring the parent directory is created. (Bitbake rev: 1270a07713e2a6c6e6fadcc61b785aebc99ae17b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: improve error output for checksum failuresPaul Eggleton2012-09-241-3/+6
| | | | | | | | | | | | | | | | | | | * Don't print the full exception in the initial warning - if we later succeed in fetching the file from a mirror, we won't usually need the details (which are in the fetch log if they are needed); otherwise the full error will be printed when the fetch operation fails. Also adjust the conditional block so that we don't print another warning just mentioning we're going to try mirrors. * Call logger.error() so that with knotty the full log is not printed * Provide an explanation around the lines we print for easily updating the checksums in the recipe. We don't want users to be just blindly updating the recipe in case of a transient failure or deliberately altered remote file. (Bitbake rev: 2793413106c925b06783beb7413aa87cbcf246c3) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: make fetch failure errors more readablePaul Eggleton2012-09-241-1/+7
| | | | | | | | | | | | | Most of the time we don't need to see the fetch command; the fetch log includes the command as a debug message in any case, so omit it. Also adjust the way command output is printed (we don't need stderr/stdout labelled, and print "no output" instead of "output:\nNone" when there is no output. (Bitbake rev: a75505a52e4da918222100221f79e8a658f90446) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>