summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2011-02-23openjade-native: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman1
Otherwise the sgml-docbook.cat catalog would not be updated when a build from sstate cache is run. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-23docbook-dsssl-stylesheets-native: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman1
Otherwise the sgml-docbook.cat catalog would not be updated when a build from sstate cache is run. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-23docbook-sgml-dtd-native.inc: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman1
Otherwise the sgml-docbook.cat catalog would not be updated when a build from sstate cache is run. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-23sstate.bbclass: add SSTATEPOSTINSTFUNCSScott Garman1
When doing builds using sstate cache, there was no way to run the equivalent of a pkg_postinst function. This is needed by the SGML-related documentation recipes to properly update the catalog files when new DTDs and stylesheets are installed. SSTATEPOSTINSTFUNCS is a new variable you can set to function(s) in your recipe to run after install is completed from sstate. Thanks to Richard Purdie for suggesting this solution. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-02-23bitbake/build.py: Fix TaskFailed parametersRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-23bitbake/data_smart: Improve Variable expansion error handlingRichard Purdie1
If expanding a variable triggers an exception the caller currently has no way to supress the error message or otherwise handle the siutation. An example of where this is a problem is "bitbake -e" showing tracebacks and errors for variables like SRCPV in OE/Poky. Secondly in a chained expansion fails, log mesages are recorded for every step of the expansion, not just the innermost error which is where the real failure occured. To fix this we introduce a new exception ExpansionError which callers can handle as appropriate. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-23bitbake/data_smart: Improve the way lazyassignment worksRichard Purdie2
Currently, if a variable has been set with ??= and the code looks it up before the data finalisation phase, no value is found. This is causes serious problems for anonymous python functions which manipulate data, or for the fetcher revision handling code where revisions can be set with ??=. There is also a significant performance implication for processing lazy assignment in finalise. Moving the check for a default value into getVarFlag addresses both the timing issue and the performace. This change gives a 7% real time performance improvement to parsing the Poky metadata. The cost of the check at this point is minimal since we have all the data flags available. This should also fix Yocto bug 752. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-23bitbake/fetch2: Ensure SRCREV_pn-PN is checked for a revision when the ↵Richard Purdie1
SRC_URI is unnamed Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-23bitbake/cooker: Fix parsing failure zombie problemRichard Purdie1
When parsing if a SystemExit event is triggered, it causes the parsing thread to exit and the main process hangs waiting for it to finish indefintely. Add code to catch BaseExceptions and raise these with the main process gracefully instead of just hanging indefinitely with zombie processes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22bitbake/BBHandler: Improve handling of multiline comments and warn users of ↵Richard Purdie1
the change Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie18
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22qemu: enable audio supportZhai Edwin2
On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed. [BUGID #488] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-02-22mklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNCDexuan Cui2
mklibs-native needs elf.h (that is supplied by libc6-dev). since STAGING_INCDIR_NATIVE doesn't contain elf.h (we don't have eglibc-native), so the host's /usr/include/elf.h is used. Unluckily, the libc6-dev in Ubuntu 9.04 is so old that the elf.h doesn't define STT_GNU_IFUNC, so we have to define it ourselves. Fixes [BUGID #726] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-22package_deb.bbclass: Place the whole task under fakeroot context to fix ↵Richard Purdie1
build failures If we don't do this, the ipk/rpm backends can create temporary files and then when the deb package creates new files, those inodes can be reused and permission confusion results. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22gst-meta-base: add uridecodebin library supportDongxiao Xu1
libowl-av tries to use playbin2 defaultly, which needs uridecodebin support from gst-plugins-base. This fixes both [BUGID #615] and [BUGID #616] CC: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-21linux.inc: remove the obsolete linux.inc kernel recipe includeDarren Hart1
linux.inc was used by older kernel recipes which have now been removed from the core meta data. I references machines now only defined in meta-extras. The configure prepend mangles the kernel .config in non-intuitive ways and the install peroforms some odd boot image manipulation that is not used nor required by supported machines. The required functionality, such as defconfig setup, has already been moved to the kernel bbclass. Remove linux.inc to avoid confusion for new kernel recipe authors and clean up the kernel meta data. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21linux-2.6.33.2: remove linux-2.6.33.2 recipeDarren Hart6
The one machine listed for this kernel recipe does not have a machine config. This recipe uses some older mechanism which are being phased out. Remove it to avoid confusion and clean up the kernel recipes metadata. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21linux-2.6.23: remove the linux-2.6.23 recipeDarren Hart16
The machines supported by this recipe were either recently removed or simply not defined. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21zaurus: remove zaurus linux includesDarren Hart2
Zaurus support was removed with: 673abd92f999829bdd67d0273c43570a62123a63 conf/machine: Drop older machines with no recent updates which removed both the linux-rp and sharp-flash-header recipes required by the zaurus includes removed by this patch. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-02-21ADT: Fix check_result script cond comparison bugLiping Ke1
When meeting errors, the return number can't be directly compared with -1. Actually, it might be represented as 255. The correct way is to compared it with 0. If the result is non-zero number, we meet error. This patch is for fixing [BUGID #742] Signed-off-by: Liping Ke <liping.ke@intel.coom>
2011-02-21distrodata.bbclass: Fix some bugs for rpm,icu and quicky recipe when ↵Mei Lei1
checking upstream version Fix some bugs in checkpkg function when checking upstream version Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-02-21libtool: avoid absolute pathnames of general utilsNitin A Kamble6
addded a new patch: libtool/avoid_absolute_paths_for_general_utils.patch This fixes [BUGID #154] This fixes [BUGID #734] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-21linux-yocto: update to 2.6.37.1Bruce Ashfield1
Updating the SRCREVs to reflect the 2.6.37.1 merge. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-02-21bitbake/runqueue: Drop PATH override. This was needed for the exec() change ↵Richard Purdie1
but not now we use fork() Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21tar.inc: Fix unintended damageRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21tar-replacement-native: Fix installRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21tar-replacement-native: Add a target to replace the default tarRichard Purdie3
tar < 1.24 has symlink issues where extracting a tar archive containing a symlink to a directory where that symlink already exists will cause the symlink to be dereferenced. If that target doesn't exist tar can fail with a permissions error. Since we need to be able to do this for packages containing symlinks like xorg-minimal-fonts and eglibc, we have to ensure a tar 1.25 is available early in the build process. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21siggen: add bb.data, bb.parse importsChris Larson1
(Bitbake rev: 8eafb12208fcd073f930c0c74f25831d02c02198) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21uihelper: import bb.build, kill commented linesChris Larson1
(Bitbake rev: 718448e96d714adf8aaecedac5cb77c7f36b9cdb) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21runqueue: simplify RunQueueStats.copyChris Larson1
(Bitbake rev: 778571f155139fcf43d0e30e875c39d6592ae03f) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21runqueue: pass a copy of the RunQueueStats to eventsChris Larson1
This avoids cases where the stats are modified after the event is fired but before it's dispatched to the UI. (Bitbake rev: 1954f182687a0bd429175dda87f05d8a94bb403a) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21rm_work.bbclass: Improve handling of noexec tasksRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-21lib/oe/path.py: Add expection class to handle the output argumentRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18rpm: Increase the number of solvedb's allowedMark Hatle2
Increase the number of allowed solvedb's to 20 from the original 5. We also add an additional error message to RPM incase the 20 is ever exceeded. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-18documentation/kernel-manual/kernel-how-to.xml: Changes to section 3.4.4 and ↵Scott Rifenbark1
new 3.4.5 I made some updates to the 3.4.4 section according to Bruce Ashfield's feedback. I also added a new section 3.4.5 (Creating a BSP Based on an Existing Similar BSP Without a Local Kernel Repository). Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18documentation/kernel-manual/kernel-how-to.xml: fix to step 3 and 4 of ↵Scott Rifenbark1
section 3.4.4 Added text after the sample bbappend file stating that the user needs to update the KSRC assignment statement and also remove its comment. Also they have to remove the comment from the SRC_URI line. Changed the bitbake command in step 4 to use the linux-yocto-stable file rather than the linux-yocto file. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18documentation/kernel-manual/kernel-how-to.xml: Fix to step 3 of section 3.4.4Scott Rifenbark1
Changed 'linux-yocto_git.bbappend' to 'linux-yocto-stable_git.bbappend' in step 3 just before the code example. This makes the code consistent with the rest of the example supporting the 2.6.34 kernel. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18documentation/kernel-manual/kernel-how-to.xml: Fix to step 1 of section 3.4.4Scott Rifenbark1
Step one states that the linux-yocto_git.bbappend file is left. This file is associated with distro 2.6.37 kernel and the rest of the example is associated with the 2.6.34 kernel. So, I changed the step to indicate that the directory is left with a linux-yocto-stable_git.bbappend file. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2011-02-18meta/lib/oe/path: Use check_output for subprocess so we can see error info. ↵Richard Purdie1
Import code to be python 2.6 compatible. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18local.conf.sample: Handle the case the user incomments a machine entry and ↵Richard Purdie1
expects it to override the default Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18conf/machine: Drop older machines with no recent updatesRichard Purdie499
These are all moving to meta-extras. Ideally in the future machines such as these will be maintained to topic specific layers as we move to a more layer oriented model. If this causes a problem for anyone please discuss it on the mailing list. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18local.conf.sample: Update MACHINE list to match our website and documented ↵Richard Purdie1
supported list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-18bitbake/runqueue.py: Move SIGCHLD handler to wrap none server sleep callRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-17gstreamer: reenable PARALLEL_MAKEDongxiao Xu1
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-17openssl: fix parallel makeQing He3
Signed-off-by: Qing He <qing.he@intel.com>
2011-02-17connman-gnome: Enable config menu popup even services are not availableDongxiao Xu2
User may still want to configure networks even if current services are not available, for example, set online/offline mode, etc. Enable the popup menu even if the status is unavailable. This fixes [BUGID #472] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-17recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.Lianhao Lu1
Set the value of CONFIG_SITE for correct autoconf config site files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-17toolchain-script/populate_sdk/meta-toolchain: moving common code.Lianhao Lu3
moving common code between populate_sdk.bbclass and meta-environment.bb into toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-17toolchain-scripts.bbclass: Added libtool sysroot support.Lianhao Lu1
Added missing --with-libtool-sysroot and --sysroot in environment files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-02-18gtk+: Fix build of documentationScott Garman5
This resolves the following error messages when building gtk+ documentation: mv: cannot stat `gtk-faq': No such file or directory mv: cannot stat `gtk-tut': No such file or directory Fixes [BUGID #730] Also adds docbook-utils-native to DEPENDS so we don't rely on host documentation building tools. Signed-off-by: Scott Garman <scott.a.garman@intel.com>