summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2010-03-26handbook: Update links to Anjuta pluginJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26fakechroot: Fix patch applicationJoshua Lock1
We listed the Debian patch but never actually asked BitBake to apply it. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-25bitbake/event.py: Run class eventhandlers in the task context but ensure UI ↵Richard Purdie1
handlers run in the server context Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25bitbake/cooker.py: Finishing the command needs to happen after the ↵Richard Purdie1
BuildCompleted event else the cooker can shutdown first Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25cache.py: Bump the cache version after the BBVERSIONS updateRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25bb.manifest: Drop, its unused and obsolete. No point in having dead code aroundRichard Purdie1
(Bitbake rev: 69374497b557a5e99ffc7cbe5e075d63e2d9cfaa) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25BBFILES: use a set to remove duplicates when collecting.Chris Larson1
(Bitbake rev: b1b06133da4ca379a60775552d481f7fbf77e999) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25bb/command was importing bb and accessing some of its own classes indirectly ↵Chris Larson1
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-25Why is bb/__init__.py importing bb?Chris Larson1
(Bitbake rev: 3eb01a20cbbb2e7a2f6278089bcc9bb70021738f) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25data_smart: be explicit about what we make available to eval'd python codeChris Larson1
(Bitbake rev: 6a73dda60f50e9b3e5513795d1ec7207d1446de2) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25Fix 7 references to undefined variables, as spotted by pyflakesChris Larson4
(Bitbake rev: e1e4ccf203e38070eeafd31a622671996cff61a1) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25bb.utils: remove old portage remnantsChris Larson2
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-25bb.utils: utilize string.letters and string.digitsChris Larson1
(Bitbake rev: 7af05cba87ec9f3ea5e53689b3d9f0a63784d1b5) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25bb.which: fix broken direction/reverse argumentChris Larson1
(Bitbake rev: 4725d83f532cad96168aa9affdedb33b6fc897b7) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25crumbs: fix hassattr typoChris Larson1
(Bitbake rev: 5593de13a18792e36d15dfd2a9579b36284e4d67) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25Implement BBVERSIONSChris Larson4
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-25usermanual.xml: Add documentation on bblayers.confRichard Purdie1
(Bitbake rev: 879229d12c2830dba9e0cb794e61e3c698b8dcc7) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25Expand PREMIRRORSEnrico Scholz1
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-25utils: improve wording of error messageBernhard Reutner-Fischer1
(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-25bootimg.bbclass: Fix dependency nameRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25parted: Add BBCLASSEXTEND nativeRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin ↵Richard Purdie2
location and fix dependencies Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25syslinux: Convert to BBCLASSEXTEND, clean up recipe and staging functionRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25scm-revisions: Always use ??= operatorRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25meta-openmoko: Add layer configurationRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25meta-moblin/layer.conf: Fix layer locationRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25meta-extras: Add layer configurationRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25poky-image-minimal-directdisk: Add directdisk image exampleRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25boot-directdisk.bbclass: Add direct disk image creation classRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25bootimg.bbclass: Improve documentationRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23bitbake: Gross hack to fix packaged-staging with BBCLASSEXTEND packagesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23packaged-staging.bbclass: Revert accidental damageRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23packaged-staging.bbclass: Fix mkdir to actually create the destination directoryRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23encdev-native: Convert to BBCLASSEXTENDRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23yum: Update yum and createrepo to latest versionJoshua Lock5
Also switch Yum to using BBCLASSEXTEND rather than having separate native and host recipes. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-23.gitignore: ignore bblayers.confJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-23linux-nokia800_2.6.21: Remove legacy staging functionJoshua Lock2
The recently added kernels for the N800 include legacy staging functions, update them to follow the new world order. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-23u-boot: remove legacy stagingJoshua Lock1
A recent commit seems to have introduced a legacy staging function, remove it Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-23fakechroot: Update to 2.9 and add a patch from DebianJoshua Lock2
This update includes a refresh of our existing readlink patch and a (trimmed) copy of the patch Debian are shipping in their package which includes unreleased fixes from SVN for building against more recent glibc. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-22pseudo: Add recipeRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22layer.conf: Fix filename conflictRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Move default SCM versions into separate meta directory specific files to ↵Richard Purdie6
improve maintainability Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Switch to bblayers configurationRichard Purdie5
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22bitbake/cooker.py: Add support for a bblayers.conf fileRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22utility-tasks.bbclass: Remove unneeded base_ prefix since we don't EXPORT ↵Richard Purdie1
these functions any longer Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22bitbake/providers: Fix merge errorRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22cooker: bail out early if no files to buildBernhard Reutner-Fischer1
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-22Fix issues with BBCLASSEXTEND set by anonymous python, and rename some ↵Chris Larson1
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-22Implement ??= operatorChris Larson3
??= 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-22Avoid unnecessary calls to keys() when iterating over dictionaries.Chris Larson6
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>