summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: Add new UI hob, a prototype Gtk+ GUI for creating imagesJoshua Lock2011-03-012-0/+734
| | | | | | Hob is a first stab at implementing an interactive GUI for BitBake. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake: introduce crumbs.TaskListModel a gtk.ListStore subclassJoshua Lock2011-03-011-0/+346
| | | | | | | | | | | Provide a gtk.ListStore subclass which includes a function, populate(), which takes as input the data emitted by bb.event.TargetsTreeGenerated and fills the ListStore model appropriately. Furthermore convenience functions are provided by which the caller can get gtk.TreeModel subclasses which provide filtered views of the data. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Ensure Bash is used when spawning terminalsJoshua Lock2011-03-012-3/+3
| | | | | | | | | We rely on Bashisms when spawning a terminal so ensure that bash is used when using devshell and menuconfig. Fixes [BUGID #119] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* poky-lsb.conf: remove OVERRIDESSaul Wold2011-03-011-2/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* mtd-utils: Set the revision to use explicitly else failures occur with ↵Richard Purdie2011-03-011-1/+1
| | | | | | | | BB_NO_NETWORK [BUGID #752] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Weakly set PREMIRRORSRichard Purdie2011-03-011-1/+1
| | | | | | | | We should only weakly set PREMIRRORS as users often want to override this. [BUGID #753] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-lsb.conf: Add DISTROOVERRIDES variable for pokySaul Wold2011-03-011-0/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf: Add DISTROOVERRIDES variableSaul Wold2011-03-011-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* xserver-nodm-init: add rootless-x supportYu Ke2011-03-013-1/+26
| | | | | | | | | | | | most rootless X work are already done in the kernel, xserver and graphics driver, this patches add the the remaining userspace setting: - create /etc/X11/Xusername to set rootless X user - add rootless X user to group video, tty to access /dev/tty[0-4] and /dev/dri/card0 - grant rootless X user access right to /dev/input/*, /var/log Signed-off-by: Yu Ke <ke.yu@intel.com>
* xf86-video-intel: add config option to support rootless XYu Ke2011-03-012-0/+7
| | | | | | | | | | | - add global config option ROOTLESS_X to control if enable rootless X for the machine. ROOTLESS_X requires graphics driver supporting KMS (kernel mode setting), so far, only atom_pc support this. so enable ROOTLESS_X for atom_pc machine - add config options for xf86-video-intel to support rootless X Signed-off-by: Yu Ke <ke.yu@intel.com>
* documentation/poky-ref-manual/faq.xml: [BUGID# 628] - Added new question for ↵Scott Rifenbark2011-03-011-0/+41
| | | | | | | | | Python 2.6 requirement. As part of the fix for #628 I added a new question to the FAQ for use of Poky when you do not have Python 2.6. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 628] - Added ↵Scott Rifenbark2011-03-011-0/+6
| | | | | | | | | | | | note about Python 2.6 bitbake requirement Part of the fix for Bug 628 is to add a note that bitbake requires python 2.6. I added this note before the example bitbake command that builds an image. I also added a linked reference to the Poky Reference Manual and mentioned the FAQ appendix. There will be more information about the python requirement in the FAQ. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* bitbake: Remove in-tree versionKhem Raj2011-02-23103-32506/+0
| | | | | | Bitbake should be used by checking it out from its own repo Signed-off-by: Khem Raj <raj.khem@gmail.com>
* distrodata.bbclass: Fix some issues when checking upstream version on ↵Mei Lei2011-02-231-3/+4
| | | | | | sourceforge Signed-off-by: Mei Lei <lei.mei@intel.com>
* linux-yocto: enable audio for selected qemu targetsBruce Ashfield2011-02-233-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #488 #734] Enable audio for qemux86/qemux86-64 via the following kernel configuration options. CONFIG_SOUND_OSS_CORE=y CONFIG_SOUND_OSS_CORE_PRECLAIM=y CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=y CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_PCM_OSS_PLUGINS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_RAWMIDI_SEQ=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_ENS1370=m CONFIG_SND_INTEL8X0=m CONFIG_AC97_BUS=m The mechanism to trigger these options is in the form of an optional kernel feature that is only appended for qemux86 and qemux86-64, but is contained within the kernel tree. This allows several things: - the options to be available/shared for all boards - the options to be in tree - to not add the options to every board, which unecessarily bloats the default configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openjade-native: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman2011-02-231-5/+12
| | | | | | | 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>
* docbook-dsssl-stylesheets-native: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman2011-02-231-18/+12
| | | | | | | 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>
* docbook-sgml-dtd-native.inc: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman2011-02-231-16/+10
| | | | | | | 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>
* sstate.bbclass: add SSTATEPOSTINSTFUNCSScott Garman2011-02-231-0/+5
| | | | | | | | | | | | | | 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>
* bitbake/build.py: Fix TaskFailed parametersRichard Purdie2011-02-231-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/data_smart: Improve Variable expansion error handlingRichard Purdie2011-02-231-2/+14
| | | | | | | | | | | | | | | | 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>
* bitbake/data_smart: Improve the way lazyassignment worksRichard Purdie2011-02-232-8/+2
| | | | | | | | | | | | | | | | | | | | 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>
* bitbake/fetch2: Ensure SRCREV_pn-PN is checked for a revision when the ↵Richard Purdie2011-02-231-1/+3
| | | | | | SRC_URI is unnamed Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/cooker: Fix parsing failure zombie problemRichard Purdie2011-02-231-0/+12
| | | | | | | | | 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>
* bitbake/BBHandler: Improve handling of multiline comments and warn users of ↵Richard Purdie2011-02-221-2/+11
| | | | | | the change Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie2011-02-2218-79/+83
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: enable audio supportZhai Edwin2011-02-222-1/+8
| | | | | | | | | | 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>
* mklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNCDexuan Cui2011-02-222-1/+25
| | | | | | | | | | | | 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>
* package_deb.bbclass: Place the whole task under fakeroot context to fix ↵Richard Purdie2011-02-221-1/+3
| | | | | | | | | | 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>
* gst-meta-base: add uridecodebin library supportDongxiao Xu2011-02-221-1/+2
| | | | | | | | | | 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>
* linux.inc: remove the obsolete linux.inc kernel recipe includeDarren Hart2011-02-211-95/+0
| | | | | | | | | | | | 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>
* linux-2.6.33.2: remove linux-2.6.33.2 recipeDarren Hart2011-02-216-9397/+0
| | | | | | | | 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>
* linux-2.6.23: remove the linux-2.6.23 recipeDarren Hart2011-02-2116-18748/+0
| | | | | | | The machines supported by this recipe were either recently removed or simply not defined. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* zaurus: remove zaurus linux includesDarren Hart2011-02-212-87/+0
| | | | | | | | | | | | 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>
* ADT: Fix check_result script cond comparison bugLiping Ke2011-02-211-4/+4
| | | | | | | | | 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>
* distrodata.bbclass: Fix some bugs for rpm,icu and quicky recipe when ↵Mei Lei2011-02-211-7/+7
| | | | | | | | checking upstream version Fix some bugs in checkpkg function when checking upstream version Signed-off-by: Mei Lei <lei.mei@intel.com>
* libtool: avoid absolute pathnames of general utilsNitin A Kamble2011-02-216-5/+43
| | | | | | | | | | 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>
* linux-yocto: update to 2.6.37.1Bruce Ashfield2011-02-211-12/+12
| | | | | | Updating the SRCREVs to reflect the 2.6.37.1 merge. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bitbake/runqueue: Drop PATH override. This was needed for the exec() change ↵Richard Purdie2011-02-211-2/+0
| | | | | | but not now we use fork() Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar.inc: Fix unintended damageRichard Purdie2011-02-211-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar-replacement-native: Fix installRichard Purdie2011-02-212-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar-replacement-native: Add a target to replace the default tarRichard Purdie2011-02-213-4/+16
| | | | | | | | | | | | 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>
* siggen: add bb.data, bb.parse importsChris Larson2011-02-211-0/+2
| | | | | | | (Bitbake rev: 8eafb12208fcd073f930c0c74f25831d02c02198) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uihelper: import bb.build, kill commented linesChris Larson2011-02-211-10/+2
| | | | | | | (Bitbake rev: 718448e96d714adf8aaecedac5cb77c7f36b9cdb) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqueue: simplify RunQueueStats.copyChris Larson2011-02-211-4/+1
| | | | | | | (Bitbake rev: 778571f155139fcf43d0e30e875c39d6592ae03f) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqueue: pass a copy of the RunQueueStats to eventsChris Larson2011-02-211-1/+9
| | | | | | | | | | 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>
* rm_work.bbclass: Improve handling of noexec tasksRichard Purdie2011-02-211-0/+9
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/path.py: Add expection class to handle the output argumentRichard Purdie2011-02-211-1/+8
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Increase the number of solvedb's allowedMark Hatle2011-02-182-1/+31
| | | | | | | | | 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>
* documentation/kernel-manual/kernel-how-to.xml: Changes to section 3.4.4 and ↵Scott Rifenbark2011-02-181-0/+31
| | | | | | | | | | 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>