Age | Commit message (Collapse) | Author |
|
bb.shell is unused and incompatible with current bitbake. We can resurrect it
in a more functional form when we add the text input to the goggle and ncurses
UIs.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Previously, the cache was actually being loaded from disk twice whenever using
-b or -e -b. This also moves the bb_cache instance into the CookerParser, as
it's not needed by the cooker itself at all.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
- Drop EventException
- Use FuncFailed as the primary function failure exception, using TaskFailed
for the event (leaving it up to the process running exec_{func,task} to
display the more detailed information available in the exception).
- Switch InvalidTask to an exception rather than an event, as that's a
critical issue.
- Reduce the number of messages shown to the user when a task fails -- they
don't need to be told it fails 12 times. Work remains in this area though.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
dict objects provide an __iter__ method for the iteration which gives you the
keys, so calling keys directly is unnecessary, and isn't really a best
practice. The only time you really need to call the keys is if there's a
danger of the dict changing out from underneith you, either due to external
forces or due to modification of the iterable in the loop. Iterations over
os.environ are apparently subject to such changes, so they must continue to
use keys().
As an aside, also switches a couple spots to using sorted() rather than
creating a temporary list with keys() and sorting that.
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
Add an install command similiar to the other existing commands.
Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
|
|
mutliple targets (e.g. -native and -sdk) and has been discussed on the OE mailing list
|
|
exported again (from Poky)
shell.py: When running a stage task in bbshell, run populate_staging, not the stage task (from Poky)
|
|
|
|
the empty_environment() function to clear the environment
|
|
|
|
|
|
|
|
|
|
|
|
intended
|
|
|
|
|
|
- those scripts are not called by hand by bitbake users
and most of package linting tools (lintian/Debian, rpmlint/Fedora)
complain about not executable scripts.
- if someone want to run them by hand then he will be able to do it
with calling 'python SCRIPT'
|
|
BitBake trunk is now GPLv2 only, no mix of
MIT,FreeBSD License is left.
Update GPL headers to point to the correct
address of the FSF
Update the list of authors. Uli Luckas,
Seb Frankengul and Tim Amsell contributed to
the sourcecode as well
|
|
|
|
not just the first. Also add signal handling so Ctrl+C only interrupts the main tasks upon the first keypress, the second keypress sends SIGTERM to all children
|
|
|
|
|
|
|
|
* shell: use 'rebuild' task for implementing rebuild
|
|
bitbake/bin/bitbake:
Split collect_bbfiles into collect_bbfiles and parse_bbfiles
Allow -b option to accept an expression which uniquely identifies a .bb file instead of requiring a full path
Disable BBFILES support within .bb files (it was already non-functional)
|
|
lib/bb/runqueue.py - Add fn to TaskFailure
bin/bitbake - Remove now uneeded buildProvider
|
|
|
|
bitbake/lib/bb/__init__.py:
bitbake/lib/bb/shell.py:
bitbake/lib/bb/runqueue.py:
bitbake/lib/bb/msg.py:
bitbake/MANIFEST:
bitbake/bin/bitbake:
Major rewrite and modularisation of the dependecy code. The code in bin/bitbake
is replaced by the taskdata and runqueue modules. The code is designed to support
multiple threads (although the initial threading algothirm is simplistic). The
new code is aimed to be maintainable and debuggable (once msy.py is finished).
|
|
patch courtesy Zwelch
|
|
bitbake/lib/bb/build.py:
bitbake/lib/bb/utils.py:
bitbake/lib/bb/shell.py:
bitbake/lib/bb/providers.py:
bitbake/lib/bb/msg.py:
bitbake/bin/bitbake:
bitbake/bin/bitdoc:
bitbake/classes/base.bbclass:
Start an overhaul of the message handling in bitbake:
- Introduce a new msg module to replace the existing simple calls.
- The msg module adds the conncept of message domains so ultimately we can
select which kinds of debug messages we want to see (it uses an Enum class
for this)
- Add a warn logging level for things the user should really pay attention to
as note is a little overloaded at present
- Start converting to use the new fuctions
|
|
bitbake/lib/bb/__init__.py:
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
* Move providers functions into their own file. The arguments are horrible
at present but we have to start somewhere with the cleanup and refactoring.
|
|
-Rename last trace of pastebin.com to oe.pastebin.com
(which was in a comment any way)
|
|
No need to use imp on bin/bitbake
|
|
-Make it work, mickeyl please remove old
code ;)
|
|
shell: use our private pastebin: oe.pastebin.com
|
|
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
* Remove a useless return value from loadDataFull
bitbake/ChangeLog:
* Update the changelog with recent changes
|
|
-Make it work...
|
|
bitbake/lib/bb/__init__.py:
bitbake/lib/bb/data_smart.py:
bitbake/lib/bb/cache.py:
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
* Major cache refactoring. Change the cache to store only the data bitbake needs
for dependency calculations instead of all the metadata.
* Separate the cache code into its own file.
* Update the rest of the code to work with the cache changes.
* Temporarily break the shell's poke command.
|
|
-Patch by ph5 to call the build method with the right
amount of parameters.
|
|
parser: move import bb and import os out of the commands (import in a function that's called often has a performance penalty)
lib: increase revision
shell: add 'reparse' and 'fileReparse' commands, courtesy Justin Patrin
|
|
- remove '...' in output for "SHELL: Building <a number of providees>"
- don't continue if building a number of providees and one fails
|
|
- experimental support for glob expression (wildcards) in command 'build'
- add new command 'match <providers|files> <globexpr>' to see what matches against the expression
|
|
- use shlex to parse command lines as a special service to hrw: Now you can say 'setvar FOO "this is a test"' :)
- use a command queue in the main loop to unify offline (from startup file) and online processing
- add some changes for 1.3.2. Could anyone fill in changes for 1.3.1 ?
|
|
it in file**** commands. Otherwise we would pollute
cooker.configuration.data (i.e. do_configure_append() appending
multiple times). This fixes BitBake bug #133
|