]>
code.ossystems Code Review - openembedded-core.git/log
Darren Hart [Mon, 3 Jan 2011 17:39:23 +0000 (09:39 -0800)]
trace-cmd: license file updates
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Darren Hart [Wed, 29 Dec 2010 01:17:25 +0000 (17:17 -0800)]
trace-cmd: fix cross-compilation
The trace-cmd Makefile forces certain variables, such as CC and AR.
It was using the host gcc and loader, fix it to use the poky-built
cross-compiler and linker.
inherit pkgconfig to ensure we don't use the host pkg-config.
Remove unecessary variables from the oemake commands, such as ARCH
and LD which aren't used by the Makefile.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:48:51 +0000 (20:48 +0800)]
distro_tracking_fields.inc: update for lastest package updates
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:47:42 +0000 (20:47 +0800)]
preferred-xorg-versions.inc: updated for lastest package updates
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:18:45 +0000 (20:18 +0800)]
librsvg: upgrade from 2.32.0 to 2.32.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:17:30 +0000 (20:17 +0800)]
libxxf86misc: upgrade from 1.0.2 to 1.0.3
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:16:46 +0000 (20:16 +0800)]
libdmx: upgrade from 1.1.0 to 1.1.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:15:58 +0000 (20:15 +0800)]
pixman: upgrade from 0.20.0 to 0.21.2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:14:49 +0000 (20:14 +0800)]
scrnsaverproto: upgrade from 1.2.0 to 1.2.1
Add "--enable-specs=no" to disable doc generation -- I doubt we really need
it, and it doesn't work well due to
SEVERE: Error with opening URL 'http://docbook.sourceforge.net/release/images/draft.png'.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:13:29 +0000 (20:13 +0800)]
resourceproto: upgrade from 1.1.0 to 1.1.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:12:45 +0000 (20:12 +0800)]
compositeproto: upgrade from 0.4 to 0.4.2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:12:10 +0000 (20:12 +0800)]
xproto: upgrade from 7.0.19 to 7.0.20
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:10:52 +0000 (20:10 +0800)]
inputproto: upgrade from 2.0 to 2.0.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Dexuan Cui [Wed, 5 Jan 2011 12:09:04 +0000 (20:09 +0800)]
renderproto: upgrade from 0.11 to the latest version 0.11.1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Zhai Edwin [Fri, 31 Dec 2010 08:36:14 +0000 (16:36 +0800)]
matchbox-wm-2: Upgrade to svn r2106
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Zhai Edwin [Thu, 30 Dec 2010 13:04:22 +0000 (21:04 +0800)]
metacity: Upgrade to 2.30.3
Revised one patch from openembed to make host native binary for build.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Zhai Edwin [Fri, 31 Dec 2010 01:18:30 +0000 (09:18 +0800)]
libcanberra: Upgrade to 0.26
Remove nofallbackfix.patch it as already in upstream. Remove
autoconf_version.patch as already have new version of autoconf and no inbuild
libltdl now.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Zhai Edwin [Thu, 30 Dec 2010 12:44:52 +0000 (20:44 +0800)]
xvinfo: Upgrade to 1.1.1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Zhai Edwin [Fri, 26 Nov 2010 08:57:55 +0000 (16:57 +0800)]
beecrypt: Update to 4.2.1
Rebased disable-icu-check.patch & fix-security.patch. Removed x64fix.patch as
it is already in upstream. Also some configure changes: removing "--with-arch"
as it can't cowork with expert mode, adding "--disable-openmp" to avoid
unnecessary dependency.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Darren Hart [Thu, 6 Jan 2011 00:45:56 +0000 (16:45 -0800)]
rootfs_rpm: fix rootfs generation rm error
During a poky-image-minimal build I ran into the following error:
rm: cannot remove `/vol/1/dvhart/poky.git/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs/install': Is a directory
This is caused by a missing -r (recursive) argument to rm. This patch
adds that to the rm command of rootfs_rpm.bbclass.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
Richard Purdie [Wed, 5 Jan 2011 18:56:47 +0000 (18:56 +0000)]
rootfs_rpm.bbclass: Remove temporary work files in install directory, saving the manifests as logfiles into ${T}
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 5 Jan 2011 18:55:38 +0000 (18:55 +0000)]
bitbake: build.py: Logging of None was losing the logs so force this to stdout so we can see function execution failures
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lianhao Lu [Wed, 5 Jan 2011 10:13:53 +0000 (18:13 +0800)]
scripts/bitbake: Skip building pseudo if necessary.
Fixed [BUGID# 625]. Skip building pseudo if necessary by parsing the
options to bitbake.
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Richard Purdie [Wed, 5 Jan 2011 13:35:03 +0000 (13:35 +0000)]
usbutils: Don't install the uncompressed version of usb.ids, the compressed version will suffice
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 5 Jan 2011 13:34:49 +0000 (13:34 +0000)]
pciutils: Don't install the uncompressed version of pci.ids, the compressed version will suffice
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 5 Jan 2011 11:24:14 +0000 (11:24 +0000)]
bitbake: Misc syncups with bitbake upstream, mostly whitespace and a missed line from the last UI commit
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bob Foerster [Fri, 17 Dec 2010 15:20:39 +0000 (23:20 +0800)]
Resurrect alternative UIs
The various alternative UIs have been updated to once again be functional
with the latest bitbake internals. Each of the UIs still have much room for
functional improvement.
In particular, they have been updated to:
- interact with the new process based server
- handle the current set of events and notifications fired from the server
and its associated subsystems
(Bitbake rev:
b947e7aa405966262c0614cae02e7978ec637095 )
Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Wed, 5 Jan 2011 00:54:16 +0000 (00:54 +0000)]
bitbake: build.py logging updates
python tasks calling shell functions using exec_func() would show the log
file as /dev/null. It makes most sense for all the task logging to be setup
centrally by exec_task(), at least with the current code base in Poky.
This commit will need discussion in relation to upstream bitbake and the
IO redirection could be better handled using a context manager (although
task contexts shouldn't ever nest).
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Wed, 5 Jan 2011 00:49:57 +0000 (00:49 +0000)]
bitbake: Fix process.py to accept None as the log option
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 17 Dec 2010 18:53:54 +0000 (11:53 -0700)]
Update persist_data usage to the new API
(Bitbake rev:
9723a1c474b72b096c5a3136bf446ed69f3a749e )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 23 Dec 2010 17:36:39 +0000 (10:36 -0700)]
persist_data: resurrect the lock wait for selects
Think this got inadvertantly dropped when switching to the new API.
(Bitbake rev:
628c5159d1151b89f2b7210c8819489e8dc9a84d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 22 Sep 2010 01:11:54 +0000 (18:11 -0700)]
Rework the persist_data API
Rather than having to run .addDomain() and then .getValue(domain, key),
.setValue(domain, key), etc, now it just works as mappings.
As an example:
setValue(domain, key) -> persist[domain][key] = value
It also arranges things so we can construct objects of this type using any
arbitrary filename/path for the sqlite3 database, rather than being so
tightly bound to the metadata.
(Bitbake rev:
d9e8b8af308ae871efdc8ef0782be30af8c1f894 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 02:51:51 +0000 (19:51 -0700)]
Revert "persist_data: cache connection and use cursor"
Caching the database connection can cause serious issues if it results in
multiple processes (e.g. multiple tasks) simultaneously using the same
connection.
This reverts commit
8a6876752b90efd81d92f0947bfc9527d8260969 .
(Bitbake rev:
60b9b18eafad5ac46c7cf1048d749d673c2ee0ad )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Yu Ke [Tue, 4 Jan 2011 07:55:33 +0000 (15:55 +0800)]
base.bbclass: add lock file for do_unpack task
This patch intend to fix the random unpack failure of linux-libc-headers-yocto
and linux-yocto.
The root cause of the unpack failure is that: these two recpies has the same URL, thus
has the same dest file during the fetch and unpack phase:
do_fetch : create tar ball ${DL_DIR}/git_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
do_unpack : extract tar ball ${DL_DIR}/git_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
fetch phase is protected by lockfile, so it works fine. but unpack phase is not lock protected,
thus there is race condition like: when linux-yocto do_unpack is extracting the tar ball,
linux-libc-headers-yocto do_fetch starts to create tar ball thus overwrite linux-yocto's
tar ball and cause linux-yocto do_unpack failure
To fix this issue, do_unpack also need to be protected by lock
Signed-off-by: Yu Ke <ke.yu@intel.com>
Koen Kooi [Mon, 3 Jan 2011 18:36:07 +0000 (19:36 +0100)]
sstate.bbclass: fix multimachine builds when PACKAGE_ARCH = MACHINE_ARCH
previously you could only build one set of packages for multiple machines:
MACHINE=foo bitbake task-base
MACHINE=bar bitbake task-base
would only create task-base packages for foo, but not for both foo and bar.
Doing MACHINE=bar bitbake task-base -c cleanall would remove the packages for foo.
The solution is to use MULTIMACH_ARCH as suggested by Richard Purdie.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 3 Jan 2011 19:57:24 +0000 (20:57 +0100)]
ConfHandler: commentary typo fixes
(Bitbake rev:
089dc31932a85455ed0fec8209d0451af4310f94 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 3 Jan 2011 19:57:23 +0000 (20:57 +0100)]
event: fix unicode handler registration
(Bitbake rev:
413af91e56a6d2368f6cbe22c0e2a337e1289e55 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 3 Jan 2011 19:57:22 +0000 (20:57 +0100)]
cache: defer marking fn as clean
Only mark fn as clean if it is clean.
This saves us from removing (prematurely added) fn from our clean set
and saves me a few percent of runtime (and misleading debugging output
from remove()).
(Bitbake rev:
884365228fcaac07421ac1440d4946693fb628c5 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 3 Jan 2011 19:57:21 +0000 (20:57 +0100)]
BBHandler: use basename directly in handler()
(Bitbake rev:
739a8ce6ac688061afd55cd3c980d0e9e45c5930 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 3 Jan 2011 19:57:20 +0000 (20:57 +0100)]
data: fewer newlines for (un)export
Previously we emitted two newlines for export and unexport.
One newline for export and unexport is enough (and makes the scripts
look better and a tad smaller).
(Bitbake rev:
ba060160fdf1278a273fb2b77d36b8c681807ecf )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 3 Jan 2011 19:57:19 +0000 (20:57 +0100)]
parse: Use constants from stat instead of magic numbers
(Bitbake rev:
bcabe2dfb587042e139890329ff52d9bb9201cf4 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Sat, 1 Jan 2011 23:55:54 +0000 (23:55 +0000)]
bitbake: Sync a load of whitespace and other non-functionality changes with bitbake uptream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Sat, 1 Jan 2011 23:52:50 +0000 (23:52 +0000)]
bitbake/contrib: Sync with bitbake upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 30 Dec 2010 06:44:21 +0000 (23:44 -0700)]
process: fix handling of the input argument
When using a logfile, we weren't sending input to the child process.
(Bitbake rev:
5ec4ca7e45bdf6d259503fc67155395e89ba6329 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bob Foerster [Tue, 21 Dec 2010 13:12:21 +0000 (08:12 -0500)]
depexp: add sorting of all package lists
Without sorting, it's very difficult to find the information you're
looking for. Now, the lists are all sorted alphabetically for easy
viewing.
(Bitbake rev:
80e3d3a130b9dee72c11c6946bb5ff7705111d7c )
Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 22 Dec 2010 18:00:43 +0000 (11:00 -0700)]
pysh: add missing os.path import
(Bitbake rev:
6fb448a6cfb00aeb5dfc6c047915e0941e754348 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Wed, 22 Dec 2010 15:41:32 +0000 (16:41 +0100)]
runqueue: fix typo in documentation of calculate_task_weights
(Bitbake rev:
5cde120003af97a5cf5c6eff2a02bb1480f9414b )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 17 Dec 2010 21:56:08 +0000 (22:56 +0100)]
runqueue: use fewer newlines in error path
(Bitbake rev:
7498466f0e42beea6f5f411209a892b636c7783c )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 17 Dec 2010 21:46:41 +0000 (14:46 -0700)]
logger usage cleanup
(Bitbake rev:
976e4f84a8147ad762442df7ff4820611a21d227 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 17 Dec 2010 20:18:00 +0000 (21:18 +0100)]
utils: fix typo in error message
(Bitbake rev:
99cdb61b30d0c75c8f831c78346cc9f8ca7945dd )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 17 Dec 2010 19:15:48 +0000 (12:15 -0700)]
Move LAYERDIR expansion hack into DataSmart
(Bitbake rev:
40778a6e9e82c7ea4673a74fc19574430fa63e8d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 17 Dec 2010 18:54:09 +0000 (11:54 -0700)]
parse: use bb.utils.which
(Bitbake rev:
2bc893dc407bf608cac7e12673161b75b712da83 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 17 Dec 2010 18:49:31 +0000 (11:49 -0700)]
Fix logging level names for post-server-ui-split
(Bitbake rev:
dc5a5c39291ec223cd761dce59d29eee7316cb70 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 20 Dec 2010 02:30:49 +0000 (19:30 -0700)]
Use os.devnull, not /dev/null
(Bitbake rev:
ce5ab0fc524a1c2c48c4c39d6fc8aae23019207b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 17 Dec 2010 11:29:49 +0000 (12:29 +0100)]
utils: don't overwrite builtin dir() function
(Bitbake rev:
6dc863f714beda6ca7ff8cd3e830a9bc8a39123d )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 17 Dec 2010 11:26:35 +0000 (12:26 +0100)]
bzr: use utils.remove instead of os.system
(Bitbake rev:
0ef8a9b3780525a28567ebe42956e5cae79ada8c )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 16 Dec 2010 19:18:31 +0000 (12:18 -0700)]
utils: drop unnecessary debug msgs from mkdirhier
(Bitbake rev:
4b36be445a05a544cd3a456acd1dcc8f962359e2 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bob Foerster [Mon, 22 Nov 2010 15:13:56 +0000 (10:13 -0500)]
Show the user progress when loading the cache
(Bitbake rev:
bdd7813d8eecf7b6b636322e748ca6bf69118513 )
Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 15 Dec 2010 20:50:28 +0000 (13:50 -0700)]
knotty: exit with 1 if we see a critical log message
(Bitbake rev:
d527ca441539618c990291fb8340f552ac760bce )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 16 Dec 2010 05:07:38 +0000 (22:07 -0700)]
cooker: don't swallow recipe parse errors
(Bitbake rev:
1f5d49ce64e5e1c7705edbfa3c8e19649c21edd2 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Andreas Oberritter [Thu, 9 Dec 2010 21:22:11 +0000 (21:22 +0000)]
manual: document scmdata=keep for CVS, SVN and Git
(Bitbake rev:
f42e6d33b986183eee2c74aa7b1bbc9b339276a9 )
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Andreas Oberritter [Wed, 8 Dec 2010 13:38:23 +0000 (13:38 +0000)]
fetchers: Add parameter scmdata=keep to include .git/ and others in generated tarballs.
* Allows generating version information from SCMs during build.
* Note that tar doesn't need to use --exclude '.git', because
git checkout-index doesn't clone the repository.
(Bitbake rev:
05cbc1d1a01c667c77688f36fbc5b61c5f452a3a )
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 15 Dec 2010 22:35:13 +0000 (15:35 -0700)]
build: fix FuncFailed for the no logfile case
(Bitbake rev:
3a4b5eb20e41bd3cecd9d7e8dff7d076d8a7bb9a )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 15 Dec 2010 22:13:07 +0000 (15:13 -0700)]
process: handle OSErrors other than file not found
(Bitbake rev:
7d80a5355cb540aae8d3082c1efebb72da4f93c6 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 14 Dec 2010 16:25:58 +0000 (09:25 -0700)]
build: ensure LogTee has a valid name property
(Bitbake rev:
0ebb46e25261cfc85aaef2790cba7c1ec057c306 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 14 Dec 2010 15:10:36 +0000 (08:10 -0700)]
Fix PWD issue with new exec_func_shell
The previous attempt was incorrect. The issue isn't that subprocess fails to
set PWD, it's that PWD is in the metadata, inherited from the environment, and
is re-exported, overwriting the actual accurate one in the shell environment
with the old one from the metadata. So, ensure that PWD in the metadata is
not exported.
We can ditch this when the environment handling is reworked (e.g. poky's
commit to do so).
(Bitbake rev:
2c8683234acf514706b2b69f5b29405485e664dd )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 13 Dec 2010 23:24:14 +0000 (16:24 -0700)]
Ensure that the invalid UI error goes to stderr
(Bitbake rev:
76aeea2c23a518046d0b26f1a6fc43287a180a9d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 13 Dec 2010 22:58:15 +0000 (15:58 -0700)]
build: set PWD in the subprocess preexec hook
(Bitbake rev:
efa5485c8f9d488ba058c40734cc55296d3de6eb )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Sat, 1 Jan 2011 14:36:38 +0000 (14:36 +0000)]
bitbake: Transfer noexec runqueue messages to the UI
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 6 Dec 2010 21:58:55 +0000 (14:58 -0700)]
Move the runq task start/failed messages to the UI
(Bitbake rev:
ab831e867f09b47001cb8da2f8f060e04febf237 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 13 Dec 2010 17:03:55 +0000 (10:03 -0700)]
Silence python 2.7 nested context manager warning
(Bitbake rev:
1c38f19fb8da2e6c55394162d0142e7146387e54 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 23:53:19 +0000 (16:53 -0700)]
Rename command events, adjust compareRevisions
- Moved the logic for comparing revisions from cooker into command
- Removed 'Cooker' from the event names
- Renamed the 'ExitCode' event into CommandExit, and changed CommandFailed to
be a subclass of CommandExit
(Bitbake rev:
c51ed5d7a9971fad6019dac6c35a71b8a54ab16a )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 21:38:48 +0000 (14:38 -0700)]
event: use cPickle for events
(Bitbake rev:
b16c0c1dc3b7e03b02555e9803767a0d695e67f1 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 21:27:28 +0000 (14:27 -0700)]
utils: fix 'lock' variable reference
(Bitbake rev:
f57f8f3cc980e3ae1693c2e065227e951ed0b1c0 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 16:04:08 +0000 (11:04 -0500)]
bb.event: fix MsgBase ref in fire_class_handlers
(Bitbake rev:
db7f960e5f103a424a4319f1867fb540e643c1ec )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 15:51:47 +0000 (10:51 -0500)]
Kill the uncaught exception handler
We now wrap the main() in a try/except, ensuring that both the main portion of
bin/bitbake and the UI raising an exception will be shown to the user. For
the server and workers, we can ensure in the server itself that exceptions are
handled correctly.
(Bitbake rev:
240d4a7ae80a6636c302ae84266ddfed7a7fcedd )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 14 Dec 2010 16:20:33 +0000 (09:20 -0700)]
build: fix -D with shell functions
(Bitbake rev:
1c8be64732fdf4f3a608c090b3dc92065d6058d6 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 04:38:35 +0000 (23:38 -0500)]
build: send logging messages to the log file for python functions
(Bitbake rev:
ee1cce6ab21ddda60a7a070d03e98ff8485a5e71 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 02:50:23 +0000 (21:50 -0500)]
utils: fix calls to close() in the lock/unlock functions
(Bitbake rev:
4262c26d36d1c1b6801ac422716a227c1f6b9589 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 01:29:31 +0000 (20:29 -0500)]
build: use a contextmanager for locks
Also don't bother passing logfile to exec_func_python, at least until we start
adding the logfile as a file handler to the bitbake logger.
(Bitbake rev:
f99ee4680c9f67b7ed13fc06044ba2382f9a782c )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 01:14:48 +0000 (20:14 -0500)]
build: use bb.process instead of os.system
(Bitbake rev:
53740977521bc81ffa37adfa7bbeb8f2a80ea165 )
build: write logfiles per task, not per function
Based on
d14f9bf6 from poky, reworked for master and other cleanup.
(Bitbake rev:
beadff2eca1eb95f0411115dd72ddb4c3c44c604 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 01:14:40 +0000 (20:14 -0500)]
process: add subprocess-based bits
(Bitbake rev:
c63e55564a8840083dbd8634b10fe6f76d1f1354 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 9 Dec 2010 19:05:22 +0000 (14:05 -0500)]
Rename the ui 'init' method to 'main'
As these may run the UI in a blocking fashion and then return the exit code,
'init' was an inappropriate name, and 'main' is more appropriate.
(Bitbake rev:
4d081a0ed759bd526ab01849d650bd9e8d80ddd1 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 23 Nov 2010 22:30:45 +0000 (15:30 -0700)]
cooker: use re match, not search in re_match_strings
We want to match the requested pattern at the beginning of the string,
otherwise things behave in an unintuitive manner wrt ASSUME_PROVIDED (e.g.
ASSUME_PROVIDED += "gtk+" will also assume foo-gtk+ is provided), and the user
can always use '.*gtk+' to get the old behavior.
(Bitbake rev:
5670134ab2eb573d39df3c3231677cdb1a1dfc72 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 23 Nov 2010 22:30:23 +0000 (15:30 -0700)]
taskdata: use 'any' in re_match_strings
(Bitbake rev:
e48e9a2150ee76aaf151f6d5bc9e86e6ae4de514 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 8 Dec 2010 20:08:18 +0000 (15:08 -0500)]
cooker: add shutdown/stop methods
(Bitbake rev:
fc64eff03fe1f41e59128cb3df0ef2161e24a8cb )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 8 Dec 2010 19:30:33 +0000 (14:30 -0500)]
cooker: merge cookerState and cookerAction
(Bitbake rev:
c7c8945ef7ca9465312e630b7fa5f0a87ac8b6c7 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 7 Dec 2010 18:00:22 +0000 (13:00 -0500)]
cooker: use a pool, abort on first parse error
(Bitbake rev:
9caf65e79f95fe0045e727391e974c4c1e7411ff )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 7 Dec 2010 04:58:07 +0000 (21:58 -0700)]
knotty: use enumerate for task waiting
(Bitbake rev:
89ce8df075ac8c9a5478c86405e6e6b60346a51c )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 7 Dec 2010 04:06:13 +0000 (21:06 -0700)]
knotty: shift non-interactive progress into a class
(Bitbake rev:
c3d005cbbae3d56da9926666cfb1501c2bf96ea7 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 3 Dec 2010 17:39:11 +0000 (12:39 -0500)]
Fix the <100 recipe progress fix
(Bitbake rev:
424428a764651183218f9cc93bc05496867aa5de )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 3 Dec 2010 17:15:04 +0000 (12:15 -0500)]
Error more pleasantly when trying to use python2.4
(Bitbake rev:
57402ee727c8c1d8f5017534fb0f5e0b20aaaa5b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 2 Dec 2010 19:05:51 +0000 (12:05 -0700)]
Don't show a traceback for a python version error
(Bitbake rev:
44c325306e55336b7b416fd88b39874012a3f603 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 30 Nov 2010 20:57:36 +0000 (13:57 -0700)]
cooker: don't choke on <100 recipes to parse
(Bitbake rev:
2be5169a01e57bcfcb1f75cbd6bac3bf0f230edd )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 30 Nov 2010 15:25:13 +0000 (08:25 -0700)]
cooker: no cached in progressbar and add ETA
Rather than updating the progress bar based on the recipe being processed
(whether cached or parsed), consider only parsed recipes. This reduces the
instability in progress rate introduced by the cached entries, and allows the
ETA to be resurrected and be a bit more useful.
(Bitbake rev:
618480f7739f6ae846f67a57bee5a78efb37839d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 29 Nov 2010 15:50:19 +0000 (08:50 -0700)]
cache: change to more incremental format
(Bitbake rev:
4fe4ffbef3885887c97eebe021edc3f23feab9ea )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 29 Nov 2010 15:06:30 +0000 (08:06 -0700)]
cooker: pass back child exceptions to the server
(Bitbake rev:
0f68f8bcd0e0aa944f76f88a4a85c9bcc1e42bee )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 26 Nov 2010 21:11:06 +0000 (14:11 -0700)]
vercmp: don't choke on empty first version components
(Bitbake rev:
e75aa94e9477933c5a40021b2a8e844db54f29da )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 26 Nov 2010 17:08:05 +0000 (10:08 -0700)]
Use __file__, not sys.argv[0]
(Bitbake rev:
97e92abe49663eee189c89c1dc91fe69891faf73 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 24 Nov 2010 03:08:06 +0000 (20:08 -0700)]
cache: ensure 'pn' is included in the pkgvars
(Bitbake rev:
cefc28a2aa1e5703119dacfd885c8c159a1e47a3 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>