summaryrefslogtreecommitdiff
path: root/bitbake/lib
AgeCommit message (Collapse)AuthorFiles
2010-08-25bitbake/runqueue.py: Ensure rqexe always exists and that empty task lists ↵Richard Purdie1
cause a graceful exit Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-23utils.py: Fix bb.copyfile to change the permissions of the file back correctlyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20utils.py: Add a new extend_deps() to easily merge two dependency listsMark Hatle1
Add a new extend_deps function to more easily merge two dependency lists. This avoids adding duplicates, unless the value of the dependency is different. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-20bitbake/utils.py: Allow copyfile to copy files which aren't readableRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/utils.py: Improve better_exec debug outputRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake: Correctly route events from the worker to the serverRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/knotty: Exiting as soon as a fatal is seen is not desirable as the ↵Richard Purdie1
stacktrace won't be seen Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/cooker.py: Don't init the fetcher in the worker caseRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/persist_data: Attempt to fix locking issuesRichard Purdie1
It appears the timeout sometimes has no effect and we see database access failures. Combat this by wrapping the execute function in all cases and retrying manually ourselves. Thanks to Kevin Tian for help debugging this. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/data.py: Handle exceptions in export_bars in the same way as emit_var()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20bitbake/server: Raise a shutdown event if we're seeing exceptionsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/runqueue.py: Ensure the flush happens as late as possible to avoid ↵Richard Purdie1
data mixups Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/utils.py: Give useful debug information when no lineno information ↵Richard Purdie1
is available Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/runqueue.py: Fix runqueue UI issuesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake: Switch to use subprocess for forking tasks and FAKEROOTENV to run ↵Richard Purdie6
shell and python under a fakeroot environment Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake: Initial scenequeue implementation (needs major fixes)Richard Purdie1
bitbake: scenequeue: Skip setscene if the underlying task already ran bitbake/setscene: Make sure uneeded dependencies are removed recursively Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/runqueue.py: Factor task skipping code into a functionRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/runqueue.py: Create RunQueueExecute and RunQueueExecuteTasks ↵Richard Purdie1
classes, further splitting up runqueue Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/cooker.py: Allow idle handlers to pass through a true valueRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19bitbake/runqueue.py: Drop duplicated classRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-18bitbake: Split Runqueue into two classes, a data processor and the execution ↵Richard Purdie2
part Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-17bitbake/utils.py: Allow explode_dep_versions to handle the commas join_deps ↵Richard Purdie1
can introduce into strings Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-13bitbake/git.py: Make sure different branches can have different revisions ↵Richard Purdie1
without triggering build count increases Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-13bitbake/git.py: Allow tracking of branches in SRC_URI without cloning for ↵Richard Purdie2
use with fullclone Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-13bitbake/git.py: Make sure a full clone checkout always updatesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12bitbake/build.py: Note when calling functions that don't exist. Should ↵Richard Purdie1
probably error Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12bitbake/cooker: Make sure no locks are held before we start forking workersRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12bitbake/build.py: Set the current taskname in the BB_CURRENTTASK variableRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04cooker.py: Fix case of -b option with a full filepathRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04*: Fix typo in documentationBernhard Reutner-Fischer2
s/dictonary/dictionary/ (Bitbake rev: 0cc632761e75f66a8ce5ca2fe370f7551ccbfdf0) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04bitbake/build.py: Add support for pre and postfuncs for tasksRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03utils: Fix number of arguments to bb.msg functionsBernhard Reutner-Fischer1
the 'fn' argument of them is not used, should be removed anytime: sed -i -e '/^def.*fn/s/,[[:space:]]*fn[[:space:]]*=[[:space:]]*None[[:space:]]*)/)/g' lib/bb/msg.py (Bitbake rev: 1cb72e371322c271ee7f2d008c6f7899fb38b4fd) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03*: cosmetic whitespace removalBernhard Reutner-Fischer2
(Bitbake rev: 2ed36a3d57de25e1af31d657a7b0b14857e5056a) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03Add pysh, ply, and codegen to lib/ to prepare for future workChris Larson13
(Bitbake rev: d0a6e9c5c1887a885e0e73eba264ca66801f5ed0) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03Let the runqueue find the user selected scheduler dynamicallyChris Larson1
Searches the module (bb.runqueue) for any new style classes which are instances of RunQueueScheduler, and uses the one whose 'name' attribute matches the value of BB_SCHEDULER. (Bitbake rev: 6497cedf9cfc03201250af816995dd2bd85c36ef) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25bitbake: cache: If one virtual of a recipe is uncached, remove all versions ↵Richard Purdie1
from the cache Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-25bitbake: fetch: Only mark srcrev recipes as uncached when outside of SRCREV ↵Richard Purdie1
caching mode Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: Add support for .bbappend files (see mailing lists for detais)Richard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16*: use print() as a functionBernhard Reutner-Fischer1
to make python3 happy (Bitbake rev: c82926ccdd4ec4e3ad6e78a381dacb96adf9b409) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Allow passing of success/failure handlers to ↵Richard Purdie1
runqueue_process_waitpid() Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Allow taskname to be passed to check_stamp_task()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Make child process error scary so user is less likely to ↵Richard Purdie1
ignore Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Fix number of running tasks accounting (include failed tasks)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Remove unneeded exception catching from fork_off_task()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Separate out task forking code into a new functionRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Combine the waitpid result handling code into a functionRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: Remove two layers of unnecessary functions from task executionRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02bitbake: Fix handling of empty variables in local config filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Add a warning if a BBFILE_PATTERN doesn't match any bb filesChris Larson1
Likely cause is, of course, typo in the pattern or incorrect BBFILES, so we should warn the user about this. (Bitbake rev: b781317b5006bc047a59e7fa3c93344115e78ccb) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-023.0 prepChris Larson6
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>