summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cache: Implement multiple extra cache fields request supportLiping Ke2011-06-072-66/+127
| | | | | | | | | | | | | | This patch is to support extra cache. If user needs to request extra cache fields besides CoreRecipeInfo fields, just add a new XXXRecipeInfo class definition as Hob Does. Currently supported Extra RecipeInfo name is an array. We can support multiple extra cache fields at the same time besides CoreRecipeInfo which is needed by all clients. (Bitbake rev: 077657e50ad032c0fa876bf54e9802af2686e0fb) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Introduce new param caches_array into Cache impl.Liping Ke2011-06-074-14/+57
| | | | | | | | | | | | | | When using hob ui interface, we need extra cache fields. We will save ui required extra cache fields into a separate cache file. This patch introduce this caches_array parameter. It will be used in the extra cache implementation (following patch). Caches_array at least contains CoreRecipeInfo. If users need extra cache fields support, such as 'hob', caches_array will contain more relevant elements such as HobRecipeInfo. (Bitbake rev: d50389ae692377c957afec7c846fc2ce2c070a09) Signed-off-by: Liping Ke <liping.ke@intel.com>
* Introduce extra cache class for image creatorLiping Ke2011-06-071-0/+54
| | | | | | | | | | | | | | | Extra RecipeInfo will be all defined in this file. Currently, Only Hob (Image Creator) Requests some extra fields. So HobRecipeInfo is defined. It's named HobRecipeInfo because it is introduced by 'hob'. Users could also introduce other RecipeInfo or simply use those already defined RecipeInfo. In the following patch, this newly defined new extra RecipeInfo will be dynamically loaded and used for loading/saving the extra cache fields. (Bitbake rev: 75d9add923560af9fdd772a363c68337d2c9a97d) Signed-off-by: Liping Ke <liping.ke@intel.com>
* cache.py: Refactory Current Cache implementationLiping Ke2011-06-071-193/+165
| | | | | | | | | | | | | | | This patch is for refactorying current cache implementation, the main reason is for introducing extra cache fields requests for image creator as well as other users. The refactory parts include: Move cache data retrieve methods out of Cache Data Fields Definition. Since this retrieve methods will be shared for both CoreRecipeInfo as well as the new introduced extra RecipeInfo in the following patches. (Bitbake rev: f0f53506926a3f79181796dde177f11f0a396b75) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siggen: don't choke with traceback when data is NoneChris Larson2011-06-071-3/+5
| | | | | | | | | | | | | Given we use bb.error, not bb.fatal, here, it seems this was intended to be non-fatal, yet we'd end up trying to concatenate None. Fix this by setting an empty task to the empty string, for the purposes of hashing. Also str() the value we get from the datastore, just in case something other than a string was stored there. (Bitbake rev: ec8a5a495b72e061a1e8d7c7449afb26581872c0) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parse: pass a useful (if mangled) key to bb.data.expand for :=Chris Larson2011-06-071-1/+1
| | | | | | | (Bitbake rev: 8e1be0ca414d9d26e013ae212abdd9c39fa8df26) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta-yocto: make e1000e structure common [commit: bec3f1e8c]Bruce Ashfield2011-06-071-5/+5
| | | | | | | | | | During work on 1.1 BSPs, some driver options changed. The result was that the upstream fix b1d670f10e8078485884f0cf7e384d890909aeaa needs to be available for all BSPs. These SRCREV updates are the result of making that commit common. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto/meta-yocto: update target/meta SRCREVsBruce Ashfield2011-06-071-5/+5
| | | | | | | | | | | | | | | Fixes bug [YOCTO #802] This SRCREV update picks up the following changes from the 2.6.37 kernel tree: - fishriver: creates and uses a dedicated BSP branch - fishriver: usbnet fixes - linux-omap: merge to match the 2.6.34 upstream merge content - beagleboard: adds VFAT config - fsl-mpc8315rdb: enables the eprom Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* distro tracking: Manual UpdatesSaul Wold2011-06-071-4/+11
| | | | | | | (From OE-Core rev: 30101d4153aa8e116892063933b868d325bdd79c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro tracking: fixup some bad entriesSaul Wold2011-06-071-19/+16
| | | | | | | (From OE-Core rev: 9b9c6277309766ef53273d4682b70302cd199ceb) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: package agetty seperatelyKoen Kooi2011-06-072-2/+3
| | | | | | | | | Some packages like systemd only want agetty to spawn a console and not drag in all of util-linux just for that. (From OE-Core rev: 16a732e6854dd62858af23994fa7f443607e9944) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite: remove dependency on tcl-nativePhil Blundell2011-06-071-2/+2
| | | | | | | | | | | | Older versions of sqlite required tclsh at compile time but this is no longer the case with recent 3.7.x. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003653.html (From OE-Core rev: cf8ef471d9620011e52462a84962b7f7ebf4e128) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: make e1000e structure common [commit: bec3f1e8c]Bruce Ashfield2011-06-071-6/+6
| | | | | | | | | | | | | During work on 1.1 BSPs, some driver options changed. The result was that the upstream fix b1d670f10e8078485884f0cf7e384d890909aeaa needs to be available for all BSPs. These SRCREV updates are the result of making that commit common. (From OE-Core rev: c5dddf2dec0c6aed1db44a7ecf14d13502759d03) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update target/meta SRCREVsBruce Ashfield2011-06-071-7/+7
| | | | | | | | | | | | | | | | | This SRCREV update picks up the following changes from the 2.6.37 kernel tree: - fishriver: create and use a dedicated BSP branch - fishriver: usbnet fixes, but common to all boards - standard: update omap baseline match the 2.6.34 upstream merge content Built and boot tested on qemu* (From OE-Core rev: 0843f22d34c0c9d2424a595aea0a2410e7d6ce23) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro tracking: update Qing -> SaulSaul Wold2011-06-071-59/+68
| | | | | | | (From OE-Core rev: 9c3373fa2bd99e9c24702789d397421ce8deec32) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-glib: Update to 0.12.4Saul Wold2011-06-071-0/+0
| | | | | | | (From OE-Core rev: aae4627d0edc398d9dba5d39b4e8d3913fbc91fd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro-tracking: update openssh, tar, and grepScott Garman2011-06-071-13/+13
| | | | | | | (From OE-Core rev: 26436ccbe2608c09ae9dfa2fd802b8bad6b27246) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: upgrade to v1.26Scott Garman2011-06-074-9/+10
| | | | | | | (From OE-Core rev: 0be04e2931ec1f7d5bd3ff538913081e2e8ec04f) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep: upgrade to v2.8Scott Garman2011-06-071-3/+4
| | | | | | | (From OE-Core rev: 40030433662c8a43c89e20099330aa5172ac0c27) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: upgrade to v5.8p2Scott Garman2011-06-075-4/+5
| | | | | | | | | | LICENCE checksum updated due to a one-line change in the file (RedHat was added as a copyright holder). (From OE-Core rev: 969cdde4541819ef5123a77391d870843aff0b55) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro-tracking: updatesScott Garman2011-06-071-14/+20
| | | | | | | | | | | | | | | | | | Update the distro tracking fields for: * apmd * at * blktool * cpio * dosfstools * gzip * libatomics-ops * shadow (From OE-Core rev: 1866af3863d544cce34933407c34b6543f040568) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode: Update to 2011gSaul Wold2011-06-062-19/+25
| | | | | | | | | | | | [YOCTO #1080] Thanks to ilkka.tengvall@nsn.com Cc: ilkka.tengvall@nsn.com (From OE-Core rev: 925de3b3e74d15547840a2edaceff437e135bddd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: make RPM use on-disk permissionsScott Garman2011-06-061-0/+2
| | | | | | | | | | | | Instruct RPM to use the on-disk permissions, owners, groups, and directory permissions, instead of defaulting to root:root Code changes suggested by Mark Hatle. (From OE-Core rev: a6464f9484f56f596e3215184ad56ac6769ebb0c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: set PSEUDO_PASSWD within FAKEROOTENVScott Garman2011-06-061-1/+1
| | | | | | | | | | | PSEUDO_PASSWD needs to point to the directory where passwd and group files are kept. This will allow pseudo to use those users and groups to change file ownership. (From OE-Core rev: ada60e40293f78f974f641de5d3356b02bbeae4c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: populate the target sysroot with passwd/group/login.defsScott Garman2011-06-062-2/+411
| | | | | | | | | | | The passwd, group, and login.defs files in the target sysroot will be used when recipes create custom user and group permissions in their packages. (From OE-Core rev: 4450b73e57bcd73b8d09d8cd898a97bad04ae27b) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: add a -native recipe with customized utilitiesScott Garman2011-06-062-0/+1362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a -native recipe for the shadow utilities. The custom --root option allows the the following utilities to be run within a chroot when invoked under pseudo: * useradd * groupadd * usermod * groupmod * userdel * groupdel * passwd * gpasswd * pwconv * pwunconv * grpconv * grpunconv They can then be used to manipulate user and group account information in target sysroots. useradd was also modified to create home directories recursively when necessary. (From OE-Core rev: 37b8c18a3c2f3e77a9810a56a8ee786855ae1ba3) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: recipe and patch cleanupScott Garman2011-06-067-131/+151
| | | | | | | | | | | Taking over maintenance of the shadow recipe. Cleaning it up in preparation of adding a -native version that will be used to add users/groups during preinstall. (From OE-Core rev: 254ca8c1667b8d35914555714239a09bfb4f43be) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-package-cross: also install the symlinks in libexec with target prefixPhil Blundell2011-06-061-0/+1
| | | | | | | | | | | .. since this is where collect2 seems to look for them. This seems like it is really a bug in collect2, but installing the symlinks is an easy workaround. Without this you get "could not find ld" errors when using -flto. (From OE-Core rev: d69561d80a995a52f3c7abfdbfd183fc7846046d) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-driver-common.inc: remove .la files to avoid unpackaged warningOtavio Salvador2011-06-061-1/+5
| | | | | | | (From OE-Core rev: 09cd132222a4331c2dfe65575b7b893e6117223e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: add p11tool into gnutls-binOtavio Salvador2011-06-061-1/+2
| | | | | | | (From OE-Core rev: cbad07914a68a14487dd39b794beb8ed3c55956f) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: use INC_PR on 2.12.5 version recipeOtavio Salvador2011-06-061-1/+1
| | | | | | | (From OE-Core rev: fd57537f53483eef24807d9b7b3eaca9bb4cda7f) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: add cleansstate task between clean and cleanallMartin Jansa2011-06-061-2/+5
| | | | | | | | | * sometimes it's usefull to remove only sstate cache and keep downloaded sources for rebuild (From OE-Core rev: e071bc9982fc3ace3a32a990905884929392c4b6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux_2.19.1.bb: Fix compliation on uclibcKhem Raj2011-06-062-1/+34
| | | | | | | | | | | util-linux 2.19 needs this patch to successfully compile on uclibc systems. This is a bug in util-linux that goes unnoticed on eglibc builds. (From OE-Core rev: a244bd1a8c98a970979e6bcfbd24c8a5b398ed0e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* allarch.bbclass: Define BASE_PACKAGE_ARCH = "all"Khem Raj2011-06-061-0/+1
| | | | | | | | | | If not overridden it gets the value which is for target recipes usually defined in machine tune files (From OE-Core rev: 7efd372eead4185e8b763c6f7ee1943485f7d84d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bison: upgrade from 2.4.3 to 2.5Nitin A Kamble2011-06-063-156/+3
| | | | | | | | | This version of bison needs m4 1.4.16 or newer (From OE-Core rev: 8aa07da69f4966afda40d77b1e8b83749c5d1c28) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: upgrade from 2.65 to 2.68Nitin A Kamble2011-06-0611-15/+24
| | | | | | | | | And rebase the patches to the newer code. (From OE-Core rev: aa24c1eda4b33b329d330c8bbb6d243dfd924f62) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4: upgrade from 1.4.15 to 1.4.16Nitin A Kamble2011-06-062-3/+3
| | | | | | | (From OE-Core rev: d2fb8508009d9109935a3a817074f109a87b2e44) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* event: don't catch systemexit from handler executionChris Larson2011-06-021-1/+1
| | | | | | | | | | | | This means that anyone firing an event can get a systemexit and result in their process exiting, which isn't ideal, but behaves the way it used to (in particular, ensures that a sanity check failure will halt the build). This should be revisited in the future. (Bitbake rev: d6a0ffdd583be3df734171d7e91d334f798a79ce) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qmake_base.bbclass: fix lrelease/lupdate binary namesOtavio Salvador2011-06-021-0/+5
| | | | | | | | | | | | To support translation, qmake based projects usually call lrelease and lupdate however OE changes the binary names so this needs some mangle to work out of box. (From OE-Core rev: 2a52f806f3789f717219651b97dc64fec3881f7f) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Add DEPENDS on git-nativeRichard Purdie2011-06-021-2/+3
| | | | | | | | | | | | There are tools within gettext that make use of git, crazy as it may seem so we have to ensure a recent version of git is available. It could be worse, it could be the (deprecated) cvs alternative in the code. (From OE-Core rev: 239bf1973099f938663b2f5c7c68410a3582f06a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: Mark as machine specific since there are machine specific ↵Richard Purdie2011-06-021-0/+3
| | | | | | | | | | | | | | | components to this recipe The inittab file depends on variables that are part of the machine config such as the SERIAL_CONSOLE so the whole recipe must get built as machine specific. Better might be to split the config out into a separate recipes from the binaries but this fixes the immediate problem. [YOCTO ##1131] (From OE-Core rev: 5bcd6b2c3e935858ac80b17266b9e427060c1650) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package: fix typo causing annoying diagnosticPhil Blundell2011-06-021-1/+1
| | | | | | | | | | | | We don't package /etc/rpc and do_install() makes some effort to remove that file so as to avoid the "installed but not shipped" diagnostic. But, due to a typo in the command line, the file wasn't actually being removed and the diagnostic continued to be issued. (From OE-Core rev: 5b09d5dbac044277b5f1145057d1fc716ec35b9a) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix mispackaging of libcidnPhil Blundell2011-06-023-5/+5
| | | | | | | | | | | | | | The glob for libc_baselibs was too permissive, causing some of the libcidn symlinks to be placed in ${PN} rather than the intended subpackage. Worse, the .so itself was actually landing in ${PN}-dev, so the net effect was to make libc6-dev a dependency of libc6. Bump PRs for both 2.12 and 2.13 as a result. (From OE-Core rev: b41a9d1b536ffef5f86dac40f34b44db463a1038) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix up file locations and add i686Saul Wold2011-06-0211-0/+1
| | | | | | | (From OE-Core rev: 3e6b6b0d290c2389e2a84b65cacd447c24309c97) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: avoid dependency on x11 for -native buildPhil Blundell2011-06-021-2/+5
| | | | | | | | | | The native variant already configures --without-x so the X11 libs are redundant. Adjust the DEPENDS to match. (From OE-Core rev: ec49721cb01cef56c9275841bd69b74ac9d5ed73) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: add --with-libdl-prefix and --with-libpthread-prefixMartin Jansa2011-06-021-0/+2
| | | | | | | (From OE-Core rev: c1357d465a72fb3c0250274eeaaecef773be38d2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: avoid dependency on perl and python for -native buildPhil Blundell2011-06-021-4/+6
| | | | | | | | | | | | | | Update override naming (_native -> _virtclass-native) to disable perl and python bindings when building native rpm, and adjust the DEPENDS to match. Perl bindings were, in fact, already disabled for both native and target builds so it's only the python ones that have really changed. (From OE-Core rev: a0fd5d332da24a1830ee7bd1030cfb5af384bb1c) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* send-pull-request: fix a small typo that fails the scriptDexuan Cui2011-06-021-1/+1
| | | | | | | (From OE-Core rev: 8a1266d49b9c23bfe3fb454f34524869ac9725b2) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Upstream-status --> Upstream-Status: for multiple patchesDexuan Cui2011-06-029-9/+9
| | | | | | | | | As a keyword, Upstream-Status is case sensitive. (From OE-Core rev: 874038469e28d011b60b2d4bfd5a6fada6e754c4) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: fix libX11 keysyms to pass xts5 of lsbJingdong Lu2011-06-024-5/+58
| | | | | | | | | | | | | | | | | | Fixes bug: [YOCTO #1095] Because of cross-compiling libx11 keysyms will cause Xts5 test of LSB fail. libx11 use a tool named "makekey" which compiled as a native tool to generate ks_tables.h. Because the size of "unsigned long" is different between 32-bit and 64-bit, we should judge whether our target is 32-bit or 64-bit and tell "makekey". I add a patch to "makekeys_crosscompile.patch" to "src/utils/makekeys.c" in order to deal with the different targets. If our target is 32-bit, we force the variable its type is "unsigned long" to "uint32_t". So we can generate a correct keysyms. (From OE-Core rev: 0eea9ab2e9d6e9457f24aa63b3126666611c1c7b) Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>