Commit Graph

7437 Commits

Author SHA1 Message Date
Joshua Lock ad07d796fe .gitignore: Add packaged staging directory to ignore list
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock 5eb169bb6a python-urlgrabber: Update to 3.9.1 with extra patches from Fedora
Add a couple of extra patches from Fedora to make the latest createrepo package
work.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock 811497111b python-native: Fix DEPENDS by adding sqlite3
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock 678537c684 pyton-pycurl: Add new recipe from OE.dev
Add python-pycurl_7.19.0 from OE.dev with some tweaks to enable a native
version. This package is a dependancy of newer Yum

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock a2d5806f5d curl: Bump to 7.20
Newer libcurl is needed by newer pycurl which is needed by newer yum

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock 555f60faa0 yum: Fix installation of python modules
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock 9b3a51fbd8 handbook: Update links to Anjuta plugin
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock 72af5b2f92 fakechroot: Fix patch application
We listed the Debian patch but never actually asked BitBake to apply it.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00: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 c328f161f8 bootimg.bbclass: Fix dependency name
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 17:09:15 +00:00
Richard Purdie 5cda1b7660 parted: Add BBCLASSEXTEND native
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 14:09:24 +00:00
Richard Purdie f89cd3158a bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin location and fix dependencies
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 14:09:06 +00:00
Richard Purdie 91f093a2b2 syslinux: Convert to BBCLASSEXTEND, clean up recipe and staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 14:08:12 +00:00
Richard Purdie 7ccc046732 scm-revisions: Always use ??= operator
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 11:59:12 +00:00
Richard Purdie 679746595e meta-openmoko: Add layer configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 11:56:08 +00:00
Richard Purdie 00d0202a75 meta-moblin/layer.conf: Fix layer location
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 11:52:31 +00:00
Richard Purdie 4e821de9e2 meta-extras: Add layer configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 11:48:44 +00:00
Richard Purdie e941ff652a poky-image-minimal-directdisk: Add directdisk image example
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 11:45:13 +00:00
Richard Purdie 027c167878 boot-directdisk.bbclass: Add direct disk image creation class
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 11:44:25 +00:00
Richard Purdie f30bf93e14 bootimg.bbclass: Improve documentation
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25 11:36:40 +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 0449c26e97 packaged-staging.bbclass: Revert accidental damage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23 21:59:06 +00:00
Richard Purdie 9ce619897c packaged-staging.bbclass: Fix mkdir to actually create the destination directory
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23 21:56:21 +00:00
Richard Purdie ae04c7f11d encdev-native: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23 16:57:33 +00:00
Joshua Lock ff5e6f4b4d yum: Update yum and createrepo to latest version
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 14:51:10 +00:00
Joshua Lock 1a1361040f .gitignore: ignore bblayers.conf
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-23 14:51:09 +00:00
Joshua Lock d02c604d31 linux-nokia800_2.6.21: Remove legacy staging function
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-23 14:51:09 +00:00
Joshua Lock e78c12d136 u-boot: remove legacy staging
A recent commit seems to have introduced a legacy staging function, remove it

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-23 14:51:09 +00:00
Joshua Lock e3c4237fd7 fakechroot: Update to 2.9 and add a patch from Debian
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-23 14:50:50 +00:00
Richard Purdie 1d05e3aa30 pseudo: Add recipe
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 23:54:41 +00:00
Richard Purdie 006510ceda layer.conf: Fix filename conflict
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 23:40:15 +00:00
Richard Purdie d158569aa9 Move default SCM versions into separate meta directory specific files to improve maintainability
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 23:35:48 +00:00
Richard Purdie 90040ce7b5 Switch to bblayers configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 18:11:41 +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