Chris Larson [Fri, 18 Jun 2010 15:06:37 +0000 (08:06 -0700)]
Fix syntax error in shell.py
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 19 Jun 2010 00:31:37 +0000 (17:31 -0700)]
Add missing 'return False' to the SystemExit handler in runAsyncCommand
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 18 Jun 2010 16:21:31 +0000 (09:21 -0700)]
Move serverConnection.terminate() back into the finally
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 17 Jun 2010 20:52:53 +0000 (13:52 -0700)]
Limit the traceback length in the default exception handler
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 16 Jun 2010 13:53:24 +0000 (06:53 -0700)]
Switch from our own 'dummywrite' class to StringIO
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 16:14:39 +0000 (09:14 -0700)]
Switch a fatal usage to SystemExit ("T" not set)
This failure is one the *user* needs to see, as it may have to do with their
setup, but where they don't need to see a traceback and all, since they're not
developers, so I think SystemExit is appropriate here.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 16 Jun 2010 17:15:08 +0000 (10:15 -0700)]
Resurrect the excepthook, this time just sending the info with bb.fatal
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Cliff Brake [Wed, 16 Jun 2010 00:29:54 +0000 (17:29 -0700)]
remove return in finally statement
causes exceptions to not be handled after the finally statement
Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Chris Larson [Thu, 10 Jun 2010 22:09:55 +0000 (15:09 -0700)]
cooker: Kill __getitem__ usage on exception objects (python 3 prep)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 17:21:41 +0000 (10:21 -0700)]
Handle SystemExit and KeyboardInterrupt sanely when executing a command
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 17:36:06 +0000 (10:36 -0700)]
Drop unnecessarly duplicated messages wrt FuncFailed
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 17:23:03 +0000 (10:23 -0700)]
knotty: use the future division to prep for 3.x
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 17:36:19 +0000 (10:36 -0700)]
Kill the unnecessary setVarFlag debugging message
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 17:46:57 +0000 (10:46 -0700)]
Add exception bits to TODO
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 17:44:20 +0000 (10:44 -0700)]
knotty: stop freaking out and dying when bb.build has removed the empty logfile
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 16:46:02 +0000 (09:46 -0700)]
Use bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 16:43:39 +0000 (09:43 -0700)]
Use PendingDeprecationWarning for functions moved from bb to bb.utils
This is necessary, as there has not yet been a release with the bb.utils
versions in place. We can't show them a deprecation warning when they can't
safely change it yet. Show a PendingDeprecationWarning until 1.10 releases
and OE requires it, then we can move to DeprecationWarning.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 15:32:03 +0000 (08:32 -0700)]
Add fatal bits and LAYERDIR bits to TODO
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 14:47:16 +0000 (07:47 -0700)]
Start ditching fatal() calls in favor of raising appropriate exceptions
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 15:05:33 +0000 (08:05 -0700)]
Drop the non-debug traceback suppressor, at this point I think it does more harm than good
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Ryan Phillips [Tue, 8 Jun 2010 19:20:55 +0000 (14:20 -0500)]
Change wget fetcher to use the runfetchcmd
* Fixes proxy support to honor standard proxy environment variables.
* Quote environment variables
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 10 Jun 2010 02:26:21 +0000 (19:26 -0700)]
Show a traceback when a task fails due to an exception
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 9 Jun 2010 22:06:02 +0000 (15:06 -0700)]
Update the TODO
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Wed, 9 Jun 2010 16:06:57 +0000 (18:06 +0200)]
parser: fix harmless typo in variable name
s/absolsute/absolute/
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Chris Larson [Wed, 9 Jun 2010 00:03:34 +0000 (17:03 -0700)]
Fix the silent exit when the specified task doesn't exist
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 8 Jun 2010 20:20:35 +0000 (13:20 -0700)]
Move the output of no provider and multiple provider messages into the UI
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 8 Jun 2010 19:28:36 +0000 (12:28 -0700)]
Reorganize the main exception handling so an attribute exception raised in the ui isn't misinterpreted
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 8 Jun 2010 18:42:49 +0000 (11:42 -0700)]
Make knotty ignore the NoProvider event
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 8 Jun 2010 15:01:16 +0000 (08:01 -0700)]
Don't tell the user we're sending SIGINT to the remaining 0 tasks
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Mon, 7 Jun 2010 18:50:05 +0000 (20:50 +0200)]
cooker: use time.strftime() instead of spawing sh with date
time.strftime() defaults to using time.localtime(), use that instead
of spawning "sh -c 'date +<FMT>'"
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Chris Larson [Fri, 4 Jun 2010 23:44:07 +0000 (16:44 -0700)]
Adjust the exception handling based on Cliff Brake's patch
Rather than printing the exception ourselves, might as well re-raise and let
the default exception handler do it for us.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Robert P. J. Day [Thu, 3 Jun 2010 09:58:09 +0000 (05:58 -0400)]
Fix a couple typos in the CVS Fetcher section.
"DL_DIRS" -> "DL_DIR"
Remove superfluous trailing ">" after CVSDIR.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Robert P. J. Day [Thu, 3 Jun 2010 09:26:17 +0000 (05:26 -0400)]
Fix a couple typos in setup.py.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:42 +0000 (14:04 +0200)]
cache: do not chdir unnecessarily
previously we called chdir() twice for every target, this patch reduces
the amount of chdir() calls via openembedded master from some 16000 to
4.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:41 +0000 (14:04 +0200)]
persist_data: cache connection and use cursor
Store database connection to persistent database in fetcher.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:40 +0000 (14:04 +0200)]
cache: use a set() for __depends
to make updating depends easier/more intuitive/eventually faster
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:39 +0000 (14:04 +0200)]
cache: use max() to determine newest_mtime
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:38 +0000 (14:04 +0200)]
cache: use os.path ops instead of stat
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 4 Jun 2010 20:10:00 +0000 (13:10 -0700)]
Make the file not found error actually useable.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:37 +0000 (14:04 +0200)]
fetch: commentary typo fix in fetcher_init()
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:36 +0000 (14:04 +0200)]
cache: fix typo in error message of cacheValidUpdate()
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:35 +0000 (14:04 +0200)]
fetch: documentation typo fix
s/initilize/initialize/
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Khem Raj [Wed, 5 May 2010 05:56:49 +0000 (22:56 -0700)]
fetch: Check for existence of tar file along with md5 signature
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 22 May 2010 23:36:08 +0000 (16:36 -0700)]
Revert "In expand, drop the unnecessary second regular expression match"
This reverts commit
05462fa7908fc22988b3dc9d376798d0a46ccb5a.
Chris Larson [Tue, 20 Apr 2010 21:23:18 +0000 (14:23 -0700)]
Don't emit vars starting with __, as those are internal
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 21 May 2010 20:08:44 +0000 (13:08 -0700)]
In expand, drop the unnecessary second regular expression match
Signed-off-by: Imran Mehmood <imran_mehmood@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 21 Apr 2010 17:57:17 +0000 (10:57 -0700)]
Simplify _findVar a bit
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 21 Apr 2010 23:47:10 +0000 (16:47 -0700)]
Fix major bug that slipped in when moving update_data
The root cause is, I was testing the use of renameVar() from finalize, in
order to get flags copied over when an override is applied, but renameVar
removes the original, whereas the old code did not do so. Going back to the
old method, will revisit the override/flags later on.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 21 Apr 2010 01:47:36 +0000 (18:47 -0700)]
Move a var definition in cooker.parse_next
Signed-off-by: Chris Larson <clarson@kergoth.com>
Chris Larson [Tue, 20 Apr 2010 22:56:20 +0000 (15:56 -0700)]
Enhance the expansion exception message
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 20 Apr 2010 22:54:42 +0000 (15:54 -0700)]
For ${@}, run str() on the result
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 20 Apr 2010 20:44:06 +0000 (13:44 -0700)]
Allow emission of non-string objects in emit_var, instead running str() on it first
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 20 Apr 2010 20:51:35 +0000 (13:51 -0700)]
emit_env: clean up, iterate once
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 20 Apr 2010 19:23:41 +0000 (12:23 -0700)]
Fix the debug level check in print_exception
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Tue, 20 Apr 2010 18:53:31 +0000 (11:53 -0700)]
Don't try to expand non-string values
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 15 Apr 2010 15:45:15 +0000 (08:45 -0700)]
Move the python version check into the python package
This ensures the check is run for anyone using the package, including
setup.py, though it's sad that it's necessary, since all it really wants is
__version__.
Ideally, we'd avoid the version check entirely in favor of checking for
functionality, but that's rather difficult with language constructs like
context managers, so this'll do for now.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 15 Apr 2010 15:14:53 +0000 (08:14 -0700)]
Drop an unnecessary second python version check and use the less ugly sys.version_info
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 15 Apr 2010 15:05:10 +0000 (08:05 -0700)]
Bump version to 1.11.0
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 15 Apr 2010 14:49:54 +0000 (07:49 -0700)]
Move the python version check before the module imports, in case the modules utilize the newer python features
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 14 Apr 2010 21:38:18 +0000 (14:38 -0700)]
Search up the directory tree for bblayers.conf
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 14 Apr 2010 21:30:09 +0000 (14:30 -0700)]
Add a hack to avoid the req that all vars using LAYERDIR be immediately expanded
See the comment in the code for details.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 14 Apr 2010 21:27:29 +0000 (14:27 -0700)]
Move the unset BBPATH sanity check after the bblayers processing
This way we can fully utilize bblayers, you can do everything in bblayers.conf
and avoid setting any environment variables at all.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Mon, 12 Apr 2010 15:14:11 +0000 (08:14 -0700)]
Kill unnecessary usages of the types module
types.IntType -> int
types.StringType -> basestring
...
Also moves our ImmutableTypes tuple into our own namespace.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Mon, 12 Apr 2010 00:03:55 +0000 (17:03 -0700)]
Apply some 2to3 transforms that don't cause issues in 2.6
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Mon, 12 Apr 2010 00:21:14 +0000 (17:21 -0700)]
Add __contains__ to COWDictMeta
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sun, 11 Apr 2010 23:39:24 +0000 (16:39 -0700)]
Drop unused bb.data.expandData function
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sun, 11 Apr 2010 05:07:43 +0000 (22:07 -0700)]
Ignore deprecation warnings for now
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sun, 11 Apr 2010 05:05:02 +0000 (22:05 -0700)]
Switch some references to moved functions
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sun, 11 Apr 2010 05:04:52 +0000 (22:04 -0700)]
Add a missing import of print_function
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 02:46:14 +0000 (19:46 -0700)]
Apply the 2to3 print function transform
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 23:51:09 +0000 (16:51 -0700)]
Deprecate the usage of certain objects via certain modules
As an example, this displays a deprecation warning for the use of
"bb.encodeurl" when you should be using "bb.fetch.encodeurl". It includes a
convenience function for this purpose. It should be of use when moving
objects between modules permanently, changing the API the user sees.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 21:01:11 +0000 (14:01 -0700)]
Exception handling fixups
Chris Larson [Thu, 25 Mar 2010 00:05:38 +0000 (17:05 -0700)]
Add some missing docstrings
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 18:51:29 +0000 (11:51 -0700)]
Drop __all__ usage
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 22:42:53 +0000 (15:42 -0700)]
Drop some unused functions
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 22:16:17 +0000 (15:16 -0700)]
Drop some unused classes
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 18:47:08 +0000 (11:47 -0700)]
Drop some unused vars
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 17:22:29 +0000 (10:22 -0700)]
Import fixups
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Wed, 24 Mar 2010 23:56:12 +0000 (16:56 -0700)]
Formatting cleanups
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 22:56:14 +0000 (15:56 -0700)]
Don't run metadata event handlers for bb.msg events
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 00:11:03 +0000 (17:11 -0700)]
Stop using functions via 'bb' that were moved from there to other modules
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 02:34:07 +0000 (19:34 -0700)]
Add a function to get the debug level, without poking into debug_levels manually
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 02:33:04 +0000 (19:33 -0700)]
Fix invalid logging domain warning
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 02:29:56 +0000 (19:29 -0700)]
Bump minimum python version check to 2.6.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 02:27:21 +0000 (19:27 -0700)]
Make the default domain a proper domain, not a string
This lets you do -l Default on the commandline to bump the debug level of
messages with no domain, without bumping the level of everything else.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 02:22:52 +0000 (19:22 -0700)]
Implement bb.msg.domain as a named tuple, drop the Enum class
Also fixes some bb.msg references from within bb.msg.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Sat, 10 Apr 2010 00:55:11 +0000 (17:55 -0700)]
Fix an error in the ncurses UI
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 22:55:55 +0000 (15:55 -0700)]
Display python warnings via bb.msg
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 22:55:17 +0000 (15:55 -0700)]
Immediately display messages if no UI handlers are installed yet
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 20:25:58 +0000 (13:25 -0700)]
Use __import__ for the ui rather than exec
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 20:25:34 +0000 (13:25 -0700)]
Fix the task event handling in the ncurses UI
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 19:33:29 +0000 (12:33 -0700)]
Ensure we always utilize the correct messaging domains
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 23:30:52 +0000 (16:30 -0700)]
bb.event: NotHandled and Handled are on the way out
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 23:01:14 +0000 (16:01 -0700)]
Rename the finalise method for consistency
Apparently the finalise spelling is becoming less common in British English.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 22:43:47 +0000 (15:43 -0700)]
Move update_data into the DataSmart class as a finalize() method
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 22:11:28 +0000 (15:11 -0700)]
Initialize pkgs_to_build in the BBConfiguration constructor
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Fri, 9 Apr 2010 18:49:36 +0000 (11:49 -0700)]
Drop doctest, as we aren't utilizing it
We should add back in some proper unit testing. Doctest is rather limited,
and we haven't actually made use of it since the original implementation of
the datastore when the project started, as far as I'm aware.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson [Thu, 8 Apr 2010 23:02:52 +0000 (16:02 -0700)]
Add bin/bitbakec to .gitignore
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Enrico Scholz [Sun, 21 Mar 2010 22:02:56 +0000 (23:02 +0100)]
Made '-b' work with BBCLASSEXTEND
When BBCLASSEXTEND is set, '-b' builds usually failed with messages
like
| ERROR: Parsing error data_fn virtual:native:<recipe>.bb and fn
<recipe>.bb don't match
|
| File ".../bb/providers.py", line 47, in sortPriorities
| priority = dataCache.bbfile_priority[f]
| KeyError: 'virtual:native:<recipe>.bb'
This patch fixes it and allows to specify the alternative class in a
way like
| ./bitbake -b virtual:native:<recipe>.bb
This patch was written to be so minimal as possible; variables should be
probably renamed to reflect their new meaning.
Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Chris Larson [Tue, 6 Apr 2010 22:29:19 +0000 (15:29 -0700)]
Resurrect the old bb.vercmp as bb.utils.vercmp, and its deps
This is just for compatibility. We may drop it in the future, or rewrite it,
as it's not particularly pythonic.
Signed-off-by: Chris Larson <chris_larson@mentor.com>