Chris Larson
5b216c8000
Add __contains__ to COWDictMeta
...
(Bitbake rev: b3b314aade1f0a04e888361e1ac946e5195e1509)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
d5927a70bb
Drop unused bb.data.expandData function
...
(Bitbake rev: 188af3ef5fdb5cd86b74147bf5eafc085ac489be)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
ba6df176e3
Ignore deprecation warnings for now
...
(Bitbake rev: 661fe59445161c5bc6a2e73b7fcbf9d20c492e27)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
bcd9c57a96
Switch some references to moved functions
...
(Bitbake rev: ddea2978cb969cf1381cfee5c055de0c9e56a4e3)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
c770c62fdc
Add a missing import of print_function
...
(Bitbake rev: 30ae747cc5c733512e417c61fca23c0cd15b0e44)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
ad543e2e41
Apply the 2to3 print function transform
...
(Bitbake rev: ff2e28d0d9723ccd0e9dd635447b6d889cc9f597)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
978b5c9466
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.
(Bitbake rev: 78f56049ba863b2e585b89db12b32697eb879bbc)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
cbc8140c77
Exception handling fixups
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
cf58d41af8
Add some missing docstrings
...
(Bitbake rev: 20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
0b4ad7062b
Drop __all__ usage
...
(Bitbake rev: b4983cc7bfe5300c1d2904f34fb03d4fb2f41d90)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:33 +01:00
Chris Larson
266f416446
Drop some unused functions
...
(Bitbake rev: eb83df5bc7077685f314df01949cf06850e4693c)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
bbc565e825
Drop some unused classes
...
(Bitbake rev: 5cc47a49518c69c94f8b78e9dda6d542ba17b1e8)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
51f5346f29
Drop some unused vars
...
(Bitbake rev: b79ca5f1cc2d262de877047769ce25279ba26672)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
1c74fd768f
Import fixups
...
(Bitbake rev: 4fa052f426e3205ebace713eaa22deddc0420e8a)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
7acc132cac
Formatting cleanups
...
(Bitbake rev: 2caf134b43a44dad30af4fbe33033b3c58deee57)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
bbf83fd988
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.
(Bitbake rev: 3a11c2807972bbbddffde2fa67fc380d159da467)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
8306ba50db
Don't run metadata event handlers for bb.msg events
...
(Bitbake rev: 297305b3742323d09d9ca58e958c4f18e945a148)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
6623d79ada
Stop using functions via 'bb' that were moved from there to other modules
...
(Bitbake rev: 03a6c26f8da226f442c3cab557e4733f7cd6eeac)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
1569c1ac85
Add a function to get the debug level, without poking into debug_levels manually
...
(Bitbake rev: 6ccc01a1a72ec354de52fef2bf5620384b8461ce)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
c8498f59ec
Fix invalid logging domain warning
...
(Bitbake rev: 8441fab6f27191fcc3c153a10753871e6aef08b1)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
316ab4bb2b
Bump minimum python version check to 2.6.
...
(Bitbake rev: 85c000cc7db47cfd489cf282c58db2dab0d87908)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
350c3126e1
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.
(Bitbake rev: bef33dfc36713d8c93e38e63ddac2e4f9858e787)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
943ece8610
Implement bb.msg.domain as a named tuple, drop the Enum class
...
Also fixes some bb.msg references from within bb.msg.
(Bitbake rev: db95af590f742c8186e84046ad9704fae1733720)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
9f2d7d816c
Fix an error in the ncurses UI
...
(Bitbake rev: 90c68238cb62afa1c39e1d4fff1f418c9ec047e5)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
a91d123ef4
Display python warnings via bb.msg
...
(Bitbake rev: 648415a562d92109c4945cb3cc98ed2ec44667a7)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:32 +01:00
Chris Larson
146046bcda
Immediately display messages if no UI handlers are installed yet
...
(Bitbake rev: 17c414d0c050c42d4beb3f1dd84573020aacb392)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
21a9692c7d
Use __import__ for the ui rather than exec
...
(Bitbake rev: 7d00bab300961431f9960cf6759966f608580bc0)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
8c5108fa21
Fix the task event handling in the ncurses UI
...
(Bitbake rev: 50b7b817d418532583da3bad62a36fcefe3637a2)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
87f62d7c8d
Ensure we always utilize the correct messaging domains
...
(Bitbake rev: 92a2e2e90981c0615171abe03645a772d84f6986)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
ac170b0c34
bb.event: NotHandled and Handled are on the way out
...
(Bitbake rev: ed35b30f8e09b0bfc15102fa6483c55d6b7d61de)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
0d25a516b4
Rename the finalise method for consistency
...
Apparently the finalise spelling is becoming less common in British English.
(Bitbake rev: 47449b2fc433e5725839ca4f7e9bca931a475838)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
c9c230b14a
Move update_data into the DataSmart class as a finalize() method
...
(Bitbake rev: ff801397785567cb84b3615de86bff764d65decf)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
00e3915ca6
Initialize pkgs_to_build in the BBConfiguration constructor
...
(Bitbake rev: 69a3e4895b88110fd3a25167aa16cf7c00463175)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
a21841fb75
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.
(Bitbake rev: 3a11c2807972bbbddffde2fa67fc380d159da467)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Enrico Scholz
ca9a956abc
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.
(Bitbake rev: f1c7fe9fc12161ceb3fe201cde370b929b208729)
Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
a7f05ea4af
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.
(Bitbake rev: c4e31d7fe1d15a1e3ef2a453e7c7812d403d22cb)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
2cd161171a
Pass the config metadata into the Cache constructor rather than the cooker
...
Cache only uses the config metadata from the cooker, no need for the cooker itself.
(Bitbake rev: bf58d43444642d31293a341ce72292003ca5c162)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
c926e87f47
Resurrect merged anonfunc execution
...
(Bitbake rev: 0c2ed40277e157406ea25c858f14c3cebb73c21b)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
3995546222
Add & utilize a simple_exec utility function
...
(Bitbake rev: 5ead16f14f996bcbb2fb14277b8ce5a9317b8160)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
94b60d1247
Consolidate the exec/eval bits, switch anonfunc to better_exec, etc
...
The methodpool, ${@} expansions, anonymous python functions, event handlers
now all run with the same global context, ensuring a consistent environment
for them. Added a bb.utils.better_eval function which does an eval() with the
same globals as better_exec.
(Bitbake rev: 424d7e267b009cc19b8503eadab782736d9597d0)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
eb16773704
Pass an empty locals dict in expansion, since list comprehensions apparently leak their '_' helper variable
...
(Bitbake rev: 97da0cebbaf4dd1b46e58bd2e80cab6c007ae7c9)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Chris Larson
d8c8612d92
Two minor changes to the way python snippet expansion happens
...
- Use a single dictionary for the context, both global & local, since for some
reason it chokes wanting a global "d" rather than a local in the metadata.
- First compile the string into a code object before running eval, so we can
include the variable name in an evaluation error.
(Bitbake rev: 49534d928a37e0804ca84eed186cd22363023b2e)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02 15:41:31 +01:00
Richard Purdie
8a02043265
bitbake: providers.py: Fix typo
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-01 22:24:26 +01:00
Richard Purdie
9a543b75ca
bitbake: Add bb.utils.join_deps to handle creation of dependency strings with versions
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-30 09:47:36 +01:00
Jeff Dike
6418d0492a
bitbake: create cooker object after cleaning the environment
...
Previously, the cooker object was created before the environment was
cleaned, saving everything that was in the environment and dumping
into the run scripts.
The patch ensures that the cooker gets a cleaned environment when it's
created.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-29 13:33:24 +01:00
Jeff Dike
f9d7e9e3be
bitbake: Move the logger initialization from cooker to utils
...
In order to move the environment cleaning, which wants to log a
message, before cooker creation, the logging facility initialization
needs to happen earlier. So, it is now in init_logger in utils.py and
called from bitbake before the creation of the data object.
It also seems more correct to initialize a global facility like this
from a more global context than the creation of an object, of which
there could theoretically be many.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-29 13:32:04 +01:00
Joshua Lock
43f0d63237
bitbake: allow fakeroot functionality to be provided by an alternative program
...
If the variable FAKEROOT is set its value will be used, otherwise we default
to fakeroot.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-25 14:54:51 +01:00
Nitin A Kamble
c3682bf89b
bitbake decodeurl: fix the file:// url handling
...
Without this patch decoding a url of this kind file://dir/filename gives
path=/filename host=dir.
With the patch it decodes as path=/dir/filename host=""
Probably nobody stumbled on this issue yet because nobody used
file:// urls with directory names in the path.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-07 16:05:00 +01:00
Richard Purdie
d3d36d9f44
bitbake/event.py: Run class eventhandlers in the task context but ensure UI handlers run in the server context
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:33:41 +00:00
Richard Purdie
871f731e57
bitbake/cooker.py: Finishing the command needs to happen after the BuildCompleted event else the cooker can shutdown first
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:31:23 +00:00
Richard Purdie
fb245be03d
cache.py: Bump the cache version after the BBVERSIONS update
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:28:34 +00:00
Richard Purdie
881caec450
bb.manifest: Drop, its unused and obsolete. No point in having dead code around
...
(Bitbake rev: 69374497b557a5e99ffc7cbe5e075d63e2d9cfaa)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:26:30 +00:00
Chris Larson
19d5f2b067
BBFILES: use a set to remove duplicates when collecting.
...
(Bitbake rev: b1b06133da4ca379a60775552d481f7fbf77e999)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:26:02 +00:00
Chris Larson
adbfce3958
bb/command was importing bb and accessing some of its own classes indirectly as bb.command.<class>
...
(Bitbake rev: 4b2a268ce8dad63d21619c1b9acc1de86d222d93)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:26:00 +00:00
Chris Larson
1e2f64abc7
Why is bb/__init__.py importing bb?
...
(Bitbake rev: 3eb01a20cbbb2e7a2f6278089bcc9bb70021738f)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:59 +00:00
Chris Larson
964085f701
data_smart: be explicit about what we make available to eval'd python code
...
(Bitbake rev: 6a73dda60f50e9b3e5513795d1ec7207d1446de2)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:58 +00:00
Chris Larson
6028daedcb
Fix 7 references to undefined variables, as spotted by pyflakes
...
(Bitbake rev: e1e4ccf203e38070eeafd31a622671996cff61a1)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:56 +00:00
Chris Larson
c6940a9795
bb.utils: remove old portage remnants
...
The following utility functions were removed. Note that in this particular
case we're bypassing a proper deprecation process, as these functions are
clearly not utilized, are obvious remnants of old ways of doing things, and
some of which do not even function properly.
- tokenize
- evaluate
- flatten
- relparse
- ververify
- isjustname
- isspecific
- catpkgsplit
- pkgsplit
- pkgcmp
- dep_parenreduce
- dep_opconvert
(Bitbake rev: 62983ad9b151ee8d51e8cf9a31c736c7813edf16)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:54 +00:00
Chris Larson
ec3f908948
bb.utils: utilize string.letters and string.digits
...
(Bitbake rev: 7af05cba87ec9f3ea5e53689b3d9f0a63784d1b5)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:51 +00:00
Chris Larson
80a52e7ad6
bb.which: fix broken direction/reverse argument
...
(Bitbake rev: 4725d83f532cad96168aa9affdedb33b6fc897b7)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:50 +00:00
Chris Larson
b5f8ce02b7
crumbs: fix hassattr typo
...
(Bitbake rev: 5593de13a18792e36d15dfd2a9579b36284e4d67)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:49 +00:00
Chris Larson
c244243274
Implement BBVERSIONS
...
This implements a feature similar to BBCLASSEXTEND, but for generating
multiple versions of a given recipe. For example: BBVERSIONS = "1.0 2.0 git".
In addition to the above, one can utilize [a-b] style patterns, and can have a
:<basever> postfix, which allows you to essentially name the range of
versions. Both the current version and the basever end up in OVERRIDES, and
the basever gets placed into the BPV variable. The default BPV, if none is
specified, is the original PV of the recipe, before bbversions processing.
In this way, you can do things like:
BBVERSIONS = "1.0.[0-6]:1.0.0+
1.0.[7-9]:1.0.7+"
SRC_URI_append_1.0.7+ = "file://some_extra_patch.patch;patch=1"
Or you can create a recipe per range, and name the recipe file as such: nano_1.0.7+.bb.
(Bitbake rev: 4ee9a56e16f1eb3c1649eaa3127b09ab0e93d1ec)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:45 +00:00
Richard Purdie
cefeeb1aa3
usermanual.xml: Add documentation on bblayers.conf
...
(Bitbake rev: 879229d12c2830dba9e0cb794e61e3c698b8dcc7)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:25:30 +00:00
Enrico Scholz
5060280a7a
Expand PREMIRRORS
...
When not expanding PREMIRRORS, the functions fails/does not work correctly
when PREMIRRORS is not a plain string (e.g. contains ${...} or a ${@...}
statements).
(Bitbake rev: d612d22b073f68b8cf1bb7344e0487820040d80d)
Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:17:12 +00:00
Bernhard Reutner-Fischer
5d90d90358
utils: improve wording of error message
...
(Bitbake rev: b2486ec57c6a7adf09d0960fdf6727881b324d2f)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:15:28 +00:00
Richard Purdie
589df80ca1
bitbake: Gross hack to fix packaged-staging with BBCLASSEXTEND packages
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23 22:33:02 +00:00
Richard Purdie
666c753d4b
bitbake/cooker.py: Add support for a bblayers.conf file
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 17:48:31 +00:00
Richard Purdie
70141cbcc8
bitbake/providers: Fix merge error
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 15:09:07 +00:00
Bernhard Reutner-Fischer
04263dc426
cooker: bail out early if no files to build
...
This prevents a misleading backtrace:
ERROR: no files to build.
Command execution failed: Traceback (most recent call last):
File ".../bitbake/build/lib/bb/command.py", line 83, in runAsyncCommand
self.cooker.updateCache()
File ".../bitbake/build/lib/bb/cooker.py", line 779, in updateCache
if not self.parser.parse_next():
File ".../bitbake/build/lib/bb/cooker.py", line 969, in parse_next
cooker.bb_cache.sync()
UnboundLocalError: local variable 'cooker' referenced before assignment
(Bitbake rev: 060ef3d957615b7eb1209dc0d01ebeb53f8c4edc)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 15:03:46 +00:00
Chris Larson
2f9e15afbe
Fix issues with BBCLASSEXTEND set by anonymous python, and rename some variables to improve code clarity
...
(Bitbake rev: 3062e96181fe845cfd286990b0216888ddd3d228)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 15:03:21 +00:00
Chris Larson
57044b9a62
Implement ??= operator
...
??= is a lazy, conditional assignment. Whereas a ?= immediately assigns to
the variable if the variable has not yet been set, ??= does not apply the
default assignment until the end of the parse. As a result, the final ??= for
a given variable is used, as opposed to the first as in ?=.
Note that the initial implementation relies upon finalise() to apply the
defaults, so a "bitbake -e" without specifying a recipe will not show the
defaults as set by ??=. Moving application of the default into getVar adds
too large a performance hit. We may want to revisit this later.
(Bitbake rev: 74f50fbca194c9c72bd2a540f4b9de458cb08e2d)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 15:02:59 +00:00
Chris Larson
ada2a8494a
Avoid unnecessary calls to keys() when iterating over dictionaries.
...
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.
(Bitbake rev: 5b6ccb16c6e71e23dac6920cd2df994d67c2587b)
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 15:01:59 +00:00
Bernhard Reutner-Fischer
9d9b47bae4
knotty: tweak failure phrase
...
..to make copy and paste of the logfile easier.
(Bitbake rev: 446cc0cebd4daff7f849717f4cb89ac1b4c6b755)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:58:57 +00:00
Chris Larson
a7d5f73134
Fix ud.basecmd error introduced by the FETCHCMD_git commit
...
(Bitbake rev: 0bbcbe3548f39ca46c5aa3bf1a8681026e51cbf0)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:58:41 +00:00
Tom Rini
dea828c744
Add initial 'repo' fetcher
...
(Bitbake rev: f68406e864c9837feb56cbec993b620481445cc2)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:58:15 +00:00
Chris Larson
d8b12d4eea
Re-getVar BBCLASSEXTEND after finalise()
...
This ensures that an anonymous python function is able to manipulate the
BBCLASSEXTEND contents, and, therefore, amend.inc files are able to add to it.
(Bitbake rev: c7d038d404afaf4ce3735af5134163759da6f6ef)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:56:16 +00:00
Chris Larson
73a12b9184
Error early if BBPATH is unset, rather than falling back to share/bitbake
...
Better to error as early as possible rather than experience strange behavior
resulting from the use of the largely useless stock bitbake.conf/base.bbclass.
(Bitbake rev: 641e6cf3ec3ab4d26929cf4d2a3704ff07eed4d6)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:56:00 +00:00
Chris Larson
9998b454bb
Kill unused projectdir in bb package.
...
(Bitbake rev: 79b93e6929c5feeb1ad05bd17f589c69f00b77f6)
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:55:18 +00:00
Chris Larson
8f83be3338
Fix msg usage in the moved utility functions.
...
(Bitbake rev: 686288444d22091dee66e20ec49b9c53f8c980b7)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:54:57 +00:00
Chris Larson
f8c6db95d7
Move most utility functions from bb into bb.utils.
...
(Bitbake rev: ff720ec59b30671c951dbf3b96df10ef56b8b505)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:54:42 +00:00
Chris Larson
b7d175a18a
Move compat imports in the bb package to avoid circular dep issues.
...
(Bitbake rev: b66c129edc7d78fed9d41b0c634744ec81931b21)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:54:26 +00:00
Chris Larson
ac392b66a5
Move encodeurl, decodeurl into bb.fetch.
...
(Bitbake rev: 867d36f9afce2d298874ac7563e5b3852ef04659)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:54:10 +00:00
Chris Larson
a3012e1ca9
Move MalformedUrl, VarExpandError into appropriate modules.
...
(Bitbake rev: e616483b237dafff7f90ba1c09e9ee7c383a2e47)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:53:55 +00:00
Martyn Welch
9a0da388ce
Add FETCHCMD parameter for git
...
The Git fetcher currently hardwires the git command to "git". Allow the
path and any additional wrappers to the Git command to be provided via
FETCHCMD functionality, as with some of the other fetchers.
If FETCHCMD_git is not define in bitbake.conf, the fetcher defaults to "git".
(Bitbake rev: f3afb79ecac30d973a3c62ff6baf28d8b7388a24)
Signed-off-by: Malcolm Crossley <malcolm.crossley@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 14:53:26 +00:00
Richard Purdie
382a630e78
bitbake fetch/__init__.py: Failing urls should raise errors, not fatal exceptions
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-15 12:55:47 +00:00
Richard Purdie
b694d3c3f9
bitbake: Revert "providers.py: sort eligible providers by DEFAULT_PREFERENCE"
...
This breaks preferred providers functionality
This reverts commit ee9afccf33b220a21b74fab279925eeb4771249b.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-16 15:40:12 +00:00
Holger Freyther
defa54dea0
bitbake: [cache] copy instead of deepcopy in sync
...
We only intend to modify the dict, no need to copy all
elements.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:58 +00:00
Chris Larson
f03769280c
bitbake: [parse] In ast, make StatementGroup inherit list, and add a AstNode base class.
...
(Bitbake rev: 7ea31b2842b45ffe1ca688f55207f8676442a108)
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:57 +00:00
Chris Larson
c675bfd5bf
bitbake: [parse] Use bb.which in resolve_file
...
(Bitbake rev: 3cd06ed487ee0617892f154cff461379a323a1fb)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:56 +00:00
Holger Freyther
7b57ad901a
bitbake: [parser] Make resolve_file only resolve the path
...
Do not attempt to open the file in the resolve_file method
(a lot like bb.which... maybe bb.which can be used). This way
we don't need to open/close a file which we have already parsed.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:55 +00:00
Holger Freyther
83ec5eaed4
bitbake: [parser] Cache parsed .inc and .bbclass files for a parse speedup
...
Have a growing dict with .inc and .bbclass'es. This avoids to reparse
files we have already seen.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:54 +00:00
Holger Freyther
c011d42eda
bitbake: [parser] prepare to cache some .bbcclass and .inc files
...
Our parser is shit but instead to replace it now we will see
how long we can drive the wave by caching parsed files. This
will not go through the feeder again but we can just reevaluate
the StatementGroup.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:53 +00:00
Holger Freyther
793c88dd92
bitbake: [parser] Remove the "data" from feeder, evaluate after parsing a file
...
Evaluate the statements after having parsed one file. This is
referred to as "entwirren" and we can remove the direct evaluation
and postpone a bit, in the future we can use a cached copy instead
of parsing the original.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:51 +00:00
Chris Larson
3eb2e6cf02
bitbake: [parse] Move vars_from_file from bb.parse.BBHandler into bb.parse.
...
(Bitbake rev: fda0707d772e0964a0185d4ec4d016522f6972f3)
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:50 +00:00
Chris Larson
6f52a1521e
bitbake: [parse] Don't use relative import of parse_py.
...
(Bitbake rev: 0a2bb3dd790e3e40867195f14f4e174f98f8a47c)
Signed-off-by: Chris Larson <clarson@mvista.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:49 +00:00
Holger Freyther
3f1ca0a086
bitbake: [parse] Move the last method to the AST...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:48 +00:00
Holger Freyther
baf2395900
bitbake: [parser] Move more methods to the ast scheme
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:48 +00:00
Holger Freyther
d84b7c5555
bitbake: [parser] Move one more item to the ast
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:47 +00:00
Holger Freyther
a5bb5d625e
bitbake: [parser] Move methodflags over to the ast
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:46 +00:00
Richard Purdie
7cfe3a5e15
bitbake: [parser] Build fix
...
(Bitbake rev: 9c97696f37499b4d0ec5c034c51e4cf6bc425ba2)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:45 +00:00
Holger Freyther
8eaaf663ba
bitbake: [parser] Move more statements over the two phase AST
...
Create the data first, then evaluate on the data dict
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:44 +00:00
Holger Freyther
d2bf3f00ea
bitbake: [parse] Change handling include through the AstNode
...
Disable the recursively evaluating the statement for now
as it is causing problems.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:43 +00:00
Holger Freyther
8072cf0846
bitbake: [parser] Call eval and remove non ast code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:42 +00:00
Holger Freyther
118161f46b
bitbake: [parser] Call eval immeditaley to test this code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:41 +00:00
Holger Freyther
a20105868f
bitbake: [parser] Prepare to cease out getFunc
...
getFunc is now a method of the data node, hopefully we can kill the other
version soon.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:40 +00:00
Richard Purdie
269d4d58a9
bitbake: [parser] Preserve include vs. require behaviour
...
(Bitbake rev: 6073a5b8e4ca8af8e1a8e0234fad7b08baf76c99)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:20 +00:00
Holger Freyther
71a19386a3
bitbake: [parser] Firs set of AST nodes with construction and eval
...
First set of ConfHandling with AST nodes. The include can
use a speed up and things might need to be migrated... into
this class.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:07:07 +00:00
Holger Freyther
df8f7706a6
bitbake: [parser] Add documentation about usage of this code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:59 +00:00
Holger Freyther
4320386deb
bitbake: [parser] Move the finalise into the ast as well
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:55 +00:00
Holger Freyther
4b25b519ae
bitbake: [parser] Cary a Statement Node through the parsing
...
When parsing we will collect a number of statements
that can be evaluated...The plan is to be evaluate
things twice (old+new) and then compare the result,
it should be the same.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:50 +00:00
Holger Freyther
5bac3403d7
bitbake: [parser] Move evaluating into the ast class...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:06:36 +00:00
Bernhard Reutner-Fischer
e9d8dd2abf
bitbake: providers.py: sort eligible providers by DEFAULT_PREFERENCE
...
(Bitbake rev: ee9afccf33b220a21b74fab279925eeb4771249b)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:03:50 +00:00
Bernhard Reutner-Fischer
de7c939a7f
bitbake: runqueue.py: improve printing dependent tasks
...
Print names instead of Task-IDs (and not mentioning they're task ids).
Previously we printed e.g.:
Dependency loop #1 found:
Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (depends: Set([88, 282, 92, 87]))
Now we say
Dependency loop #1 found:
Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (dependent Task-IDs ['busybox-native, do_patch', 'update-rc.d, do_populate_staging', 'busybox-native, do_populate_staging', 'shasum-native.bb, do_populate_staging', 'busybox-native, do_unpack'])
(Bitbake rev: 00eaf76fdc32eb515995b47dfa69eb90ca904b37)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:03:47 +00:00
Bernhard Reutner-Fischer
e39d89e934
bitbake: taskdata.py: fix typo in debug message
...
(Bitbake rev: 457fb59f10ed59269b8bda3ee53bbeded5d33eb5)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15 17:03:07 +00:00
Richard Purdie
62c103ce0e
bitbake: utils.py: Don't error if an exported environment variable is unset (i.e. None)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-12 13:50:19 +00:00
Khem Raj
99b4b10dc1
bitbake: BBHandler: pass lineno and fn to handleMethod
...
* lineno and fn are needed in handleMethod
to restore the functionality as it was before.
(Bitbake rev: ac6792045959cfee56279c1c4597521e990848e7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:43:06 +00:00
Martin Jansa
d5519d4ad9
bitbake: parse_py/ConfHandler.py: missing colon after else
...
(Bitbake rev: d520ae0764016906ff61ec33b14eabc908aa8408)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:38:33 +00:00
Richard Purdie
7a4579e7cb
bitbake: ConfHandler: Fix require vs. include behaviour
...
(Bitbake rev: 824a032672c8673cae28e492aa916a4750b94efa)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:38:00 +00:00
Holger Freyther
fb918a7582
bitbake: [parser] Move more stuff out the feeder
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:37:43 +00:00
Holger Freyther
b045ab3222
bitbake: [parse] Move inherit handling to method
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:32:28 +00:00
Holger Freyther
7477c0d89a
bitbake: [parsers] Move out more functions
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:32:14 +00:00
Holger Freyther
e3c9a340dc
bitbake: [parser] Move more stuff out to separate methods...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:32:00 +00:00
Holger Freyther
169e719456
bitbake: [parser] Move the handling of a method to a function
...
We want to convert this into a proper AST. So move all
such operations to methods... Later change them to generate
a node... and create that node from here.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:31:48 +00:00
Holger Freyther
913e78898e
bitbake: [parse] Unify opening a file...
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:31:33 +00:00
Holger Freyther
242a03607d
bitbake: [parser] Kill obtain/localpath from the parser
...
With obtain it was possible to use an existing fetcher to
download a bb or config file. In practive no one has used it
and it was likely broken in regard to depends_cache... Remove
it for now, simplfiy the code.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:31:19 +00:00
Theodore A. Roth
bf6a4fd658
bitbake: usermanual.xml: Add section for ?= var setting.
...
(Bitbake rev: df8309c11a43a9488ca25ec114a2dd3d49b041ff)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-10 16:25:35 +00:00
Joshua Lock
52cbb07423
bitbake: fix invalid method and logic
...
The previous bitbake change included an invalid method call and inverted logic.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-05 12:41:08 +00:00
Joshua Lock
ec92133d6f
bitbake: Test premirrors and mirrors in checkstatus()
...
checkstatus() is used to ensure we can fetch a copy of each file, so it makes
sense to also test PREMIRRORS and MIRRORS in the method.
This patch adds calls to try_mirrors() to the Fetch.checkstatus() method and
changes the try_mirrors() method to take a check argument, which is False by
default. When check is True try_mirrors() will call a fetchers checkstatus()
with the replaced uri.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-05 12:19:05 +00:00
Joshua Lock
c9fd126f64
bitbake: Fix try_mirrors() logic, was only trying the first mirror.
...
The logic in try_mirrors() was buggy such that only the first entry in the
mirrors list was tried.
This patch fixes this. Thanks to Richard for the review.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04 14:08:34 +00:00
Joshua Lock
afe12428a9
bitbake: if PREMIRRORS set test for local file in FetchData.setup_localpath
...
When we are using PREMIRRORS it's possible a mirror in the local namespace
(some filesystem path, i.e. an NFS share) provides read-only files.
This is a perfectly valid scenario so this patch fixes bitbake so that for
such a scenario locapath is set to the files path rather than some child
of DL_DIR.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04 00:18:29 +00:00
Joshua Lock
b571168ac7
bitbake: Enhance the fetchers' support for local mirrors
...
Modify the try_mirrors() function to return the localpath of the fetched file
and update the data dictionary to reflect this.
Secondly the metadata files, lock and md5, should always be stored relative to
the ${DL_DIR} as it is possible that the localpath is a read-only directory,
for example in the scenario where there is a read-only file:// mirror.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04 00:18:29 +00:00
Joshua Lock
0737552c1d
bitbake: unify mirror support and make it independant of the fetcher
...
This patch serves two purposes. Firstly it unifies the concept of mirrors into
PREMIRRORS and MIRRORS. PREMIRRORS are tried before the SRC_URI defined in the
recipe whereas MIRRORS are tried only if that fails.
The tarball stash was conceptually inline with a PREMIRROR only with special
handling within the wget fetcher and therefore only worked with certain
fetch types.
Secondly the patch removes the need for individual fetch implementations to
worry about mirror handling.
With this patch, the base fetch implementation will first try to use a
PREMIRROR to fetch the desired object, if this fails the native fetch method
for the object will be tried and if this fails will try to fetch a copy from
one of the MIRRORS.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04 00:18:29 +00:00
Richard Purdie
fdf134abfb
bitbake/build.py: No need for this gross hack now
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-27 12:40:02 +00:00
Richard Purdie
b9d958c186
bitbake: Don't import xmlrpc server unless needed
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22 16:15:50 +00:00
Richard Purdie
aedf7d3205
bin/bitbake: Add import server
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22 09:00:49 +00:00
Richard Purdie
7e8025459e
bitbake/cooker: Drop unneeded import
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22 00:04:18 +00:00
Richard Purdie
37f8e24ce3
bitbake: Fix UI failure exception handling with python 2.6
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 23:49:50 +00:00
Richard Purdie
5ebad0d500
knotty: Improve task failure message handling using the uihelper code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 23:49:17 +00:00
Richard Purdie
5c62833766
runqueue.py: Use fcntl to make the worker pipes non-blocking
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 23:46:20 +00:00
Richard Purdie
fd42ffa273
bitbake/event: If the server disappears, we just exit too
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 16:00:12 +00:00
Richard Purdie
d7c9b7d8b9
runqueue: When a task fails, make sure the server still processes events from other workers
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 15:58:56 +00:00
Richard Purdie
867b01c3ca
bitbake/__init__.py: Fix bb.plain and bb.warn function, initial patch from Petri Lehtinen <petri.lehtinen+bitbake-dev@inoi.fi>
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 10:44:34 +00:00
Martin Jansa
c69797d89c
bitbake/git: remove repodir usage (from bitbake master)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 10:30:37 +00:00
Richard Purdie
573f6125e6
bitbake/runqueue: Fix typo
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21 10:25:54 +00:00
Richard Purdie
22c29d8651
bitbake: Switch to bitbake-dev version (bitbake master upstream)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-20 18:46:02 +00:00
Richard Purdie
cf91cfaaa2
bitbake: Apply modified version of a patch from Martin Jansa <martin.jansa@gmail.com> to allow wildcards at the end of PREFERRED_VERSION strings
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-12 20:31:18 +00:00
Richard Purdie
9f5e04a04b
taskdata.py: Improve error message if a task dependency has an incorrect format
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 11:41:44 +00:00
Richard Purdie
dbd66fc808
bitbake/BBHandler: Only add do_ prefix to tasks if its not already present
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 11:41:44 +00:00
Richard Purdie
459861b9c0
bitbake/data_smart.py: Fix error where update-rc.d would not get added to the dependency tree
...
If there was a variable such as:
X_${Y}_append = "Z"
The "Z" would be lost if X_${Y} was unset. This was due to a bug in the renameVar
function used by expandKeys().
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-16 08:39:47 +00:00
Richard Purdie
1183aff5e9
bitbake/git.py: Typo fix
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11 17:20:06 +00:00
Richard Purdie
b80f6d8ac4
bitbake/git.py: Add support for fullclone parameter
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11 17:12:53 +00:00
Richard Purdie
a94737f611
bitbake/git.py: Move variable init into the localpath function
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11 17:12:53 +00:00
Richard Purdie
cb8684f9bc
bitbake/cooker.py: Fix handling of extra configuration files
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11 12:48:49 +00:00
Richard Purdie
c02e38901b
git.py: Improve command failure error messages
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-11 12:48:14 +00:00
Richard Purdie
011557c157
bitbake: Fix dict changing size problems
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-26 22:45:52 +00:00
Richard Purdie
b5a059ff28
fetch/__init__.py: Try and make the sortable_revision code mode readable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
Richard Purdie
483f85802a
bitbake: Sync various functions with those from bitbake-dev and bitbake upstream
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:21 +00:00
Richard Purdie
c2b5a61728
bitbake: Sync module import cleanups back from bitbake trunk
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:21 +00:00
Richard Purdie
1fd3265374
build.py: Fix zero size logfile problems
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:21 +00:00
Richard Purdie
f310816acb
bitbake: hg fetcher - sync bitbake-dev and remove debug
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-20 11:29:07 +01:00
Richard Purdie
717d71b8e9
bitbake: Add hg fetcher auto revisioning, patch from Carl Simonson <simonsonc@gmail.com>
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-19 17:46:09 +01:00
Richard Purdie
ac4d25c89a
bitbake: Fix svk fetcher
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-17 21:07:40 +01:00
Richard Purdie
7642529554
bitbake: Anonymous funciton improvements - use methodpool to allow cached code and remove anonymous function indentation mismatch problems
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13 08:38:13 +01:00
Richard Purdie
44549775eb
bitbake: Add bb and os to __builtins__, not the exec function global
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13 08:38:13 +01:00
Richard Purdie
74016daa3a
bitbake: Remove unused and hence pointless internal__functions__ variable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-13 08:38:13 +01:00
Richard Purdie
d326382b5f
bitbake/build.py: Remove zero sized log files
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-24 18:57:09 +01:00
Richard Purdie
bec200b38d
bitbake/cache.py: Add warnings for leakage of SRCREVINACTION magic value
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-24 18:57:09 +01:00
Richard Purdie
8138603680
bitbake/fetch: Ensure SRCREVINACTION always resets the core flags even when parsing failes by using a try/finally
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-24 18:57:08 +01:00
Richard Purdie
bc0b233c02
bitbake cache: Add code to catch a nasty cache corruption issue to aid in tracking it down
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-03 22:57:26 +01:00
Mike Turquette
59040b5d14
__init__.py: export GIT_PROXY_COMMAND for those behind draconian proxies
...
Signed-off-by: Mike Turquette <mturquette@ti.com>
2009-08-26 10:56:53 -05:00
Richard Purdie
433c2d2318
bitbake: Remove persist_data domain renaming code as it appears to expose sqlite bugs and data consistency issues
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-30 21:24:31 +01:00
Richard Purdie
ef9c095334
bitbake: Make sure tables exist when renaming
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-30 18:03:51 +01:00
Richard Purdie
64b04685b6
bitbake: Add a --revisions-changed commandline option to indicate when floating srcrevs have changed
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-29 14:33:14 +01:00
Richard Purdie
231b5f6784
bitbake: Add renameDomain and getKeyValues functions to the persistent data code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-29 14:10:11 +01:00
Richard Purdie
a6d608eb19
bitbake runqueue: Add a minor speedup to the runqueue code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-29 14:08:05 +01:00
Richard Purdie
699ad056d9
bitbake: Make sure regexp patterns are consistent in providers.py
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-23 16:20:02 +01:00
Richard Purdie
d02379d2df
bitbake: Add a cache around PACKAGES_DYNAMIC regexps to help performance a bit
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-23 15:59:17 +01:00
Richard Purdie
fa5d458526
bitbake: Factor some runqueue code into common functions making things more readable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21 22:38:53 +01:00
Richard Purdie
502bd2ef92
bitbake: Fix a bug in runqueue and optimise slightly further
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21 22:32:35 +01:00
Richard Purdie
8f5363d16d
bitbake: Optimise runqueue recursive dependency calculations removing a bottleneck in world builds
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21 19:44:23 +01:00
Richard Purdie
1f86370db8
bitbake: Fix wget fetcher bug when only checking URIs and the download doesn't exist
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-07 22:44:53 +01:00
Richard Purdie
d5a137475a
bitbake: Add build_environment function for building an environment based on the data dictonary
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-02 14:33:53 +01:00
Richard Purdie
dbdf1c734f
bitbake: Disable sortable revision for now
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-10 12:43:07 +01:00
Richard Purdie
522cffdb9e
bitbake: Add PN to SRCREV keyhash in the persistent database to avoid conflicts between pacckages (from upstream bitbake)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-10 11:21:43 +01:00
Richard Purdie
81ff3a90f8
bitbake: Update to work without warnings with python 2.6
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-12 16:53:22 +01:00
Richard Purdie
107a9da006
bitbake: Merge further fixes from upstream 1.8 branch
...
* Make the test functionality work
* Optimise BBPATH handling when changing directory
* Optimise file globing for BBFILES
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-11 22:41:17 +01:00
Richard Purdie
1ca980646d
bitbake: Sync git fetcher with changes upstream
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-11 22:34:07 +01:00
Richard Purdie
44a88198c1
bitbake: Make sure existing environment variables are properly exported
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-09 15:28:17 +01:00
Richard Purdie
5264d4b9e2
bitbake: Fix a bug in the hg fetcher
...
Fix a bug in the hg fetcher where branch revisions are used with an
initial checkout.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-04-21 17:42:47 +01:00
Richard Purdie
af9030880a
shell.py: stage is called populate_staging
2009-01-30 12:21:06 +00:00
Richard Purdie
bb98685a71
bitbake: fetch/init: Add 'HOME' to list of variables exported when runnig fetcher commands
2009-01-19 22:28:49 +00:00
Richard Purdie
3ec9a7de2a
bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url
2009-01-06 19:56:02 +00:00
Richard Purdie
ade351e2f4
bitbake: Add in code to support the BBCLASSEXTEND variable. Virtual native/sdk recipes then become possible
2009-01-03 16:25:20 +00:00
Richard Purdie
28fd9dadbd
bitbake/cache.py: Simplify logic
2009-01-03 00:10:10 +00:00
Richard Purdie
250b021154
bitbake/BBHandler.py: Move handler finalisation code into a separate function
2009-01-02 23:49:18 +00:00
Richard Purdie
bb80287762
bitbake: Sync with upstream after 2.8.12 release
2009-01-02 17:27:25 +00:00
Richard Purdie
7695704eab
bitbake: Add bb.utils.prune_suffix()
2008-12-31 22:58:57 +00:00
Richard Purdie
ee1f065078
bitbake: Make sure the git remote head viewer preserves the username
2008-12-17 12:07:41 +00:00
Richard Purdie
ffdec425bf
bitbake/bitbake-dev: Sync with upstream
2008-12-06 13:16:13 +00:00
Robert Bragg
c1a12b7d20
Adds username support to the git fetcher, and exports SSH_AGENT_PID + SSH_AUTH_SOCK
...
The SSH_AGENT_PID + SSH_AUTH_SOCK environment variables are needed if you
are using ssh-agent to hold passwords for your ssh keys.
2008-12-03 16:21:45 +00:00
Richard Purdie
b6b37f065c
bitbake: Improve error message for missing class files
2008-11-06 00:12:31 +00:00
Richard Purdie
610b53fcb9
bitbake: Optionally take username/password options from url parameters
2008-11-05 10:31:40 +00:00
Richard Purdie
510d5d7f4d
bitbake wget.py: Fix problem with empty proxy variables
2008-11-04 21:11:58 +00:00
Richard Purdie
c2ef2d4f5a
bitbake: Improve proxy handling got wget so urls can be excluded from the proxy
2008-11-04 19:13:03 +00:00
Richard Purdie
4c626238e7
base.bbclass: Set GIT_CONFIG correctly
2008-11-04 13:32:35 +00:00
Richard Purdie
b1046ef743
bitbake: Don't export the GIT_PROXY_COMMAND in the fetcher code since it means selective proxying isn't possible
2008-10-31 14:37:24 +00:00
Richard Purdie
b296ae263c
bitbake: Add tryaltconfigs option to disable the alternative configuration attempts and make the 'continue' more aggresive
2008-10-28 22:15:06 +00:00
Richard Purdie
0f9a47af1e
bitbake: Fix the wget fetcher so parameter portions of uris are ignored
2008-10-24 14:57:02 +01:00
Richard Purdie
f0b1d561c7
bitbake: Preserve http_proxy and ftp_proxy in fetcher command execution
2008-10-23 13:34:24 +01:00
Richard Purdie
4815f7bc53
bitbake: Remove bogus test code
2008-10-22 22:26:24 +01:00
Richard Purdie
ede20a3245
bitbake: Improve proxy variable handling in fetchers
2008-10-22 22:24:03 +01:00
Richard Purdie
c53608b220
bitbake utils.py: Merge prunedir symlink fix from bitbake upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5551 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 14:19:36 +00:00
Richard Purdie
7a4b36a7d1
bitbake: Add some sanity checks to the lockfile functions
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5534 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 11:04:26 +00:00
Robert Bradford
696d4f01d2
bitbake: Refactor the environment variable handling
...
Refactor the environment variable handling so that it more closes matches the
changes that have been made in bitbake-dev.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5527 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 09:46:35 +00:00
Richard Purdie
4d2a3b6a3d
bitbake providers.py: Fix message typo and improve debug info
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5416 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-06 08:19:42 +00:00
Richard Purdie
f4337b9803
bitbake utils.py: Fix ocassional locking glitch with a better retrying mechanism
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5415 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-06 08:09:11 +00:00
Richard Purdie
1dc91f00fd
fetch/__init__.py: Add in hooks to make sure osc fetcher is seen
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5402 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 22:15:38 +00:00
Richard Purdie
cd872118e7
bitbake: Fix nostamp flag handling bug
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5368 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 13:55:17 +00:00
Richard Purdie
3c7454cb38
bitbake/bitbake-dev: Bump cache version after AUTOREV DONT_CACHE changes
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5362 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 09:58:26 +00:00
Richard Purdie
979f987c44
bitbake cache.py: When SRCREV autorevisioning for a recipe is in use, don't cache the recipe. Based on work from Heikki Paajanen
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5352 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:54:47 +00:00
Joshua Lock
e2d321075a
Add OEROOT to preserved_envvars_list.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5351 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:49:11 +00:00
Richard Purdie
efe3d75208
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5350 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:12:36 +00:00
Richard Purdie
2e182847e4
bitbake/bitbake-dev: Allow much better control of which variable influence bitbake from the environment
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5347 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 20:57:18 +00:00
Richard Purdie
221ac2b25f
bitbake/bitbake-dev: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5346 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 20:46:17 +00:00
Richard Purdie
dc98b2c28c
bitbake: Sync with 1.8 branch upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5345 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 20:32:33 +00:00
Marcin Juszkiewicz
f3937639b2
AUTHORS: update my email in BitBake
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5344 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 19:54:49 +00:00
Joshua Lock
571ddc976b
Fetch implementation for the OpenSuse build service.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5201 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-18 18:03:20 +00:00
Richard Purdie
cd937b6f45
ConfHandler.py: revert accidental commit
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5197 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-16 20:09:03 +00:00
Richard Purdie
31511eb978
bitbake parse/__init_.py: Add missing update_mtime function fixing bitbake shell reparse failures
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5196 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-16 19:14:49 +00:00
Richard Purdie
22e0395343
bitbake hg fetcher: Add fix from Matt Hoosier
...
The Mercurial fetcher right now will fail when used to incrementally
fetch an update to a local clone of a repository already fetched at
some prior revision. The culprit is the sequence:
hg pull -r <rev>
hg update -C <rev>
A subtlety in the way that Mercurial stores its tags (in a normally
version-controlled file called .hgtags) has the side-effect that a
repository fetched at a tag "foo" will not actually contain a
new-enough copy of the .hgtags file to be self-aware of the foo tag's
existence.
The solution is just to get all the changesets in the repository on
incremental upgrades, so that the following "hg update" will be able
to resolve the tag.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5170 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10 16:25:46 +00:00
Richard Purdie
e1af8defd6
hg fetcher: Apply fixes from Matt Hoosier
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5153 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-07 10:47:54 +00:00
Richard Purdie
5d24ea892f
bitbake utils.py: Add explode_dep_versions, an improved version of explode_deps
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5128 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-03 14:47:31 +00:00
Richard Purdie
d85997f858
bitbake providers.py: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5125 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-03 11:21:49 +00:00
Richard Purdie
5ca566349c
bitbake/utils.py: Add prunedir function to utils collection
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5065 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-18 07:56:04 +00:00
Richard Purdie
63e451ebbb
__init__.py: Error if SRCREV == INVALID
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4919 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-22 09:13:51 +00:00
Marcin Juszkiewicz
822ea0e698
bitbake: apply r1075 from upstream to get postinsts working again
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4625 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-12 10:37:02 +00:00
Richard Purdie
7b6f1b8aed
build.py: Fix task override handling (breaks compatibility but it didn't work at all before)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 21:20:44 +00:00
Richard Purdie
9d81637f62
event.py: Revert accidental but harmless commit
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4529 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 21:09:38 +00:00
Richard Purdie
019392eadb
Drop bbimage
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4528 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 21:02:39 +00:00
Richard Purdie
f1e89b2bb9
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4504 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-19 20:41:58 +00:00
Richard Purdie
167052a8c5
bitbake: build.py: Need to run expandKeys before launching tasks
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4467 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-13 11:45:48 +00:00
Richard Purdie
e14d7dcbee
bitbake: Sync with 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4463 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-13 07:53:18 +00:00
Richard Purdie
01bb9af1ec
runqueue.py: Fix default whitelist variable value
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4413 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 09:21:49 +00:00
Richard Purdie
d6addd4969
bitbake: Sync with 1.8 branch upstream for PREFERRED_PROVIDERS message improvements and BB_STAMP_WHITELIST functionality
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4411 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-04 23:22:24 +00:00
Ross Burton
8bfb9258cf
Use bb.utils.md5_file isntead of calling md5sum
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4386 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 10:59:24 +00:00
Ross Burton
a74658d4ed
Add md5_file and sha256_file checksum methods which use the builtin Python checksum code
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4385 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 10:59:00 +00:00
Richard Purdie
acc62fcec3
bitbake: Tweak new URI checkstatus code slightly fixing two corner cases.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4354 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 12:53:36 +00:00
Richard Purdie
748039c0e1
bitbake: Sync with bitbake 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4352 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 11:22:54 +00:00
Richard Purdie
67d5f0483b
bitbake: Improve fetcher runcmd function so error messages are visable and various variables are exported for the benefit of the git fetcher
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4194 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 11:34:15 +00:00
Richard Purdie
be963bf7db
bitbake: Add proxy support to CVS fetcher (patch from Cyril Chemparathy)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4192 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 10:24:47 +00:00
Richard Purdie
841b37b626
bitbake: Fix a bug where changed files weren't getting spotted and an invalid cache was being used
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4148 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-28 17:19:49 +00:00
Richard Purdie
853280f161
bitbake: Update with changes from bitbake 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4006 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-14 11:44:34 +00:00
Richard Purdie
98555dd5a0
bitbake: Sync bbimage with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3895 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-04 00:28:55 +00:00
Richard Purdie
39a089a3e7
bitbake: Bump cache version
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3893 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-03 22:34:32 +00:00
Richard Purdie
ab191d21e2
bitbake: Update to bitbake 1.8 branch head
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3892 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-03 22:01:45 +00:00
Richard Purdie
6ac3680a2d
bitbake: Sync with upstream 1.8 branch for git fetcher and --continue mode fix
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3761 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 20:33:43 +00:00
Richard Purdie
05c49eaac2
bitbake: Update to 1.8.10 release
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3555 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-20 14:58:00 +00:00
Richard Purdie
079e6825aa
bitbake: sync with upstream stable branch bugfixes and enhancements
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3554 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-20 12:09:31 +00:00
Marcin Juszkiewicz
5891567060
CVS fetcher: added "fullpath" option to get full repository paths inside of
...
checkout archive tarballs. It is very useful when used with "norecurse"
option.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3496 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-16 10:58:57 +00:00
Marcin Juszkiewicz
cc1e39fab2
CVS fetcher: add "norecurse" option to fetch directory from CVS without its
...
subdirs ("cvs co -l" option)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3495 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-16 10:56:57 +00:00
Richard Purdie
bd837ac673
cooker.py: Fix -g option breakage from previous commits
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3415 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-06 23:06:42 +00:00
Richard Purdie
7821f2250d
bitbake: Sync with bitbake upstream for various fixes
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3411 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-06 16:51:51 +00:00
Richard Purdie
b12795d49f
bitbake fetcher: Make invalid url errors clearer
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3262 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-27 22:23:04 +00:00
Richard Purdie
c0adbcbc1c
bitbake: Add support for task specific lockfiles
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3232 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-25 14:25:59 +00:00
Richard Purdie
e6fccbb463
bitbake: Sync with upstream, fix some typos, add selfstamp flag
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3227 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-25 13:54:43 +00:00
Richard Purdie
62a3ee38ed
bitbake: Convert fetcher code to using bb.utils locking functions
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3223 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 16:49:12 +00:00
Richard Purdie
701aa74aeb
bitbake: Add bb.utils.lockfile() and bb.utils.unlockfile()
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3221 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 14:44:36 +00:00
Richard Purdie
636e360eea
Remove broken c based parser code
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3192 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-17 22:21:42 +00:00
Richard Purdie
688eca78c0
bitbake/fetchers: Sync with upstream bitbake
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3191 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-17 22:20:55 +00:00
Richard Purdie
2704cfa82d
bin/bitbake: Fix help typo
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3184 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-16 10:53:10 +00:00
Richard Purdie
e13102cd66
bitbake: Update SRCREV fetcher code to cope better with multiple SCM packages
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3145 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-13 23:03:21 +00:00
Richard Purdie
d9a71e8814
bitbake: fetcher init - clear data's internal expand cache since the cached SRCREV value will be wrong
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3104 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-08 10:27:16 +00:00
Richard Purdie
4c76399930
bitbake: git.py - Fix weird git checkout issues by using git-fetch, not git-pull since we don't care about the index
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3102 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-08 00:06:34 +00:00
Richard Purdie
e9b7bc6914
bitbake: fetcher updates - Add BB_GENERATE_MIRROR_TARBALLS option to allow disabling tarball creation to speedup git fetches, improve srcrev handling to remove some hacks and remove the need for external workarounds
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3101 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-07 23:49:55 +00:00
Richard Purdie
14fb92c008
bitbake runqueue.py: Allow multiple options for deptask flag (from poky), fix comment typo.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3041 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-30 12:03:07 +00:00
Richard Purdie
c9be325eb9
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3040 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-30 11:46:19 +00:00
Richard Purdie
498b4f45da
bitbake data.py: Fix unexport handling (#OE3135)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2948 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-22 11:53:17 +00:00
Richard Purdie
c033c91c6b
bitbake: providers.py: Fix perferred_version variable handling
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2947 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-21 22:35:46 +00:00
Richard Purdie
beb3a1be52
bitbake: Fix taskdata whitespace splitting issues
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2871 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-12 07:51:50 +00:00
Richard Purdie
46b69ea92e
bitbake: Sync bzr fetcher with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2866 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-11 21:42:24 +00:00
Richard Purdie
388c2f80ff
bitbake: Add hg fetcher (from bitbake upstream)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2865 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-11 21:41:34 +00:00
Richard Purdie
eb7cc8a967
bitbake git.py: Always use tag param from URI if specified
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2791 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-26 08:39:57 +00:00
Richard Purdie
9c9fad5654
build.py: Add support for cleaning directories before a task in the form: do_taskname[cleandirs] = 'dir'
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2693 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 08:40:25 +00:00
Richard Purdie
899c451a73
bitbake: Sync with 1.8 upstream branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2689 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 07:48:15 +00:00
Richard Purdie
e223238b1b
bitbake: Update to latest bitbake-1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2651 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02 14:10:08 +00:00
Marcin Juszkiewicz
a75b8d8b36
bitbake: use Psyco only on x86 (no support for other archs)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2541 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-23 07:36:58 +00:00
Richard Purdie
d8bfa5c6ef
bitbake: Sync with 1.8.8 release
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2513 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-20 07:48:43 +00:00
Richard Purdie
9a1a624518
git.py: Fix reference to tag
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2503 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-16 11:58:13 +00:00
Richard Purdie
7611768e23
bitbake: Sync with 1.8 head. Adds locking to the fetcher to prevent parallel downloads, fixes key expansion issues and occasional missing dependency graph links
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2502 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-16 09:55:21 +00:00
Richard Purdie
11ce59b501
bitbake fetch/git.py: Don't use master as a tag
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2501 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-16 08:52:43 +00:00
Richard Purdie
7530674214
bitbake: Sync with upstream 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2497 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-15 08:39:19 +00:00
Richard Purdie
ce800d3aea
bitbake: Sync with upstream 1.8 branch for fixes
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2484 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-12 23:06:49 +00:00
Richard Purdie
18026165c3
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2480 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-11 22:42:15 +00:00
Richard Purdie
62f662256a
bitbake fetch/__init__.py: Don't print double newlines
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2474 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-09 13:54:30 +00:00
Richard Purdie
6e909eb80e
bitbake runqueue.py: Improve the progress indicator by skipping tasks that have already run before starting the build rather than during it
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2423 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-09 10:51:58 +00:00
Richard Purdie
029f45e080
providers.py: Also add pn-PN syntax to overrides when evalutating PREFERRED_VERSION
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2416 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 22:28:17 +00:00
Richard Purdie
b5aa22b972
bitbake lib/bb/runqueue.py: Make sure intertask depends get processed correctly in recursive depends
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2368 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-05 22:43:24 +00:00
Richard Purdie
6883189d5f
bitbake persist_data: Fix for python 2.4
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2366 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 23:58:56 +00:00
Richard Purdie
ce4ba3c2b7
bitbake persist_data: Fix for python 2.4
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2365 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 23:54:31 +00:00
Richard Purdie
e33eaf13d5
bitbake persist_data: Fix module reference
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2364 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 22:45:37 +00:00
Richard Purdie
71068e7cee
bitbake persist_data: Add own retry logic
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2363 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 22:12:42 +00:00
Richard Purdie
9858ddb9c5
bitbake persist_data: Use immediate connection mode
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2362 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 21:15:47 +00:00
Richard Purdie
89853852ed
bitbake: Try to fix cache locking issue
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2361 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 20:13:35 +00:00
Richard Purdie
51df8408c1
bitbake BBHandler: Disable creation of A variable
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2360 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-04 19:57:10 +00:00
Richard Purdie
bfc70eb24e
bitbake: Update along 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2345 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-03 13:40:52 +00:00
Richard Purdie
119b1d5b09
build.py: Start to fix path quoting
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2125 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-06 12:42:16 +00:00
Richard Purdie
d3076aca9d
bitbake: Sync with upstream
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2012 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-26 21:23:37 +00:00
Richard Purdie
0f5900dabe
bitbake/taskdata: Exit from the providers loop when the first match is found, fixing spurious output and warnings
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1948 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-14 16:38:18 +00:00
Richard Purdie
70b11ba582
bitbake: Sync manual updates and version info with bitbake svn
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1920 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-12 10:06:56 +00:00
Richard Purdie
25cbce31b3
runqueue.py: Correctly use /dev/null as stdin
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1918 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-12 09:23:39 +00:00
Richard Purdie
1ad7c7b546
bitbake: Exit if parsing errors occur
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1832 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-31 11:31:44 +00:00
Richard Purdie
d05bcee7f2
bitbake: Merge bugfixes from bitbake-1.8 svn
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1759 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-22 11:50:37 +00:00
Richard Purdie
bd0ca262c9
build.py: Sync with bitbake 1.8 branch
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1426 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:23:48 +00:00
Richard Purdie
7371e6323c
bitbake: Update to 1.8.1 (inc. various bug fixes, epoch support)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1419 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-01 15:04:49 +00:00
Richard Purdie
23ce7821a3
bitbake: merge upstream fixes and fix bug in recrdeptask handling
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1282 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-02-21 20:15:13 +00:00
Richard Purdie
f5665d5bfc
bitbake: Sync with upstream.
...
* File licence headers were sanitised causing most of the diff.
* cooker.py was created from bin/bitbake.
* cvs fetcher port option was added
* The -f force option was fixed to work correctly
* Multiple entries in rrecrdeps are now handled correctly
(allows adding do_deploy to image depends)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1129 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 23:53:01 +00:00
Richard Purdie
a34d402b9e
bitbake svn fetcher: Don't use a date when a revision is specified
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1112 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-02 16:52:41 +00:00
Richard Purdie
b142185345
fetch/__init__.py: Allow srcdate to be overridden in SRC_URI
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1015 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-06 16:29:47 +00:00
Richard Purdie
aac2b8d747
runqueue.py: Send SIGINT upon Ctrl+C, not SIGNTERM
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1014 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-06 16:29:08 +00:00
Ross Burton
23af674e6d
Fix typo
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1005 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-05 12:13:00 +00:00
Richard Purdie
21fb2cbe1c
bitbake runqueue.py: Set children as process group leaders and send SIGTERM to the process groups
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@998 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-04 17:30:47 +00:00
Richard Purdie
37669af82c
bitbake: Fix a couple of typos in the bitbake shell
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@990 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-30 11:18:11 +00:00
Richard Purdie
681d6c18ad
bitbake: Sync with bitbake trunk for bugfixes and improved dot file generation code
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@987 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 22:52:37 +00:00
Richard Purdie
edd988ecb3
data_smart.py: micro optimisation from bitbake trunk
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@963 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-27 09:15:20 +00:00
Richard Purdie
1e95d39948
Confhandler.py: Add cleanup from bitbake trunk
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@962 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-27 09:10:38 +00:00
Richard Purdie
9f10a98f44
svn.py, git.py: Sync with bitbake trunk - comment changes
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@961 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-27 08:57:29 +00:00
Richard Purdie
d8f7680dc0
fetch/__init__.py: Store url data per .bb file fixing urldata contamination between .bb files.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@960 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-27 08:52:57 +00:00
Richard Purdie
0da3c82a66
bitbake/lib/bb/data.py: Add unexport flag for variables, add speedup for expandKeys
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@956 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-25 09:57:29 +00:00
Richard Purdie
306b7c7a97
bitbake: Upgrade from 1.4 -> 1.7.4ish
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@863 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-16 15:02:15 +00:00
Richard Purdie
27e6638adc
bitbake build.py: Add interactive flag for tasks to allow i/o redirection to be disabled. Also fix NFS stamp error
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@681 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-30 21:26:07 +00:00
Chris Larson
1b95f50498
Bitbake: add the ssh fetcher to the MANIFEST.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@525 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 08:29:03 +00:00
Chris Larson
29427c4df3
Add initial SSH fetcher to bitbake.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@524 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 08:20:48 +00:00
Richard Purdie
bc8ad1b1cd
bitbake: Update against upstream stable branch (includes srcdate='now' support)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@458 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-06-10 08:56:40 +00:00
Richard Purdie
27dba1e624
Update to bitbake 1.4.2 (latest stable branch release). This includes the caching speedups
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@371 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-05-09 15:44:08 +00:00
Richard Purdie
a9f1e28ec9
task-oh: Move ttf-bitstream-vera, xhost and xauth to be in minimal images (fixes minimal image booting issues)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@355 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-04-17 09:45:55 +00:00
Richard Purdie
14ed1250cc
Add missing file
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@310 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-03-20 21:02:45 +00:00
Richard Purdie
b26a945734
Update to latest bitbake
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@309 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-03-20 17:45:11 +00:00
Richard Purdie
78c5069d65
bitbake: Fix a couple of VAR_${PN} errors reported by ross
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@307 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-03-20 15:03:30 +00:00
Richard Purdie
d0bf2b3192
Fix an bitbake RDEPENDS bug and add a hack to work around quilt-native issues (the alternative is to start creating a load of native packages to map the runtime depends to build time ones).
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@275 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-02-13 13:09:56 +00:00
Richard Purdie
ce241d7e6d
Update to 1.3.3 release of bitbake
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@269 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-02-10 11:43:38 +00:00
Richard Purdie
e068eea785
Update bitbake to latest bitbake svn
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@264 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-02-10 10:13:42 +00:00
Richard Purdie
62dc8f47b3
Update bitbake to latest bitbake svn
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@262 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-02-10 10:11:32 +00:00
Chris Lord
fb9fa71f88
Don't ignore CVSDATE with svn check-outs
...
git-svn-id: https://svn.o-hand.com/repos/poky@213 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-12-23 19:04:54 +00:00
Richard Purdie
e752d6f3aa
Fix bitbake svn fetcher filenames
...
git-svn-id: https://svn.o-hand.com/repos/poky@204 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-12-22 16:58:42 +00:00
Richard Purdie
d910c678de
Update bitbake to use package name as an override when working out PREFERRED_VERSION
...
git-svn-id: https://svn.o-hand.com/repos/poky@166 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-11-03 18:22:25 +00:00
Richard Purdie
d3fa3b8f9c
Remove some inappropriate binaries
...
git-svn-id: https://svn.o-hand.com/repos/poky@3 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-08-31 10:50:30 +00:00
Richard Purdie
f54da734eb
Initial population
...
git-svn-id: https://svn.o-hand.com/repos/poky@2 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-08-31 10:47:56 +00:00