summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: Update version to 1.16.0Richard Purdie2012-10-022-2/+2
| | | | | | (Bitbake rev: a579754a04bdcf450e6957dde614a15c11df39e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Further improvements to hob dialogsBogdan Marinescu2012-10-021-6/+23
| | | | | | | | | | | | | | | 1. Replace some labels in the "Build environment" tab 2. 'defaultsetup' changed to 'Default' in the "Image types" tab 3. Fixed the moving icon in the "Output" tab For more details: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2162 [Yocto #2162] (Bitbake rev: db7d98569117b7a75262eb555e1c7ae9a421bdf8) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Fix 'User selected' tag functionalityConstantin Musca2012-10-022-6/+13
| | | | | | | | | | | | | | | - the 'User selected' tag is only used when the user selects a package - fix hob to remember which packages are 'User selected' - if the package is already brought in by some other package, it should not appear as 'User selected' [YOCTO #3108] (Bitbake rev: 2391e9ba7034d4f90bafa5732d8efa8166f69950) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: Change the 'Delete' button behaviour in the shared ↵Cristiana Voicu2012-10-021-16/+21
| | | | | | | | | | | | | | state settings tab -the tab shows an empty mirror row when no mirror is configured -able to delete the mirror row even if it's not empty(if it's not the first mirror) [YOCTO #3189] (Bitbake rev: d6472608112b8af2e98f247e6f89a7f948b2d020) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/image_details: Remove kernel info from detailsIoana Grigoropol2012-10-021-12/+12
| | | | | | | | | | | - removed kernel information from image details [Yocto #3002] (Bitbake rev: 7fc33f0a8a38d9b8984bf884e47e505791536d16) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/utils: Add test for explode_dep_versions2Richard Purdie2012-10-021-0/+15
| | | | | | (Bitbake rev: b1b0aabfab3c94c3b515070d0fb4d7819e2548bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Add explode_dep_versions2 to replace explode_dep_versionsRichard Purdie2012-10-021-6/+21
| | | | | | | | | | | | | | | | The API for explode_dep_versions is flawed since there can only be one version constraint against any given dependency. This adds a new function with an API without this limitation. explode_dep_versions() is maintained with a warning printed when its used in a situation where information is lost. This should allow a simple transition to the new API to fix the lost dependency information. join_deps() is updated to deal with data in either format. (Bitbake rev: babeeded21827d8d3e7c7b785a62332ee9d45d4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils.py: Allow explode_dep_versions comparisons to have arbitrary ↵Mark Hatle2012-10-021-15/+47
| | | | | | | | | | | | | | | | | | | whitespace Refactor the explode_dep_versions to be more lenient on whitespace values. The required format is: foo (= 1.10) foo (=1.10) foo ( = 1.10) foo ( =1.10) foo ( = 1.10 ) foo ( =1.10 ) (Bitbake rev: 39c1c12c58fadd854098cf14ebe92f4d307a36dd) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils.py: Check for duplicate dependency entriesMark Hatle2012-10-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | explode_dep_versions is not able to have duplicate entries. Previously duplicate entries ended up with the last item being the one returned to the caller. We now detect a collision. We do allow an empty item to have a comparison added to it, or a duplicate with the same comparison without error. When a collision is detected a ValueError exception is thrown. Allowed: foo foo (= 1.12) foo Invalid: foo (= 1.12) foo (= 1.13) (Bitbake rev: d40448f0483a2959e9dcaac9b6dd35839f396a6e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Update to use corrected bb.utils.explode_dep_versions2 APIRichard Purdie2012-10-027-92/+142
| | | | | | | | | | | | | | | | | The bb.utils.explode_dep_versions function has issues where dependency information can be lost. The API doesn't support maintaining the correct information so this changes to use a new function which correctly handles the data. This patch also fixes various points in the code to ensure that we do not have any duplicates in things that use explode_dep_versions. A new sanity test to test the contents of the R* variables is also added. [Some changes from Mark Hatle <mark.hatle@windriver.com>] (From OE-Core rev: 16a892431d0c0d03f8b561b92909cf2f11af4918) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Remove copy and paste confusion when using OVERRIDESRichard Purdie2012-10-021-15/+2
| | | | | | | | | People keep copying this code and its confusing and unnecessary. Remove the bad examples to try and stop this happening. (From OE-Core rev: 48aa4b00cfb7f01195c6d20b7ba660715fe792ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: Require bitbake 1.16.0 (stable series) prior to release (and ↵Richard Purdie2012-10-021-1/+1
| | | | | | | | for explode_dep_versions changes) (From OE-Core rev: bf334f01cb90483ba304b4a830d53e705637b87a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: Ensure gdk-pixbuf-native dependencies are correct with linuxstdbaseRichard Purdie2012-10-021-0/+1
| | | | | | | | | Without this change, anything using linuxstdbase would incorrectly try and pull in X dependencies. (From OE-Core rev: 664fce61c9c49276039b18606e1e88585b47f724) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Don't call sync() when installing into an offline rootPhil Blundell2012-10-022-1/+20
| | | | | | | | | | | | | | | Even when installing onto a live target system, calling sync() during package installation is of somewhat questionable benefit. But calling it on the build host during rootfs construction is certainly useless and can cause I/O to stall for several seconds on even a moderately sized host which is clearly not desirable. (From a patch originally by Mike Crowe.) (From OE-Core rev: f48a68177510e8f2d4fcc3725a6dfc41a9a8e96b) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: fix version constraints in conflicts, depends, replacesMartin Jansa2012-10-023-1/+228
| | | | | | | | | * http://code.google.com/p/opkg/issues/detail?id=94 (From OE-Core rev: 7ebce895a215b31cf01aea2ac43e554f96ef814f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_deb/ipk: Remap < and > to << and >>Mark Hatle2012-10-022-0/+36
| | | | | | | | | | | In deb and ipk, < means <=, while > means >=... there is a different operator << and >> that means < and >, so we map them when constructing the packages. (From OE-Core rev: bbcc78d8ff03725ce5b3b65ce24025c3da45f2ab) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Move redefinition of STAGING_DIR_KERNELMark Hatle2012-10-022-1/+2
| | | | | | | | | | | | | | If the STAGING_DIR_KERNEL is set in the multilib.conf, then it may be set incorrected. The evaluation happens before TMPDIR and LIBC are defined in other components. Moving the definition process to the multilib.bbclass ensures that everything has been loaded before it is set. (From OE-Core rev: 6bd87edc383b40e300b0ef4bf851c39b698305cd) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Cleanup: fix PN == BPN casesMark Hatle2012-10-024-7/+9
| | | | | | | | | | | When building target packages, it used to be enought to check for PN == BPN, however with the multilib configurations, this can lead to subtle errors. Change instances of PN == BPN, to ${CLASSOVERRIDE} == 'class-target'. (From OE-Core rev: acc988272b4e74a9ad1e6da5af5b2d208584197b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Implement workaround for DB_BUFFER_SMALL errorMark Hatle2012-10-022-1/+79
| | | | | | | | | | | | | | | | | | | | | | | In certain cases with BerkleyDB 5.3.x we are getting the error: db3.c:1443: dbcursor->pget(-30999): BDB0063 DB_BUFFER_SMALL: User memory too small fo See https://bugs.launchpad.net/rpm/+bug/934420 for more information. It appears to be some type of a bug in the BerkleyDB 5.3.x. In an attempt to workaround the problem, when we encounter this situation we attempt to adjust the size of the mmap buffer until the call works, or we end up trying 10 times. The new size is either the updated vp->size from the failed pget call, or the previous size + 1024. If DBI debugging is enabled, additional diagnostics are printed, otherwise a basic retry and success message is added to show that the failure was resolved. (From OE-Core rev: bfb2906206158748d0be33baf7984cf885756da1) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Add rpm patch to fix git_strerror issuesMark Hatle2012-10-022-1/+62
| | | | | | | | | | | | | | | Remove the optimzation append from recipe and add the patch that is in the rpm cvs repo, http://www.mail-archive.com/rpm-cvs@rpm5.org/msg08907.html. The -O2 optimzation append is removed since it can limit debugging options that are provided when -O0 is used. This was tested by setting: SELECTED_OPTIMIZATION = "-O0" (From OE-Core rev: d109c6bd163469d6281d20174e4b79cb63483cd4) Signed-off-by: Morgan Little <morgan.little@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix file contention issueMark Hatle2012-10-022-1/+33
| | | | | | | | | | | | | | | | | | | | | | There is an issue that is caused when doing the install step of rpm on systems with high parallelization where two jobs of make will fight for the same file while installing the sub-directory lua. This is caused by the same makefile rule being called twice in a way that both could be trying to install at the same time. This fix renames the linking rule so it will always be run after the needed files are added and removed it's dependency so the required rule would only run once. This was tested heavily using ppss to run mutliple installs in parallel. This wouldn't happen in practise but it was tested will all the individual rules as well. (From OE-Core rev: d05c5da6b972db97d3eb66b659f5641368c9ebe4) Signed-off-by: Morgan Little <morgan.little@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm-native: Fix 'uuid_rc_t' undeclared error when compilingMark Hatle2012-10-022-1/+37
| | | | | | | | | | | | | | | When attempting to build with uuid and all tests compiling will error because uuid.h doesn't exist in the rpm tarball. Fix this by changing the include to use the one in ossp which solves the issue. The recipe already depends on ossp so ossp/uuid.h will be there when rpm-native is built. (From OE-Core rev: 52ae2c2439bcb78323f61a3666e9b630b3a40b15) Signed-off-by: Morgan Little <morgan.little@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcb: Update DEPENDS to avoid duplicate entriesMark Hatle2012-10-024-6/+2
| | | | | | | | | | | Some items were listed multiple times in DEPENDS, avoid this situation. Note, PR was not incremented as no change to the build process occurs. (From OE-Core rev: e234af467eac7d0313fae3e87eb1b34725309bb5) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-ffmpeg: add LICENSE_FLAGSPaul Eggleton2012-10-021-0/+1
| | | | | | | | | | This likely requires some form of license to use in a commercial product. (From OE-Core rev: 1d41af288f3db07a5dc47436443daf95e243904f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: supported distro warning updatePaul Eggleton2012-10-011-3/+8
| | | | | | | | | | | | | | | | * Remove Fedora 15 (no longer supported by Fedora project) * Add upcoming Fedora 18 * Add upcoming Ubuntu 12.10 * Add CentOS 5.8 & 6.3 * Add new Poky distro name format (self-hosted / build appliance) for Yocto Project 1.2 / 1.3 * Update Debian squeeze to 6.0.6 (automatic update from earlier 6.0.x) * Add openSUSE 12.2 (From meta-yocto rev: 817cb382f3f2fcd8134491578662d90bb50cd0bc) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Clarify DISTRO_NAME to be less confusingRichard Purdie2012-10-011-1/+1
| | | | | | (From meta-yocto rev: e8f58bd92455e806985141f5e8df0b34d01bb4de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: remove 'test' options from user-config.cfgTom Zanussi2012-10-012-8/+0
| | | | | | | | | | A couple bsp templates have some options that were used for testing but aren't needed for any other reason - remove them. (From meta-yocto rev: dd3bbd04919f7cc69141f405ac95d736abddd637) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: use FILESEXTRAPATHS for xserver-xf86-config bbappendsTom Zanussi2012-10-014-11/+4
| | | | | | | | | | The xserver-xf86-config .bbappends are still using FILESPATH - update them to use FILESEXTRAPATHS as recommended by the Poky Reference Manual and BSP Developer's Guides. (From meta-yocto rev: 6aaef8eb9e95a46ab02ef038ae53c8e63eb04e09) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - minor edits.Scott Rifenbark2012-10-011-2/+3
| | | | | | | (From yocto-docs rev: e138827210fecaecd90998d7e15561c4db083353) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - Fixed a term for consistency.Scott Rifenbark2012-10-011-1/+1
| | | | | | | (From yocto-docs rev: e4d1b880578e1aaf842e89fe3ce16683cfdebc70) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - more wording changes.Scott Rifenbark2012-10-011-4/+4
| | | | | | | | | | I found other changes for underlying/corresponding wordings regarding the relationship between .bb and .bbappend filenames. (From yocto-docs rev: 28f12a4ea97a683281cd8cc0bbceb40d2b896aa4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - better wording for the .bb fileScott Rifenbark2012-10-011-1/+1
| | | | | | | | | | Better choice of word here is "corresponding" rather than "underlying". (From yocto-docs rev: 3d8b6d6e06b81960df2a7d25b6d54308210cc011) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: deb-manual - updated list of layers in the repoScott Rifenbark2012-10-011-2/+3
| | | | | | | | | | The manual listed an out-dated example listing of meta-* layers in poky. (From yocto-docs rev: 39e2a02301d1d0b609fbc041395dd31f6ba9fa2d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - fixed grammar.Scott Rifenbark2012-10-011-1/+1
| | | | | | | (From yocto-docs rev: 57c3a8d32e0fab3a566eb5f0ac8b38a6786489f6) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - Better description of location of scriptsScott Rifenbark2012-10-011-2/+2
| | | | | | | | | | The description for where the "scripts" directory lives was not conforming to our terminology. (From yocto-docs rev: 925167c446b86ca09d387d01568db64113412311) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - wording change to remove ambiguity.Scott Rifenbark2012-10-011-1/+2
| | | | | | | (From yocto-docs rev: 01fc1959efa85fdba17beec4a5c565108c6ab68a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - formatting change.Scott Rifenbark2012-10-011-1/+2
| | | | | | | (From yocto-docs rev: 8d43e7ff1ad8151a09e12524d9b9afe825322954) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - Buzilla components updated to six.Scott Rifenbark2012-10-011-2/+3
| | | | | | | (From yocto-docs rev: 28480c246f0346d16424837d6be5d45e084e15c3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - better wording.Scott Rifenbark2012-10-011-1/+2
| | | | | | | | | For obvious reasons I changed this one :) (From yocto-docs rev: 5f3203292f46bea799321e4520668252a46fb599) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - Added link to pull scripts.Scott Rifenbark2012-10-011-1/+5
| | | | | | | (From yocto-docs rev: 87fe511d4114295f8d67705c03ac11983f51cf7a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documenation: dev-manual - added link to section on patching.Scott Rifenbark2012-10-011-0/+2
| | | | | | | (From yocto-docs rev: 6316ef2aa8947d64fb262824b9f57df0e3a8e1c3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - better terminology.Scott Rifenbark2012-10-011-1/+1
| | | | | | | (From yocto-docs rev: 06f1556d10c75134e53ade7bab407623f00b6a87) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documenation: dev-manual - formatting fix.Scott Rifenbark2012-10-011-1/+1
| | | | | | | (From yocto-docs rev: 24e653c02278d7a3d935104296f54cf9fff9ce12) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documenation: dev-manual - clarifies local branch.Scott Rifenbark2012-10-011-2/+2
| | | | | | | (From yocto-docs rev: fff80ac6e0a7092f19a268694f974ff45fb0fe8b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - grammar fix.Scott Rifenbark2012-10-011-2/+3
| | | | | | | (From yocto-docs rev: eecdc407ae10a9c4146d79735e2e3fce7a031083) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documenation: dev-manual - updated the key tags example list.Scott Rifenbark2012-10-011-1/+1
| | | | | | | (From yocto-docs rev: 8bdbe16e97be04482d3b06c9cf63bdef6ab49d5a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - Better wording for repo setupScott Rifenbark2012-10-011-3/+2
| | | | | | | | | | | I improved the wording such that it is not tied to a x.x type release. It is more generic here and will survive better under future releases. (From yocto-docs rev: 2bd644db7fef71cd2f07f6d3dcbd2ba60b83df08) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - updated string of example branches.Scott Rifenbark2012-10-011-4/+3
| | | | | | | (From yocto-docs rev: 79171c5c3c805178971ac099471d466e08968bbf) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documenation: dev-manual - Added "the" in front of YP use.Scott Rifenbark2012-10-011-2/+2
| | | | | | | (From yocto-docs rev: 0bb38edb5a1b855322da2afe2af57d627a573c51) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: dev-manual - grammar fix.Scott Rifenbark2012-10-011-1/+1
| | | | | | | (From yocto-docs rev: 0c6804e0c9c3721964f5780f6ce6d56ec813fd47) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>