summaryrefslogtreecommitdiffstats
path: root/bitbake
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: data: Account for pre/postfunc functions when calculating dependenciesRichard Purdie2014-02-041-2/+6
| | | | | | | | | | | | | | pre/postfuncs were not being added to checksums. This meant that when reconfiguration occurred, tasks were not always being rerun when they should. This include sstate functions as well as systemd's do_install function in the OE metadata. With the addition of postfuncs, its possible a shell task can have a python pre/postfunc so we have to guard against this when generating shell output in emit_func. (Bitbake rev: b84d010144de687667cf855ddcb41c9b863c236e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Fix race against tasks sharing stamp filesRichard Purdie2014-01-311-1/+4
| | | | | | | | | | Shared work directories work by assuming bitbake will not run more than one task with a specific stamp name. Recent runqueue optimisations accidentally broke this meaning there could be races. This fixes the code. (Bitbake rev: b1628b1a260ddf43fc9985535b1ddcfcebbb1e5b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual: Fix issue with previous revertRichard Purdie2014-01-281-1/+1
| | | | | | (Bitbake rev: 2d052690d46506ba3f4180ad5cdfa835ce85e59a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Revert "usermanual: Updated CC License to version 3.0"Richard Purdie2014-01-281-1/+1
| | | | | | | | | This reverts commit 0546bc19557de9263b448ceb1707884543d2de56. This change was not discussed with the copyright holders so the license needs to remain at version 2.5. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: siggen.py: fix the SignatureGenerator()Robert Yang2014-01-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | If we set: BB_SIGNATURE_HANDLER = "noop" Then we would get the following errors: [snip] File "runqueue.py", line 876, in RunQueue._start_worker(fakeroot=False, rqexec=None): "fakerootnoenv" : self.rqdata.dataCache.fakerootnoenv, > "hashes" : bb.parse.siggen.taskhash, "hash_deps" : bb.parse.siggen.runtaskdeps, AttributeError: 'SignatureGenerator' object has no attribute 'taskhash' [snip] This patch fixes the problem. [YOCTO #5741] (Bitbake rev: 2bfcb751891cf3b4050e996b3c8e28678c3a8bf4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Simplify pointless len() usageRichard Purdie2014-01-281-1/+1
| | | | | | (Bitbake rev: 1f2bdd1b99075babe8dba91478cfc5d3501676cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: No need for enable_proxy and same_proxy in conf fileIrina Patru2014-01-281-2/+0
| | | | | | | | | | Hob doesn't read these variable from file and bitbake doesn't use them, so they shouldn't be set in conf file. (Bitbake rev: a8c9df86b96e27dc49028c2da42034d13988960c) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Don't always save proxy values in conf fileIrina Patru2014-01-281-6/+14
| | | | | | | | | | | | If enable_proxy is not activated, Hob should not save the proxy values in the conf file when user hits save button. [ HOB #5308 ] (Bitbake rev: fbe0851221ecfcefea5bdd4b629a05ed4f5ac189) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: don't display interruptions as failsIrina Patru2014-01-281-1/+2
| | | | | | | | | | | | | | When Hob receives a bb.command.CommandFailed event, it should check if it's a log kind of information. "Forced shutdown" and "Stopped build" are messages that show when a build is not complete, but Hob considered them error. [HOB #5609] (Bitbake rev: ea1939f7ec8d8a71ce16a60c251c2413d7d91eb3) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: unsetting busy cursor after hitting Stop buttonIrina Patru2014-01-281-2/+3
| | | | | | | | | | | The busy cursor would never change after pressing Stop button. It should be set after the possible return inside machine_combo_changed_cb() method. (Bitbake rev: d440d3ad4b2d99bc20e06d2d5f5e76d07864dff3) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: hob: check if parser has attribute 'shutdown'Irina Patru2014-01-281-1/+2
| | | | | | | | | | | | It must be checked first if parser has the attribute 'shutdown' when user hits Stop button and the forceshutdown state is given. [HOB #5579] (Bitbake rev: 46943b442ea4fa778f70590b6dcce483595efaf8) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: change error_msg for CommandFailed eventIrina Patru2014-01-281-6/+1
| | | | | | | | | | | | When a bb.command.CommandFailed event is received by Hob, the error message is stored inside event.error. This information tells exactly why bitbake failed, so Hob should display it instead of the current composed message. (Bitbake rev: 24543ff6b45771712d624541ae35738d7d98f33c) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Add option of specifying indvidual tasks for targetsRichard Purdie2014-01-281-1/+6
| | | | | | | | | | | | | | | | Currently its near enough impossible to tell bitbake to run target X, task Y and target A, task B. We could hack various parts of the API around but it would mean incompatibilities. An alternative is to accept the syntax "<target>:do_<task>" as a target name. The default task would be used where the task is unspecified. This has the advantage that its neat/clean code and works from all current APIs including the commandline. (Bitbake rev: 55f6bee3114e582333a1784caeddb197b9163d02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-ref-variables.xml: Added 10 new variables to the glossary.Scott Rifenbark2014-01-271-5/+158
| | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #5472] 1. ASSUME_PROVIDED 2. BB_CURRENTTASK 3. BB_FETCH_PREMIRRORONLY 4. BB_FILENAME 5. BB_NICE_LEVEL 6. BB_HASHCONFIG_WHITELIST 7. BB_TASK_NICE_LEVEL 8. BB_NO_NETWORK 9. BB_NUMBER_PARSE_THREADS 10. STAMPCLEAN (Bitbake rev: 72a01a54c4786a7a82ae8b86b8e2beedd07f7f21) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-ref-variables.xml: Fixed references to "Build Directory".Scott Rifenbark2014-01-271-5/+4
| | | | | | | | | | | I made sure that these are lower-cased. Also, removed the tags for cross-referencing into the term section of the YP Development Manual. (Bitbake rev: f9e3de2bb3e73204ef35d102ff26ee7393056ede) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-ref-variables.xml: Editing pass.Scott Rifenbark2014-01-271-46/+47
| | | | | | | | | | Corrected grammar and applied active voice where possible. Also removed several cross-reference tags to the YP manual set. (Bitbake rev: 17cbad436c97e904a04596237022e84853b10a21) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: template/titlepage.templates.xml: Suppress Title Text.Scott Rifenbark2014-01-271-3/+22
| | | | | | | | | | | | | | | | I commented out two blocks of code that are responsible for getting the book's title to format onto the title page. Commenting the code out suppresses the title from the PDF version's title page yet retains the title text for the HTML tab space of the browser. The reason this is necessary is because the BitBake User Manual uses an image file for the title. Thus, it is not necessary to print the title again. (Bitbake rev: d7f15880c5423d91fd786e291f3e062545342184) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-customization.xsl: Updated param list to passScott Rifenbark2014-01-271-1/+7
| | | | | | | | | | I added five parameters here to match the build process used for the YP manual set. (Bitbake rev: f95994be26986098c2603ef6d4cb10f06422b790) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata.xml: Renamed section tagScott Rifenbark2014-01-271-1/+1
| | | | | | | | | | | | | There were two section tags that used the same id name "classes". One was in the intro chapter and one was in the metadata chapter. This was causing an exception in the PDF creation process and breaking it. I renamed the tag in the metadata chapter "metadata-classes". (Bitbake rev: d5f405586f7c50c602241519d32d02b1c7b1f345) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-ref-variavbles.xml: Added new glossary chapter.Scott Rifenbark2014-01-272-0/+1323
| | | | | | | | | | | Added a scrubbed copy of the YP ref-manual glossary. The content was scrubbed to contain BB variables only. Removed broken cross-references, made sure the PDF file built. (Bitbake rev: aae6bcb7fb6e056eb7b1027a8054f6ea5f8ab2b2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-bitbakecommand: Various edits/cleanupsRichard Purdie2014-01-271-74/+88
| | | | | | (Bitbake rev: f079e0886b1b191d84621057f9752cc32bfabb44) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-bitbakecommand: Standardise on section tags, not exampleRichard Purdie2014-01-271-27/+34
| | | | | | (Bitbake rev: c85a035608b7c862d964f45bb1b767fde072a1de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-bitbakecommand: Replace screen tags with literallayoutRichard Purdie2014-01-271-39/+68
| | | | | | (Bitbake rev: 4fffe48ab607fd0d2f884186006ee168874b8414) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-bitbakecommand: Reform whitespaceRichard Purdie2014-01-271-108/+245
| | | | | | (Bitbake rev: f1a6d7029e7adc147655809dca71782a143c5ac5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-bitbakecommand: Update help text output with that from ↵Richard Purdie2014-01-271-38/+60
| | | | | | | | bitbake master (Bitbake rev: bd1da5001c03cba17a4c61cfb854ab394c50e732) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-fetching: Editing pass over the manual chapterRichard Purdie2014-01-271-44/+53
| | | | | | (Bitbake rev: b0fc79e6405b7070a42cfda035e87edc832f8334) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-fetching: Change varname/emphasis tags to filenameRichard Purdie2014-01-271-50/+50
| | | | | | (Bitbake rev: 3b04c18212f3f0c22a1167dc6f62210e54ed2002) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-fetching: Change screen -> literallayoutRichard Purdie2014-01-271-39/+37
| | | | | | (Bitbake rev: e0474be77c954cac3bb9b403d6c854ff447cc02d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-fetching: Change the file whitespaceRichard Purdie2014-01-271-59/+190
| | | | | | (Bitbake rev: 7e32068d1ab4e1f342f70a8338bb8a51fc783da9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Clean up task documentationRichard Purdie2014-01-271-4/+24
| | | | | | (Bitbake rev: 55158ce6c5435544a62a60c0055724619bafde27) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Clean up task flag sectionRichard Purdie2014-01-271-10/+26
| | | | | | (Bitbake rev: b2e8c56d0f554e3b118f23b42858319110501180) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Expand parsing process docuemtnationRichard Purdie2014-01-271-1/+87
| | | | | | (Bitbake rev: 2596dd2b42c06ef258032356294cc345a6e25fed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Add section about layersRichard Purdie2014-01-271-0/+40
| | | | | | (Bitbake rev: 0a99fe01dc273c548f7f83f9a7695c21184e7331) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Add section about INHERITRichard Purdie2014-01-271-0/+9
| | | | | | (Bitbake rev: f2ffe0365df7aa9c7d6c57b6bff8a5bbed198bfb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Add section about running tasks and the ↵Richard Purdie2014-01-271-0/+74
| | | | | | | | environment (Bitbake rev: b32524643c125c78848630a5ce18d1df36313bc7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Rework section about shell/python functionsRichard Purdie2014-01-271-12/+49
| | | | | | (Bitbake rev: c2bcb5364ff7c702bc1ec2726169f608b445f979) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Add section about data store operationsRichard Purdie2014-01-271-0/+69
| | | | | | (Bitbake rev: 85ffd05f292386de1b098debb6a3d3fe18c6b6b7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Add lists of common eventsRichard Purdie2014-01-271-0/+27
| | | | | | (Bitbake rev: 240d3f0439e7c1f12e06fa738acc20fbcac8ae65) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Editing pass over the manual chapterRichard Purdie2014-01-271-105/+137
| | | | | | (Bitbake rev: 6f326f2f2785d6d48d7753abee6e8162852d8702) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Use filename tags instead of literal and ↵Richard Purdie2014-01-271-103/+110
| | | | | | | | varname tags (Bitbake rev: 56f8c4ad09c244522d68e203fe4cb76d593a9f2f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Replace screen tags with literallayout tagsRichard Purdie2014-01-271-178/+142
| | | | | | (Bitbake rev: be3967f9f088e414c679e72a947817b60bab82d7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Update whitespace (no content changes)Richard Purdie2014-01-271-247/+621
| | | | | | (Bitbake rev: 7eb1e340321ab4a5baa23e83eebf65ba13d23aef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Reorder sections to more logical orderRichard Purdie2014-01-271-92/+95
| | | | | | (Bitbake rev: 6f2bed62bde5cd20f91c336b158f60f4a6bcb82f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-metadata: Add section ids for most sectionsRichard Purdie2014-01-271-33/+59
| | | | | | (Bitbake rev: 4ad94fb161d5fe24869696187e01004bff61d569) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-hello.xml: Added new chapter for "Hello World Example"Scott Rifenbark2014-01-271-0/+321
| | | | | | | | | | | | | | | This file was evidently a "working" file and not included in the manual at the point Bill left off. The wmat branch, however, had a load of commits dedicated to this file. Rather than attempt to replay them all one-by-one, I simply copied the file from the wmat branch and hand-inserted the changes to make it equal to what was there. Note also that I re-formatted the file to have the same formatting standards I use in the YP manuals. (Bitbake rev: 9ddbf31ba7d05a596ca53b8ed78d94221850894b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual.xml: Cleanup on the title page.Scott Rifenbark2014-01-271-7/+60
| | | | | | | | | | 1. Added commented out manual revision history. 2. Cleaned up the author stuff. (Bitbake rev: df92da67ddbb2bcc672911626b9abd1a168cf436) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-intro.xml: Re-write of BitBake introduction.Bill Traynor2014-01-271-15/+40
| | | | | | | (Bitbake rev: afc998a73f09f3d1a0d7e22425badfa5b7001aa1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-intro: Various minor cleanups/improvementsRichard Purdie2014-01-271-23/+20
| | | | | | (Bitbake rev: 5e22c0c5d4bb9e63142a13618f5f87e53c83d9f2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-intro: Add obtaining bitbake and summary sectionsRichard Purdie2014-01-271-0/+83
| | | | | | | | Add new obtaining bitbake and summary sections from Bill Traynor (Bitbake rev: 083e4e44f52ffdfca68ce6c56eae85ce3b719e1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: user-manual-intro.xml: Added "Concepts" section.Scott Rifenbark2014-01-271-1/+89
| | | | | | | | | | Provided initial text for recipes, configuration files, and classes. (Bitbake rev: 55875bcf682979ce538845a8118452425ff96cfc) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>