summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: cooker: Fire BuildCompleted before finishing the commandRichard Purdie2015-06-291-2/+2
| | | | | | | | | | | | | | | | | Some handlers hook on BuildComplete so it avoids certain event races to finish the command after the BuildComplete event is sent out. This means the UI is available to handle events until the command completes. What appears to be a race on one of the sanity tests for event handlers triggered this change although the failure is hard to reproduce. [YOCTO #7921] (Bitbake rev: ac66fac162e68b568f986fe1917772e61c982f8e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch/git: Fix uri in git checkstatusMarcin Smoczyński2015-06-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Pass proper repository url without arguments after a semicolon. Executing checkuri on a rule with git repository in SRC_URI does not report errors when working offline because wrong repository url is passed to the ls-remote command. For example "bitbake -c checkuri glibc" command executes: "git -c core.fsyncobjectfiles=0 ls-remote git://sourceware.org/git/glibc.git;branch=release/2.21/master" command in a shell subprocess to determine if url is valid. Shell subprocess executes in fact 2 commands: "git -c core.fsyncobjectfiles=0 ls-remote git://sourceware.org/git/glibc.git" and "branch=release/2.21/master" First one returns 127 or 128 depending on error but second one returns 0 because it is just env variable setup. Therefore we're not catching connection error. [YOCTO #7558] (Bitbake rev: cb8224f0c73c06879783665e2de39ecca7f6a350) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/utils: fix several bugs in edit_metadata_file()Paul Eggleton2015-05-231-3/+11
| | | | | | | | | | | | | | * Fix unchanged assignments being dropped if other lines changed * Fix not passing variable name from single-line assignments to the function * Fix not trimming the trailing quote from values (Bitbake master rev: 0b0c82f49cf2de887967d305768cbd95314bb171) (Bitbake rev: cd92e5dce5f5d61ecb7838bf964a7812e905509a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/utils: add function to get layer containing a filePaul Eggleton2015-05-231-0/+16
| | | | | | | | | | | | | | In certain contexts it can be useful to find the layer that a file (e.g. a recipe) appears in. Implements [YOCTO #7723]. (Bitbake master rev: 3bf9c8830c5d5eea5502230d5af84ebd87ad5849) (Bitbake rev: 8dcd83e5edb1cf3307b610d3bb8d54733ea7356d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: pass finalized metadata to scenequeue callbacksChristopher Larson2015-05-151-4/+4
| | | | | | | | | | | | This ensures that _append, _prepend, overrides, etc are functional when used on sstate variables (e.g. SSTATE_DIR). [YOCTO #7564] (Bitbake rev: 0a9eaa570fdf3862ef26ee537fc74f3be75fd554) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/utils: add safeguard against recursively deleting things we ↵Paul Eggleton2015-04-242-0/+38
| | | | | | | | | | | | | | | | shouldn't Add some very basic safeguard against recursively deleting paths such as / and /home in the event of bugs or user mistakes. Addresses [YOCTO #7620]. (Bitbake master rev: 56cddeb9e1e4d249f84ccd6ef65db245636e38ea) (Bitbake rev: 9178a708ecd75758be360a5a6bb04c77b69be5d8) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch/git: Remove a possible trailing '/' in subpathAnders Darander2015-04-241-1/+1
| | | | | | | | | | | | | | If the subpath parameter to the git fetcher ends with a trailing '/', bb.utils.prunedir() will be called on '/'... Fixes [YOCTO #7620]. (Bitbake master rev: 380a3fb372c8b0a53dd7528562e6e7a222dc76ef) (Bitbake rev: 7110055ab26d40e2a4e83956177b59a58e9cdcfd) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Ensure bbappend files are processed in a determistic orderRichard Purdie2015-03-311-7/+9
| | | | | | | | | | | | | | | | | | | | | self.appendlist is a dict and as such unordered. This can lead to cases where appends with different names (e.g. x_%.bbappend vs. x_123.bbappend) can be reordered in application which in turn reorders the variables that those bbappend files might touch. Reorderd variables changes the sstate cache signatures causing real world issues. To avoid this, use a list for the append files instead. This patch is conservative and just adds a new data structure alongside the existing one and uses it to resolve the core issue. Later patches (post release) can handle some of the wider but less problematic ones (e.g. issues in bitbake-layers flatten). [YOCTO #7511] (Bitbake rev: ba14fb2df8793aae5d671a408c2ba2145a1a7284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Revert "toaster: machine not searchable in all builds/projects"Alexandru DAMIAN2015-03-311-1/+1
| | | | | | | | | | | | | This reverts commit 1a86ed8f95649c5f5a3a66984ce36978d93b0e01. Bug [YOCTO #7334] was incompletly fixed, and the proper fix is not straightfoward. Consequently we revert the partial fix, as a incomplete fix is worse than no fix. (Bitbake rev: 2a8b3b86fe1d5b8797f740c470a4fe5b69146bf4) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: add ext4 option for IMAGE_FSTYPESAlexandru DAMIAN2015-03-311-1/+1
| | | | | | | | | | This patch adds "ext4" as a selectable option in IMAGE_FSTYPES, to keep in sync with the OE-Core capabilities. (Bitbake rev: 451e85fe8592cab0a07a6866b2853a29cc38f14b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: rename 'targets' to 'recipes'Belen Barros Pena2015-03-316-39/+39
| | | | | | | | | | | | | | | | | | | | A recent round of informal user feedback has revealed that the term 'target' is quite problematic. For all the users we spoke to the word refers to the target arch. In Toaster, it refers to the software you build. This patch replaces the word 'target' with 'recipe' across the Toaster interface. This is by no means self-explanatory, but at least it cannot be confused with target hardware, and it is also consistent with the terminology we use in the analysis portion of the interface. (Bitbake rev: ac10b5d83172feb10f1f3a3c894a54d2c4c4f09d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: prevent error on empty build listAlexandru DAMIAN2015-03-311-2/+8
| | | | | | | | | | | | This patch prevents errors being thrown on date limit computations if the build list is empty. [YOCTO #7513] (Bitbake rev: 8068539b6c2913fed66a865b547a653159d8c794) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Update to version 1.26.0Richard Purdie2015-03-252-2/+2
| | | | | | (Bitbake rev: 71316d2239a42f9914e64f26fa9141dfe3232354) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: enable sanity checkerAlexandru DAMIAN2015-03-251-1/+1
| | | | | | | | | | | Since toasterui acts as the user-facing UI, we need to run sanity checks in order to let the GUI display proper warnings and stop the build if something is wrong. (Bitbake rev: 260dd77fa771ae3b777134f4178d344e96b6f3d6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: most-build-targets bug fixesDave Lerner2015-03-253-6/+26
| | | | | | | | | | | | | | | | | | | | | | Fixes for the following for the "Most built targets" section of the project page: 1) limit the number of most built targets to 5, 2) order the list of most built targets by build count, 3) select only those builds that had build status of 'fail', 'success', or a BuildRequest of 'failed', 4) if there are no layers in the project then (on refresh) all of the checkboxes in the 'Most built targets' list are disabled. Note that per agreement with UI designer, the only sort on the most target list is build count as described in (3) above; secondary sorting is random. [YOCTO #7177] (Bitbake rev: dda2f07193e740860f4497c3761d340d8c5c2b41) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: PACKAGE_CLASSES variable does not show current value when ↵David Reyna2015-03-251-13/+27
| | | | | | | | | | | | | editing A typo in some element selectors caused the package_rpm setup to break. [YOCTO #7448] (Bitbake rev: 0479faa46f0364df6d8e151be34e1834076df49d) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: small changes to empty statesBelen Barros Pena2015-03-256-85/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit: * Makes some changes to the layout and styles of the landing.html template * Adds the empty state to layers.html * Changes the message of the empty state of machines.html to use the same wording used in all other pages * Adds the project name and the right styles to the empty state of the project.html template * Makes small changes in style and wording to the empty state of targets.html * Updates all "configure a layer source" links to point to the new Toaster manual. (Bitbake rev: d886db3add1351a806ab58ec7519d2321687187b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: hide right column if emptyBelen Barros Pena2015-03-251-0/+5
| | | | | | | | | | | | In the layer details page, if the background information about the layer that shows in the right hand column is completely empty, remove it altogether. (Bitbake rev: fe9fff960d0a6fc24e0e177e5194f93a7be9456b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: Improve messaging for empty layer detailsBelen Barros Pena2015-03-251-2/+4
| | | | | | | | | | Explain that, if information is found during the build process, it will appear in the layer details page. (Bitbake rev: 40b46ce28b0b93241f9ce581f1e295e95bbff284) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: hide release when only one existsBelen Barros Pena2015-03-251-3/+2
| | | | | | | | | | | | | | | | | | | | | If only one release has been set up in Toaster, any project you create defaults to that release, and we simply don't show the release selection menu when creating projects. However, we were still showing the release information in the project page, which would leave users wondering what that release thing is since they never were exposed to it. This patch hides the release information in the project page when only one release has been set up in Toaster. (Bitbake rev: 0bd81be04c88104d7d460f913d0500e5fa9755fe) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: update links to Toaster manualBelen Barros Pena2015-03-253-7/+8
| | | | | | | | | | | Set the links to the Toaster manual in the base.html and landing_not_managed.html templates to the URL of the new Toaster manual. (Bitbake rev: 88b1201a2f6dec53970b120cc8e13c0eb5ae21e1) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: changes to release change notificationsBelen Barros Pena2015-03-252-5/+9
| | | | | | | | | | | | | | * Remove the branch name from the list of the layers deleted (it does not apply). * In the modal dialog that warns you before layer deletion, use the release description instead of the release name (Bitbake rev: b4ffe490253108e7a009290474e206468255ce12) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: alert fixes for project release changeDave Lerner2015-03-251-4/+9
| | | | | | | | | | | | | | When a project release changes, if there are layers included with the project, then show the release branch name in the layer list. If there aren't any layers in the project, then suppress the statement on the changed layers. [YOCTO # 7168] (Bitbake rev: 24d0938001da27c7ebcf36ce076f2aa58cbcf256) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: build date range selectionsDavid Reyna2015-03-256-24/+277
| | | | | | | | | | | | | | | Enable date range selections for build start and build complete in all builds page for both managed and interactive mode. Disable the filter counts. [YOCTO #6040] [YOCTO #7249] [YOCTO #7461] (Bitbake rev: 7c86ed5fb51c6237fa40fb454e58564ef027dd51) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: build date range selections static sourcesDavid Reyna2015-03-2518-0/+24
| | | | | | | | | | | | | | | Add the static resources from jquery-ui needed for datepicker The static files are licensed MIT and produced by jQuery foundation under the jQueryUI project. [YOCTO #6040] [YOCTO #7249] (Bitbake rev: cedebbb47192be85ff0b1e4a313c6f9cf737a9c6) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: machine not searchable in all builds/projectsDavid Reyna2015-03-251-1/+1
| | | | | | | | | | | Add "build__machine" to searchable fields. [YOCTO #7334] (Bitbake rev: 1a86ed8f95649c5f5a3a66984ce36978d93b0e01) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: changes to the all projects tableBelen Barros Pena2015-03-252-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'Last build' column in the all projects table was supposed to provide the completion time stamp of the latest project build. Instead, it is showing the time stamp of the latest project activity, which includes: * when the project was created and * when the last build started but not when you make a change to the configuration. The result is that the column and the sorting are very misleading. The template is set so that the time stamp only shows when the project has builds (if 0 builds, no time stamp is shown). But of course the sorting still happens according to the value, even if it doesn't display. The result is that, when you sort by the 'Last build' column, projects with no builds appear listed between projects with builds, and you have no idea why. This patch: * changes the column label * its position in the table * makes sure the time stamp always displays * and adds help text to reflect what the data actually means. It also makes some small changes to other table headings. (Bitbake rev: 994b19ef7f633b8d463efa7022f2e17cd483a387) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Project page fix targets url and tooltip placementMichael Wood2015-03-252-3/+3
| | | | | | | | | | | | Make sure we point to the all targets page for the notification links. Also fix the tooltip placements and a minor typo on the targets page. [YOCTO #7480] (Bitbake rev: cbf3d652dcbfc1db527eb13cd796fa57d8ff3748) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layer-relative paths for config filesDave Lerner2015-03-253-2/+23
| | | | | | | | | | | | | | | | | | | | | Change bitbake variables table to show the path to the file in which the variable was defined using a layer-relative path instead of the full path to the file. The layer-relative path is found by matching on the full defining file path with entries in a list of layer names, sorted in descending order, and with 'meta' appended as a built-in layer to the end of the list. Additional filters are used to reduce false matches, although even if there is a false match, the actual path to the defining file will be obvious and not misleading. [YOCTO #7414] (Bitbake rev: ef6e854a50ea6894b0e320025280431a6fc8a9a5) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: give button nice rounded cornersBelen Barros Pena2015-03-251-1/+1
| | | | | | | | | | | | | | | | In the 'add variable' form, the submit button had a class applied that gave it straight corners on the left, and rounded corners on the right. Remove the class so that we have 4 nicely rounded corners. The patch also removes the unncessary inline styles in the same button. (Bitbake rev: 4f2a6d5b515dec4b6199cc4517cd13dcc331f3c3) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: uievent: catch and log exceptions in receiving eventsAlexandru DAMIAN2015-03-251-1/+6
| | | | | | | | | | | | This patch prevents tracebacks and instead logs exceptions that may happen during event processing. [YOCTO #7216] (Bitbake rev: 0412631fb4a15ff42bf5ee46a77920fa558ae358) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bin/bitbake: Create bitbake_main APIEd Bartosh2015-03-253-4/+394
| | | | | | | | | | Moved most of functionality of bin/bitbake to lib/bb/main.py to be able to call bitbake from python code. (Bitbake rev: d377f7f88d73f4e5d2dffef03d6acee809827ac6) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: insure IMAGE_INSTALL_append values have a space prefixDavid Reyna2015-03-211-7/+11
| | | | | | | | | | | | | When the IMAGE_INSTALL_append value is not empty, it must have a space prefix in order for the "append" operator to concatenate the values correctly, so we enforce it in this variable's submit javascript. [YOCTO #7394] (Bitbake rev: fc0cec1f38aa6f2d09434cc008a429d350a5706f) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: display machine and project values in input fieldsDavid Reyna2015-03-211-2/+2
| | | | | | | | | | | | Explicitly preset the machine and project values in their respective input fields. [YOCTO #7170] (Bitbake rev: 23c83c6a8af12ad1c008372685f7cd9f87023145) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: tasks trigger the select related tables before orderingMichael Wood2015-03-211-1/+3
| | | | | | | | | | | | | In two of the cases the data is changed from a QuerySet to a sorted list so we aren't able to use the QuerySet api at this point, moving it before the data type is changed fixes this. [YOCTO #7404] (Bitbake rev: 484797744dbe421dfeea52e9428ba63b44f1ed88) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add cancel build to latest build sectionMichael Wood2015-03-215-69/+53
| | | | | | | | | | | | | Add this functionality to the common managed_mrb_section Make sure we are using the correct version of this template in the projects template and remove now redundant code. [YOCTO #7351] (Bitbake rev: 23f1439a5d3e8f4053826794c6502eca20189054) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Incorrect breadcrumb behaviour in the project pageDavid Reyna2015-03-212-0/+7
| | | | | | | | | | | The last item in the breadcrumb for the project page should not be a link. [YOCTO #7157] (Bitbake rev: 6966d68e650c2d5655a1e747e70d35f5f037dc94) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: leave cancel enabled for release changeDave Lerner2015-03-211-1/+1
| | | | | | | | | | | | | When you click the 'change' icon to edit the project release, the "cancel" button, should always be enabled so that the user can return to the 'not editable' state at any time. [YOCTO #7151] (Bitbake rev: adcd24b97ea78fbccb870d62bd1297edae3a3487) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: recipe and layer identificationAlexandru DAMIAN2015-03-211-3/+16
| | | | | | | | | | This patch fixes the recipe and layer identification by path when Toaster uses relative paths. (Bitbake rev: a92bb33a3ceacab2bfee9df1c39a202832866970) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: fix error message parameterAlexandru DAMIAN2015-03-211-1/+1
| | | | | | | | | Fix the error message parameter. (Bitbake rev: 64b0867108d03c7e9215b80c59c1bba919e82994) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: do not throw exception on misconfigured dataAlexandru DAMIAN2015-03-211-1/+1
| | | | | | | | | | | We do not want to throw an exception while handling exceptions that may print information, so replace the exception throwing with returning data. (Bitbake rev: 624e67b0d142e5dac946ebb63bcfad0625b88799) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: builds and projects outcome filterAlexandru DAMIAN2015-03-211-2/+2
| | | | | | | | | | | | This patch fixes the Outcome filter in the all builds and all projects pages in Build mode. [YOCTO #7450] (Bitbake rev: 61f209db436344efa29fbbd34faaf3ba085c3ce3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix machines page searchAlexandru DAMIAN2015-03-211-4/+6
| | | | | | | | | | | This patch fixes the machine page search. [YOCTO #7407] (Bitbake rev: 51c6e3edf074da6ebd8b347f13dc0f88b25c0111) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: display bitbake output after process startBelen Barros Pena2015-03-212-10/+16
| | | | | | | | | | | | | | If the bitbake server exists after the initial process start, the only output displayed shows proper server start, with no debug info. This patch also brings the server log into the error message, so the user has better info about what's going on. (Bitbake rev: 6b46f436296683f7a2f72ac978ef30d0a38ad7a4) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: targets page performance improvementAlexandru DAMIAN2015-03-211-1/+4
| | | | | | | | | | | | | Yet another performance improvement, this time by forcing two-step evaluation instead of using subqueries to select data. This avoid using full-table lookups on un-indexed temporary tables. (Bitbake rev: 03e3286dcdc557a314c139b55b458d6fefcbc51c) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: improve info in the toaster_ui.logAlexandru DAMIAN2015-03-212-4/+16
| | | | | | | | | | We improve logging and signalling of errors in the toaster_ui.log to facilitate debugging on remote systems. (Bitbake rev: 3cd248f99b90367bd41aab81e255fc1912434890) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty.py: fix indentRobert Yang2015-03-191-19/+19
| | | | | | | | | It used 5 spaces as the indent. (Bitbake rev: 162d35ed53d34b28b153adf643044e7f105fcff1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix the orderkey to match the columnMichael Wood2015-03-161-1/+1
| | | | | | | | | | | | If the orderkey doesn't map to the current sort value then when hiding the column the sort doesn't get removed. [YOCTO #7262] (Bitbake rev: 4b07195405b124ff39703e1ddc226dee420fed22) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: projectconf fix typo of package nameMichael Wood2015-03-161-11/+11
| | | | | | | | | The package should be deb rather than dev. (Bitbake rev: 0d305d0ae06f5e4a3e271147e7f87c33a20fdcb2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: replace ETA with percentageAlexandru DAMIAN2015-03-162-2/+2
| | | | | | | | | | We replace the ETA (which was an inaccurate estimation) with the percentage of completed tasks. (Bitbake rev: 220f5b853fd3236b49faa5ec54c9c96050a84fa9) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>