]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
12 years agobitbake: cooker: Drop obsolete worker test
Richard Purdie [Fri, 13 Sep 2013 16:30:18 +0000 (17:30 +0100)] 
bitbake: cooker: Drop obsolete worker test

This call only ever happens in cooker context now so we can drop the
nasty worker check from here.

(Bitbake rev: bc0b30199a8e3624c5b9914430adbcc7c6bd4497)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: xmlrpc: delete unused code BitBakeUIEventServer
Alexandru DAMIAN [Mon, 9 Sep 2013 16:41:03 +0000 (17:41 +0100)] 
bitbake: bitbake: xmlrpc: delete unused code BitBakeUIEventServer

BitBakeUIEventServer is an unused class that pushes UI
events over a separate thread.

The current version of XMLRPC server works just fine with
the classic UI event handlers, so this class is not needed.

(Bitbake rev: 8e8e17631d790271b1be747c4b45059ec38ab606)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: data_smart: Account for changes in append/prepend/remove in the config hash
Richard Purdie [Thu, 12 Sep 2013 13:06:22 +0000 (13:06 +0000)] 
bitbake: data_smart: Account for changes in append/prepend/remove in the config hash

bitbake wasn't reparsing when _remove items were added to its configuration
and equally, appends/prepends were also being badly tracked. This
change enrures these variables are accounted for in the configuration
hash.

[YOCTO #5172]

(Bitbake rev: 62914f9208ef2427a34daa523af857f4027900eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added information for OEROOT and build environment
Scott Rifenbark [Wed, 11 Sep 2013 21:44:00 +0000 (14:44 -0700)] 
ref-manual: Added information for OEROOT and build environment

Fixes [YOCTO #4980]

Added a new glossary entry for OEROOT.

Added significant information to the local.conf and bblayers.conf
reference sections to describe how the root build directory is
derived.

Also, some unrelated formatting to the DL_DIR variable description
was mixed in here because I forgot to commit that separatey and it
lives in the same variables.xml file.

(From yocto-docs rev: c397a31f5b0d3f6257657119a4e81b4fbdc3800c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated source input figure
Scott Rifenbark [Wed, 11 Sep 2013 17:39:23 +0000 (10:39 -0700)] 
ref-manual, mega-manual: Updated source input figure

Fixes [YOCTO #2808]

I tweaked the SCM box in the figure so that the connection to
real SCMs is better.  This was causing confusion.

(From yocto-docs rev: f4080315ab6b57068ab2fbb948c52f731d1ea5dd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updated wording to be more professional for broken build.
Scott Rifenbark [Wed, 11 Sep 2013 16:25:43 +0000 (09:25 -0700)] 
dev-manual: Updated wording to be more professional for broken build.

(From yocto-docs rev: 133b40d224740c23573ae473d5a2938ae069158a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Update to bblayers.conf example
Ross Burton [Wed, 11 Sep 2013 14:35:34 +0000 (07:35 -0700)] 
dev-manual: Update to bblayers.conf example

The variable ##COREBASE## has been deprecated, so use
 ##OEROOT## instead.

(From yocto-docs rev: 4520a2e41bf229481bd959e494e5bde84bbcfc51)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, ref-manual: replaced "atom-pc" with "genericx86"
Darren Hart [Tue, 10 Sep 2013 23:46:46 +0000 (16:46 -0700)] 
dev-manual, ref-manual: replaced "atom-pc" with "genericx86"

Update the manuals to reflect the recent replacement of atom-pc with
genericx86.

(From yocto-docs rev: 8f77006d74b77000f56b64581cb5f6474f53a4f1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Re-ordered some P* variables in the glossary.
Scott Rifenbark [Tue, 10 Sep 2013 23:26:24 +0000 (16:26 -0700)] 
ref-manual: Re-ordered some P* variables in the glossary.

Some things were not in alphabetical order.

(From yocto-docs rev: e7d96d5eecaa74d680a4495a21f86a7776852c48)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Added new section on how to exclude a package
Scott Rifenbark [Tue, 10 Sep 2013 22:15:28 +0000 (15:15 -0700)] 
dev-manual: Added new section on how to exclude a package

Fixes [YOCTO #4079]

The changes here address the documentation component of this
bug.  There is now a new section in the dev-manual in the
"Working With Packages" section that describes and introduces
the three variables the user can use to control this feature:
BAD_RECOMMENDATIONS, NO_RECOMMENDATIONS, and PACKAGE_EXCLUDE.

(From yocto-docs rev: a7e2097c43955db99ec068068d4291fc4e1deaf8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the screen help for bitbake command.
Scott Rifenbark [Tue, 10 Sep 2013 20:48:15 +0000 (13:48 -0700)] 
ref-manual: Updated the screen help for bitbake command.

(From yocto-docs rev: fc48174c0cc851ab6ace5a8f41ba7d291b1cbb0a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Added the memory-resident BitBake feature
Scott Rifenbark [Tue, 10 Sep 2013 19:13:25 +0000 (12:13 -0700)] 
documentation: Added the memory-resident BitBake feature

The main changes are captured in a new section devoted to the
oe-init-build-env-memres script within the ref-structure.xml
file and in the variables.xml file in a BBSERVER variable entry
in the glossary.

All other changes were necessary to integrate the new functionality
into areas where running the setup script are discussed.  Before
this feature, there was a single setup script (oe-init-build-env).
Consequently, wordings and such were designed exclusively for this
single method.  With the introduction of a second possible method
to initialize the build environment, tweaks to many sections were
needed.  Beside the wording tweaks, appropriate cross-referencing
was also needed.

All these changes cover the integration of the new feature.

Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From yocto-docs rev: c55c9a53c9b4cd1e06e6e81e32d56f9bbf5fe98c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Re-ordered some B* variables to be in alphabetical order.
Scott Rifenbark [Tue, 10 Sep 2013 16:30:53 +0000 (09:30 -0700)] 
ref-manual: Re-ordered some B* variables to be in alphabetical order.

(From yocto-docs rev: 75e170bb84d263a514e79c02c8628ef44290a5b2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updates to config and package splitting figs
Scott Rifenbark [Mon, 9 Sep 2013 22:35:29 +0000 (15:35 -0700)] 
ref-manual, mega-manual: Updates to config and package splitting figs

Fixes [YOCTO #2808]

Found some errors in how I was labeling the various directories
created in the Build Directory upon image configuration.  I corrected
the labeling by editing these two figures.

(From yocto-docs rev: 4a08ad8bda0617e18b9998b794267f743e445eaa)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated two figures
Scott Rifenbark [Mon, 9 Sep 2013 22:17:16 +0000 (15:17 -0700)] 
ref-manual, mega-manual: Updated two figures

Fixes [YOCTO #2808]

Updated the images and SDK figures so the outside box would be
red as that is what it is in the general figure.

(From yocto-docs rev: 8f43a328c68bdb96e6b7cc1086400c8e3493d3b7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Edits to figures
Scott Rifenbark [Mon, 9 Sep 2013 22:08:25 +0000 (15:08 -0700)] 
ref-manual, mega-manual: Edits to figures

Fixes [YOCTO #2808]

I made some small cosmetic corrections to two figures in the
expanded look at YP process chapter.

(From yocto-docs rev: 50950f7ae6ea87cde1a9228837aa15985c88b579)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Created new "Closer Look" chapter
Scott Rifenbark [Mon, 9 Sep 2013 21:34:57 +0000 (14:34 -0700)] 
ref-manual: Created new "Closer Look" chapter

Fixes [YOCTO #2808]

I extracted the section that takes a closer look at the YP
development process into its own chapter.  Feedback during the
review indicated that this information should not be buried as
it was in a section but rather pulled higher out for visibility.

So, The changes create a new chapter three that is dedicated to
this topic.

(From yocto-docs rev: 32c66976b6b84787d14d6174dab843862a0d184b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Re-ordered flow for detailed process sections.
Scott Rifenbark [Mon, 9 Sep 2013 20:36:30 +0000 (13:36 -0700)] 
ref-manual: Re-ordered flow for detailed process sections.

Fixes [YOCTO #2808]

Based on feedback from Dave Stewart, I have rearranged the sub-
section flow of the topics to match that of an actual build.
This meant moving the BitBake section higher up in the order.

(From yocto-docs rev: 3e62dd70dab596c3a55815c1ad3f1578a9f3400f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updates to process figures
Scott Rifenbark [Mon, 9 Sep 2013 20:26:44 +0000 (13:26 -0700)] 
ref-manual, mega-manual: Updates to process figures

Fixes [YOCTO #2808]

Updated several figures to get rid of shadows and gradients in the
colors.  This completes the work on getting the figures to all be
consistent.

(From yocto-docs rev: 9e59810ed4772cd75ffe1604b66afe16e9cf9c67)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated package-feeds diagram
Scott Rifenbark [Mon, 9 Sep 2013 19:29:32 +0000 (12:29 -0700)] 
ref-manual, mega-manual: Updated package-feeds diagram

Fixes [YOCTO #2808]

Modified the BitBake box to have a "spatula" form to be like
the BitBake box in the more general diagram.

(From yocto-docs rev: f42867929336c807977a584fba42613cbca44dfc)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated the analysis figure.
Scott Rifenbark [Mon, 9 Sep 2013 18:32:35 +0000 (11:32 -0700)] 
ref-manual, mega-manual: Updated the analysis figure.

Fixes [YOCTO #2808]

Updated the analysis-for-package-splitting.png figure so that
the BitBake box has the "spatula" form used in the regular
overview picture.

(From yocto-docs rev: 4ef43f3a4f96b867ab0985aa70996abe4c2caf75)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated the configuration figure
Scott Rifenbark [Mon, 9 Sep 2013 18:30:54 +0000 (11:30 -0700)] 
ref-manual, mega-manual: Updated the configuration figure

Fixes [YOCTO #2808]

Updated the configuration-compile-autoreconf.png figure so that
the general shape of the BitBake box represents the "spatula"
form used in the general overview figure.

(From yocto-docs rev: b4c81b94a3ced5645a92076022abc4a3938be5b3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated the patching figure
Scott Rifenbark [Mon, 9 Sep 2013 18:15:41 +0000 (11:15 -0700)] 
ref-manual, mega-manual: Updated the patching figure

Fixes [YOCTO # 2808]

Updated the figure for patching so that it uses the "spatula"
type BitBake shape rather than a square box.

(From yocto-docs rev: 61c2bdc1a0d6f33d18f5fef1b0640213b899ec63)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated the source fetching figure
Scott Rifenbark [Mon, 9 Sep 2013 18:09:11 +0000 (11:09 -0700)] 
ref-manual, mega-manual: Updated the source fetching figure

Fixes [YOCTO #2808]

Updated the figure to use the "spatula" type version of the
general BitBake box.  Also had to adjust the width a bit to
get the figure to display correctly.

(From yocto-docs rev: 3049e20eb215b00e61dabed9c124fa8ebc6c946b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, mega-manual: Updated ADK figure
Scott Rifenbark [Mon, 9 Sep 2013 17:10:40 +0000 (10:10 -0700)] 
ref-manual, mega-manual: Updated ADK figure

I modified the sdg.png figure that shows detail for SDK
generation by creating a spatula-like shape for the general
BitBake box.

(From yocto-docs rev: 597d121e8286d51be73f87594d2f99354621c112)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Added Creative Commons distribution blurb.
Scott Rifenbark [Mon, 9 Sep 2013 16:52:47 +0000 (09:52 -0700)] 
yocto-project-qs: Added Creative Commons distribution blurb.

The QS did not have this legal blurg.  I have added it in.

(From yocto-docs rev: a007c4176b64db6ebbfaf4723c7842603a49ed76)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: edits to BAD_ and NO_RECOMMENDATIONS
Scott Rifenbark [Tue, 3 Sep 2013 17:27:46 +0000 (20:27 +0300)] 
ref-manual: edits to BAD_ and NO_RECOMMENDATIONS

Some review edits based on Paul's review.

(From yocto-docs rev: d6ff6399cb02b045a7a35a2c87d5f62a25612c3b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Variable adds and edits for package exclusion changes
Scott Rifenbark [Tue, 3 Sep 2013 16:25:30 +0000 (19:25 +0300)] 
ref-manual: Variable adds and edits for package exclusion changes

Fixes [YOCTO #4079]

I have added variable descriptions for NO_RECOMMENDATIONS and
PACKAGE_EXCLUDE.  I updated the BAD_RECOMMENDATIONS and the
RRECOMMENDS variables.

(From yocto-docs rev: 3b5b44d3db9e723cd9836ddbd4177c2ab2e1d663)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated DEPENDS and RDEPENDS variable descriptions.
Scott Rifenbark [Tue, 3 Sep 2013 13:32:20 +0000 (16:32 +0300)] 
ref-manual: Updated DEPENDS and RDEPENDS variable descriptions.

I have added more information to both these variables to help
explain their use better.  Based on email from Paul Eggleton.
Each entry now features a simple example.

(From yocto-docs rev: 1ec67c639f15259ac67d5591d1d7a23522b0a822)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added section on linux kernel image names using PE
Scott Rifenbark [Tue, 3 Sep 2013 13:06:55 +0000 (16:06 +0300)] 
ref-manual: Added section on linux kernel image names using PE

Fixes [YOCTO #5089]

In the "Migration" section for going from 1.3 to 1.4, I have
added a new section to describe how the value of PE is now in
the generated Linux kernel image filename.

(From yocto-docs rev: 8ff3d263d2374ab3745e5264c3747e36674e7484)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated the PE variable description.
Scott Rifenbark [Tue, 3 Sep 2013 12:28:00 +0000 (15:28 +0300)] 
ref-manual: Updated the PE variable description.

I changed the description to note that the PE variable is unset
by default.

(From yocto-docs rev: fe3655121e2796e50b8b3372df06cdf8341a2202)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibnewt-python: Don't write a whiptail package
Richard Purdie [Thu, 12 Sep 2013 06:47:37 +0000 (06:47 +0000)] 
libnewt-python: Don't write a whiptail package

The whiptail package is written by the libnewt recipe so for the python version
we need to ensure its not in PACKAGES.

(From OE-Core rev: b26157a8b575aa7b5c96ffe782fc23ec0920311c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_rpm: Only remove trailing whitespace, not all whitespace
Richard Purdie [Thu, 12 Sep 2013 06:47:09 +0000 (06:47 +0000)] 
populate_sdk_rpm: Only remove trailing whitespace, not all whitespace

(From OE-Core rev: 06cb4deba6e4df4ffe3015602d5997b26d28778b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobeagleboard: update the dts location
Maxin B. John [Mon, 9 Sep 2013 12:27:47 +0000 (14:27 +0200)] 
beagleboard: update the dts location

Update the dts path for beagleboard

(From meta-yocto rev: e29387d71a4c532431669f317ea518f99b1dd786)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweston: as weston-launch depends on PAM, control it with a PACKAGECONFIG
Ross Burton [Wed, 11 Sep 2013 13:28:57 +0000 (14:28 +0100)] 
weston: as weston-launch depends on PAM, control it with a PACKAGECONFIG

(From OE-Core rev: fb430271da67d7ec98c285a3420b00db737cae55)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclutter: fix compilation when building without X11 backend
Ross Burton [Wed, 11 Sep 2013 13:47:11 +0000 (14:47 +0100)] 
clutter: fix compilation when building without X11 backend

If Clutter is building the Wayland backend but not the X11 backend, the Cogl
support doesn't get enabled so the Wayland backend (which uses it) fails to
compile.

Backport a fix from upstream to fix this situation.

(From OE-Core rev: 6df36a004210901acceff4a201d0f910d99eccfe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agox11vnc: add dependencies for xrandr/xfixes/xdamage/xtst
Ross Burton [Wed, 11 Sep 2013 13:48:19 +0000 (14:48 +0100)] 
x11vnc: add dependencies for xrandr/xfixes/xdamage/xtst

Inspired by a patch by Martin Jansa but with these libraries required, as a VNC
server without them is suboptimal.  Don't add an option for Xinerama as our X
server always disables it.

(From OE-Core rev: 4bca0b8adcac6eebc4466a2eea03de3493bf1cc4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_rpm: Ensure empty strings aren't passed to attemponly rpm code
Richard Purdie [Wed, 11 Sep 2013 22:27:06 +0000 (22:27 +0000)] 
populate_sdk_rpm: Ensure empty strings aren't passed to attemponly rpm code

If empty strings are passed to the rpm attemptonly code, it breaks. This
ensures we don't do that.

(From OE-Core rev: 6a0d5a3158608364f6baa11fe9ab7fa1f8e251ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vmware: respect opengl DISTRO_FEATURE
Ross Burton [Wed, 11 Sep 2013 22:24:57 +0000 (23:24 +0100)] 
xf86-video-vmware: respect opengl DISTRO_FEATURE

Conditionalise the GL dependencies on the opengl DISTRO_FEATURE so this driver
can build without the opengl feature active, as the configure script will
enable/disable the GL sub-driver depending on the presence of these libraries.

This is an interim patch to fix the autobuilder, a more complete patch heading
upstream to make the GL sub-driver deterministic will follow.

(From OE-Core rev: 66b7c59442cc494179418995292c57bab56fada3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4/5: Add EXCLUDE_FROM_WORLD = 1
Saul Wold [Wed, 11 Sep 2013 21:38:01 +0000 (14:38 -0700)] 
bluez4/5: Add EXCLUDE_FROM_WORLD = 1

We can't build both recipes in the world build as there is a collision of package name
and PR values. Specificly the libasound-module-bluez which is the same in both goes
backwards from r5 (bluez4) -> r0 (bluez5) and the subpackage_metadata check fails:

ERROR: Recipe lib32-bluez5 is trying to change PR from 'r0' to 'r5'. This will cause do_package_write_* failures since the incorrect data will be used and they will be unable to find the right workdir.

[YOCTO #5165]

(From OE-Core rev: 3653500c7e5d365ddc2868d985c6001d40123672)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-intel: disable DRI2 tests if no DRI2 is available
Ross Burton [Wed, 11 Sep 2013 20:30:27 +0000 (21:30 +0100)] 
xf86-video-intel: disable DRI2 tests if no DRI2 is available

Somehow this slipped past the initial testing and can cause build errors in
non-GL distros.

(From OE-Core rev: 975412f446066215a94be78a7f7e1db9e28ebbbf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vesa: change depends to refect reality
Ross Burton [Wed, 11 Sep 2013 20:30:26 +0000 (21:30 +0100)] 
xf86-video-vesa: change depends to refect reality

This recipe appears to have been a copy-and-paste from -intel, because it has
dependencies and configure options that xf86-video-vesa just doesn't have, such
as virtual/libgl and XVMC.

(From OE-Core rev: 4995acafc139107c2323da69eca718009384efe4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoia32-base: only depend on GL if opengl DISTRO_FEATURE enabled
Ross Burton [Wed, 11 Sep 2013 20:30:25 +0000 (21:30 +0100)] 
ia32-base: only depend on GL if opengl DISTRO_FEATURE enabled

As Mesa refuses to compile if the "opengl" DISTRO_FEATURE isn't enabled,
mesa-driver-i9xx and the GLX X module have to be conditional in the ia32 machine
defintion too.

(From OE-Core rev: 8b5c07e6c3b492f56ce9c5f99a732793403d6b36)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oeqa/runtime: smart: limit channel add to useful ones
Stefan Stanacar [Wed, 11 Sep 2013 18:40:21 +0000 (21:40 +0300)] 
lib/oeqa/runtime: smart: limit channel add to useful ones

Don't add inappropiate channels on the target.
This happens when building two different machines in the
same dir and then running the tests for each machine.

(From OE-Core rev: 9e4e475b598f6b9bd2b653c72a1c1d5bd5c0b8c9)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package_rpm: remove unsed outdir variable
Stefan Stanacar [Wed, 11 Sep 2013 18:36:19 +0000 (21:36 +0300)] 
classes/package_rpm: remove unsed outdir variable

Not only outdir had the wrong value, it wasn't used actually used in that function.

(From OE-Core rev: 5db4b53e5d969a6da314904fa2335462947c97ea)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-bsp: conditionalise mesa-swrast on opengl in templates
Ross Burton [Wed, 11 Sep 2013 11:07:21 +0000 (12:07 +0100)] 
yocto-bsp: conditionalise mesa-swrast on opengl in templates

As per the similar commit in oe-core on the qemu machines, the templates should
respect the opengl DISTRO_FEATURE when adding mesa-driver-swrast to new qemu
machines.

(From meta-yocto rev: 8d42ea2b2566913642c759e48ffe1f5f5166c510)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoptest-runner: trivial fixes and refine
Roy Li [Wed, 11 Sep 2013 09:17:32 +0000 (17:17 +0800)] 
ptest-runner: trivial fixes and refine

1. ptest files may be installed under /usr/lib64/ for 64bit filesystem
or under /usr/lib/ for 64bit multilib filesystem, so we should check both
directories

2. If a soft link is linking to a directory under the same directory, we
only run once.

[YOCTO #5125]
[YOCTO #5126]

(From OE-Core rev: 51c43e08b388ed15520c66977bbb49df18e5f124)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibcroco: disable Bsymbolic if it is not supported on some hosts
Ting Liu [Wed, 11 Sep 2013 03:11:15 +0000 (11:11 +0800)] 
libcroco: disable Bsymbolic if it is not supported on some hosts

When trying to build on my Centos 5.5 machine, got below error:
| checking for gtkdoc-mkpdf... no
| checking whether to build gtk-doc documentation... no
| checking for CROCO... yes
| checking if gcc supports "-Wl,-Bsymbolic-functions" flag...
| configure: error: -Bsymbolic requested but not supported by ld. Use --disable-Bsymbolic to disable
| Configure failed. The contents of all config.log files follows to aid debugging
|
| configure: exit 1
| ERROR: oe_runconf failed

Set --enable-Bsymbolic=auto to disable it when it is not suppported.

(From OE-Core rev: e7c691b33573b3309752d6eb397486c2c8620adb)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-smartpm: Add an attempt install mode
Mark Hatle [Wed, 11 Sep 2013 01:59:35 +0000 (20:59 -0500)] 
python-smartpm: Add an attempt install mode

[ YOCTO #3723 ]

Add a mode to smart that will allow an installation to continue, instead of
failure in the case that one or more items is uninstallable.

Uninstallable packages are simply ignored, and no error is generated.

(From OE-Core rev: bdf07b1698d228dc7ff555199a269b1ff8ceca19)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: utils: Fix BB_PRESERVE_ENV
Richard Purdie [Wed, 11 Sep 2013 10:01:47 +0000 (11:01 +0100)] 
bitbake: utils: Fix BB_PRESERVE_ENV

BB_PRESERVE_ENV wasn't working since data.inheritFromOS wasn't getting a
correct list of keys to import into the data store. This fixes
things so it does add all environment variables into the data store
when BB_PRESERVE_ENV is used.

(Bitbake rev: 843e9339c5ee3c99657a40a0e2c7dbd777b6ef06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc: Add missing DEPENDS on kern-tools-native
Richard Purdie [Wed, 11 Sep 2013 09:43:23 +0000 (10:43 +0100)] 
uclibc: Add missing DEPENDS on kern-tools-native

This is needed for the kconfig handling and the merge-config.sh script.

(From OE-Core rev: 1c34b0e871e475a90e27d338469ba31f322d5300)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage/populate_sdk: Ensure symlinks in target sysroot are relative
Richard Purdie [Wed, 11 Sep 2013 09:42:44 +0000 (10:42 +0100)] 
image/populate_sdk: Ensure symlinks in target sysroot are relative

In the target sysroot of an SDK we can have target system absolute links
which don't make sense. This adds a script which fixes them up to become relative
paths instead.

[YOCTO #5020]

(From OE-Core rev: 57d6bdcad55c119e9ab8089d23d462436a0e4440)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: only depend on mesa-driver-swrast if opengl is enabled
Ross Burton [Wed, 11 Sep 2013 09:27:22 +0000 (10:27 +0100)] 
qemu: only depend on mesa-driver-swrast if opengl is enabled

As Mesa refuses to compile if the "opengl" DISTRO_FEATURE isn't enabled,
mesa-driver-swrast has to be conditional in the QEMU machine defintions too.

(From OE-Core rev: 9951e1da6a755f9a46d3a595aa4c2f975aee8f46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinit-live.sh: distinguish between a read-only image and a read-write image
Chen Qi [Wed, 11 Sep 2013 05:01:55 +0000 (13:01 +0800)] 
init-live.sh: distinguish between a read-only image and a read-write image

The iso and hddimg share a common concept of 'live image', and they
use the same initramfs and thus the same init. However, that init
script in initramfs made a wrong assumption that the rootfs image
was read-only by itself. This is apparently not true for hddimg.

To make things work as expected, this init script should at least
distinguish between a read-only rootfs image and a read-write one.

This patch adds this ability to the init script. After this change,
the init script would be able to check whether the rootfs image is
read-only or not. If the rootfs image is read-write, the image will
be mounted and then booted directly. No union mounts will be attempted
in this case.

[YOCTO #5164]

(From OE-Core rev: 29f869b68a9017502f75915784a924f0fe9d4be1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomidori: excluded from mips64 temporarily
Kai Kang [Wed, 11 Sep 2013 05:38:28 +0000 (13:38 +0800)] 
midori: excluded from mips64 temporarily

Exclude midori from mips64 temporarily. Becuase midori depends on
webkit-gtk which could not build for mips64 with 64bits userspace now.

[YOCTO #5141]

(From OE-Core rev: 1b0602b5933b3ee8e4ae36d447bf881308528a47)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd.bbclass: get the correct /lib directory
Saul Wold [Tue, 10 Sep 2013 17:28:14 +0000 (10:28 -0700)] 
systemd.bbclass: get the correct /lib directory

By using os.path.dirname(systemd_unitdir) we get the correct /lib directory instead of
dealing with possibly multilib directories.  This address a QA Error for shipped/not
installed /lib with multilib and x32.

(From OE-Core rev: 5b451a46550ba62e2fbfe5dbe50723b34a4fd527)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: Remove base_libdir if installed only for systemd_unitdir
Muhammad Shakeel [Wed, 4 Sep 2013 11:05:03 +0000 (11:05 +0000)] 
systemd: Remove base_libdir if installed only for systemd_unitdir

If a recipe installs systemd_unitdir and it is a non-systemd build than
systemd.bbclass deletes systemd_unitdir (/lib/systemd/) but not
base_libdir (/lib). In this case if base_libdir is empty than following
QA Issue is reported.

ERROR: QA Issue: openssh: Files/directories were installed but not shipped
  /lib

If base_libdir was installed due to systemd_unitdir installation than for
non-systemd build it should also be removed.

(From OE-Core rev: c700cb21c189e23a78f0efaaf763259c8cfefa4d)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonfs-utils: Add systemd support
Muhammad Shakeel [Wed, 4 Sep 2013 11:05:02 +0000 (11:05 +0000)] 
nfs-utils: Add systemd support

- Remove dependency on meta-systemd

(From OE-Core rev: 644394c074c359505fcd750356fb4db58b939729)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpcbind: Add systemd support
Muhammad Shakeel [Wed, 4 Sep 2013 11:05:01 +0000 (11:05 +0000)] 
rpcbind: Add systemd support

- Remove dependency on meta-systemd

(From OE-Core rev: 3ecb5e21b3b4f05f2d527264c3574fdc37984a77)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolighttpd: Add systemd support
Muhammad Shakeel [Wed, 4 Sep 2013 11:05:00 +0000 (11:05 +0000)] 
lighttpd: Add systemd support

- Remove dependency on meta-systemd

(From OE-Core rev: 36e3d63abaeafc5d2e671bad45b599c159ed10ab)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: Add systemd support
Muhammad Shakeel [Wed, 4 Sep 2013 11:04:59 +0000 (11:04 +0000)] 
openssh: Add systemd support

-Remove dependency on meta-systemd

(From OE-Core rev: 6e6445d487c033913a29763f8e3a7a339d5b612d)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: use correct names in SYSTEMD_SERVICE_* variables
Ross Burton [Mon, 9 Sep 2013 16:16:10 +0000 (17:16 +0100)] 
avahi: use correct names in SYSTEMD_SERVICE_* variables

Don't hard-code full package names in SYSTEMD_SERVICE_*, because in multilib
they'll be changed.

[ YOCTO #4803 ]

(From OE-Core rev: 013cc8b6397c29e8f0d7adf63d8e06caab778da2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus-ptest: fix populate_sdk error
Maxin B. John [Mon, 9 Sep 2013 17:47:30 +0000 (19:47 +0200)] 
dbus-ptest: fix populate_sdk error

 When we enable "ptest", populate_sdk fails with the following error:
 # bitbake core-image-minimal -c populate_sdk
 ..
 Collected errors:
  * satisfy_dependencies_for: Cannot satisfy the following dependencies
    for dbus-ptest-dev:
  *    dbus-ptest (= 1.6.10-r0) *
  * opkg_install_cmd: Cannot install package dbus-ptest-dev.

Disable that dependency.

(From OE-Core rev: a59b7341d136bf8ee4a22c2968ca95dc17be3947)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: filter out empty lines from volatiles in check_requirements()
Ming Liu [Tue, 10 Sep 2013 07:53:24 +0000 (15:53 +0800)] 
initscripts: filter out empty lines from volatiles in check_requirements()

So far the rules of check_requirements() is too strict to lead mismatch
when empty lines exist in volatiles.

(From OE-Core rev: 71ab9ee58b0ba5e3f5cbf403d1b8fb79fc7f5ed1)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobtrfs-tools: fix a parallel build issue
Roy Li [Tue, 10 Sep 2013 09:24:14 +0000 (17:24 +0800)] 
btrfs-tools: fix a parallel build issue

(From OE-Core rev: 637e0484ea4e7a39ac4d9c407c585201e6be1bc0)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-yocto-bsp: bump reference BSPs to v3.10.11
Bruce Ashfield [Tue, 10 Sep 2013 15:54:44 +0000 (11:54 -0400)] 
meta-yocto-bsp: bump reference BSPs to v3.10.11

Bumping to the 3.10.11 -stable release. Of note in this update is
the timer_list fix, which broke ssh access in the previous 3.10
series of updates:

    timer_list: correct the iterator for timer_list

    commit 84a78a6504f5c5394a8e558702e5b54131f01d14 upstream.

With this, we can revert the two temporary fixes for timer lists.
ssh access has been directly tested after this update.

(From meta-yocto rev: 0237c97dde39a3b9355f7be9a9e8eab901d6f511)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomount.sh: automount cdrom device even if no ID_FS_TYPE available
Chen Qi [Tue, 10 Sep 2013 13:27:55 +0000 (21:27 +0800)] 
mount.sh: automount cdrom device even if no ID_FS_TYPE available

This script was modified to check whether $ID_FS_TYPE is empty before
automount, however, for cdrom devices on qemu, the ID_FS_TYPE is not
set, yet the device should be mounted. Otherwise, when booting an iso
image with runqemu, the boot process hangs at 'waiting for removable
media'.

This patch fixes this problem by first checking whether the block device
is a cdrom.

[YOCTO #4487]

(From OE-Core rev: 2df21a3b27543df912a3ce05bef2415fae13cb7c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogstreamer-plugins: Change anonymous python structure
Saul Wold [Tue, 10 Sep 2013 17:28:13 +0000 (10:28 -0700)] 
gstreamer-plugins: Change anonymous python structure

This change ensures that the SRC_URI is set before base.bbclass code is called. This will
also ensure that the xz-native depends is set correct.

[YOCTO #5127]

(From OE-Core rev: 787335494dc0a3f93d9bf5a6cf1b603c8675df66)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake.bbclass: ensure CMAKE_SYSTEM_NAME is correct
Saul Wold [Tue, 10 Sep 2013 17:28:15 +0000 (10:28 -0700)] 
cmake.bbclass: ensure CMAKE_SYSTEM_NAME is correct

Using TARGET_OS can add the ABIEXTENSION so ensure that is is removed for the Linux
TARGET_OS, we might have other TARGET_OSes so don't hard code CMAKE_SYSTEM_NAME

[YOCTO #5145]

(From OE-Core rev: 7d8b700242b1b32c6b6d0735b497701800f54fc4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: allow installation of other machines
Laurentiu Palcu [Tue, 10 Sep 2013 15:10:50 +0000 (18:10 +0300)] 
adt-installer: allow installation of other machines

Currently, adt-installer allows only the installation of qemu target
sysroots.

The changes in this patch do the following:
 * add a new setting in adt-installer.conf (YOCTOADT_TARGET_MACHINE) for
   each target architecture. For example, for arm we can choose to use a
   qemuarm sysroot or a beagleboard sysroot. By default, only the qemu
   target sysroots are selected (current behavior);
 * change adt_installer scripts to allow installing the correct
   meta-environment package for the selected machine;
 * remove some left-over commented lines;
 * use packagegroup-cross-canadian-${MACHINE} when installing the cross
   canadian packages instead of doing it separately for each package;
 * change the opkg config files in order to be able to find the
   packagegroup package, which is allarch;

[YOCTO #4783]

(From OE-Core rev: 02085d410bf734e833d45293f4d5b06bb9536a60)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-toolchain-qt: include the proper cross-canadian package
Laurentiu Palcu [Tue, 10 Sep 2013 15:10:49 +0000 (18:10 +0300)] 
meta-toolchain-qt: include the proper cross-canadian package

packagegroup-cross-canadian package name was changed to contain MACHINE.
Make the necessary changes here too.

[YOCTO #4783]

(From OE-Core rev: 8f8cd338faf63f665c2214f0110b712736f8ed5d)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: select the proper cross-canadian package
Laurentiu Palcu [Tue, 10 Sep 2013 15:10:48 +0000 (18:10 +0300)] 
populate_sdk_base.bbclass: select the proper cross-canadian package

Since packagegroup-cross-canadian package name has MACHINE in it, make
the necessary changes here.

[YOCTO #4783]

(From OE-Core rev: 23531590d40acde2775b7c3b90682edc501d68f4)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-cross-canadian: change package name to include MACHINE
Laurentiu Palcu [Tue, 10 Sep 2013 15:10:47 +0000 (18:10 +0300)] 
packagegroup-cross-canadian: change package name to include MACHINE

Since meta-environment package name was changed to contain MACHINE,
change packagegroup-cross-canadian package name too, in order to be able
to select the proper environment files for a certain machine.

Also, remove the RPROVIDES since adt-installer doesn't really need it.

[YOCTO #4783]

(From OE-Core rev: d713447dc2fab8900f47c542cfbbb76bad19a7e2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-environment: change package name to include MACHINE
Laurentiu Palcu [Tue, 10 Sep 2013 15:10:46 +0000 (18:10 +0300)] 
meta-environment: change package name to include MACHINE

Currently, the package name contains just the TRANSLATED_TARGET_ARCH.
When compiling the toolchain for two machines, belonging to the same
architecture (for example: qemuarm and beagleboard), this package gets
overwritten and adt-installer repo will contain just one
meta-environment package... This leads to situations like installing the
toolchain for qemuarm and end up with meta-environment package with
beagleboard cpu options.

[YOCTO #4783]

(From OE-Core rev: 09a2b158818e2ec3c3e3b53b6d14fd3527c32c99)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.10: bump kver to 3.10.11
Bruce Ashfield [Tue, 10 Sep 2013 15:50:58 +0000 (11:50 -0400)] 
linux-yocto/3.10: bump kver to 3.10.11

Bumping to the 3.10.11 -stable release. Of note in this update is
the timer_list fix, which broke ssh access in the previous 3.10
series of updates:

    timer_list: correct the iterator for timer_list

    commit 84a78a6504f5c5394a8e558702e5b54131f01d14 upstream.

With this, we can revert the two temporary fixes for timer lists.
ssh access has been directly tested after this update.

(From OE-Core rev: 659528f0f99cec94991ec96fa124c4497237e9f8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot, u-boot-fw-utils-cross, u-boot-mkimage: Upgrade to 2013.07
Otavio Salvador [Wed, 4 Sep 2013 21:39:11 +0000 (21:39 +0000)] 
u-boot, u-boot-fw-utils-cross, u-boot-mkimage: Upgrade to 2013.07

This upgrades the U-Boot based recipes for 2013.07 release.

This removes the 2011.03, 2011.06 and 2013.01.01 versions so we keep a
single one in core. The following recipes has been upgraded:

 - u-boot (remove old versions)
 - u-boot-mkimage (remove old versions)
 - u-boot-fw-utils -> u-boot-fw-utils-cross (renamed and reworked)

The u-boot-fw-utils-cross recipe has been reworked as it uses the
UBOOT_MACHINE to find default environment for use so it is indeed a
cross binary and not a native one.

(From OE-Core rev: c5fff5748e0aaf7e135fdd464c2104b1d3cbfd5a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: Fix build with multilib
Khem Raj [Fri, 6 Sep 2013 04:36:09 +0000 (04:36 +0000)] 
systemd: Fix build with multilib

rpm macros should be independent of libdir
Fixes errors seen when multilib is turned on
it shows up since then libdir != usr/lib

(From OE-Core rev: 6126c6e4b9c40c222519914c8fe0a51f9eee8d41)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: runqueue: add sceneQueueTaskCompleted event
Alexandru DAMIAN [Mon, 9 Sep 2013 16:40:56 +0000 (17:40 +0100)] 
bitbake: bitbake: runqueue: add sceneQueueTaskCompleted event

Adding an event to be fired when a scene task is completed.
It is analogous to the run task completed event, and has
been missing for some reason.

(Bitbake rev: 73b8f4d3fbeaf1b330a66d76012d0a5cef8dbe2d)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd: update patch header and comments
Ross Burton [Mon, 9 Sep 2013 15:52:54 +0000 (15:52 +0000)] 
systemd: update patch header and comments

(From OE-Core rev: 856f74db0f56e4885af625665f8d85841f198e8d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-intel: allow builds without opengl, add more options
Ross Burton [Mon, 9 Sep 2013 10:19:12 +0000 (10:19 +0000)] 
xf86-video-intel: allow builds without opengl, add more options

Allow builds without the opengl DISTRO_FEATURE by disabling DRI.

Also add new options for UXA (not default upstream, requires DRI) and udev
(enabled by default)

Finally remove a few obsolete dependencies.

(From OE-Core rev: bb9c01bd627cae9c037811c943ad38eebb2f8b25)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: use distro_features_check to abort build without opengl feature
Ross Burton [Mon, 9 Sep 2013 10:19:11 +0000 (10:19 +0000)] 
mesa: use distro_features_check to abort build without opengl feature

Stop mesa from building on distributions without the "opengl" DISTRO_FEATURE.

(From OE-Core rev: 05bacb69a3b0f3bbd9dd608855456c32b4007fde)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: avoid parallel-tests
Tudor Florea [Fri, 6 Sep 2013 21:11:57 +0000 (21:11 +0000)] 
kmod: avoid parallel-tests

Avoid parallel-tests for kmod as it remove
buildtest-TESTS and runtest-TESTS targets required by ptest.

(From OE-Core rev: e1a3ff7d455889e4c6b899227e8ca1919a443b22)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-modules: Update to version 2.3.0
Paul Woegerer [Thu, 5 Sep 2013 09:01:00 +0000 (09:01 +0000)] 
lttng-modules: Update to version 2.3.0

(From OE-Core rev: df6943c29c0d31a78b0b2954dfe8ee6b97cefffe)

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-tools: Update to version 2.3.0
Paul Woegerer [Thu, 5 Sep 2013 09:00:59 +0000 (09:00 +0000)] 
lttng-tools: Update to version 2.3.0

(From OE-Core rev: 09dd0be9bb6d8a300700de71658abcdeb21713db)

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-ust: Update to version 2.3.0
Paul Woegerer [Thu, 5 Sep 2013 09:00:58 +0000 (09:00 +0000)] 
lttng-ust: Update to version 2.3.0

(From OE-Core rev: a7e60e7f3b8443106a767cee40954fa893905e07)

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoptest.bbclass: add cleandirs flag to do_install_ptest_base
Chen Qi [Thu, 5 Sep 2013 13:58:26 +0000 (13:58 +0000)] 
ptest.bbclass: add cleandirs flag to do_install_ptest_base

The do_install_ptest_base task should have cleandirs flag, just like
the do_install task. The ${D}${PTEST_PATH} directory should be cleaned,
Otherwise, there would be similar errors like below if the
do_install_ptest_base task is rerun.

    ln: failed to create symbolic link `xxx': File exists

[YOCTO #5129]

(From OE-Core rev: 25885d3b4f679c33a514d858bc20b0e21aa63721)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoptest.bbclass: fix error on ubuntu host
Chen Qi [Thu, 5 Sep 2013 13:58:25 +0000 (13:58 +0000)] 
ptest.bbclass: fix error on ubuntu host

The do_install_ptest_base function uses 'type -t' command to check
whether do_install_ptest is a function and acts correspondingly.

However, the 'type' command is a shell builtin and its behavior is
not all the same across Linux distros. On ubuntu, if we use #!/bin/sh
as the interpreter for the scripts, as in the case of our intermediate
scripts, the '-t' option for the 'type' command is not supported. So
the check always fails and the do_install_ptest function, even if defined,
is not run.

The same problem also applies to the do_configure_ptest_base and the
do_compile_ptest_base functions.

This patch fixes this problem by avoiding using the 'type' builtin command.

[YOCTO #5128]

(From OE-Core rev: d5a4f031b460437e9501e4e65194ce94d3641130)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-bsp: remove apm as a default MACHINE_FEATURE
Saul Wold [Mon, 9 Sep 2013 14:58:39 +0000 (07:58 -0700)] 
yocto-bsp: remove apm as a default MACHINE_FEATURE

APM is not only obsolete, but also requires a kernel config enabled, which is not enabled by default

[YOCTO #5121]

(From meta-yocto rev: e25c43661f27b27e61aa7fae868237c1c60e3e25)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobeagelboard.inc: remove apm as a MACHINE_FEATURE
Saul Wold [Mon, 9 Sep 2013 14:58:38 +0000 (07:58 -0700)] 
beagelboard.inc: remove apm as a MACHINE_FEATURE

APM is not only obsolete, but also requires a kernel config enabled, which is not enabled by default

[YOCTO #5121]

(From meta-yocto rev: 91e6d33135cc48aaf20a6138c050c6989af1f13a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: check whether multiple versions of the same PN are due to be...
Robert Yang [Mon, 2 Sep 2013 13:47:21 +0000 (09:47 -0400)] 
bitbake: runqueue.py: check whether multiple versions of the same PN are due to be built

There would be an race issue if we:

$ bitbake make-3.81 make-3.82

This because they are being built at the same time which would cause
unexpected problems, for example:

[snip]
ERROR: Package already staged (/path/to/tmp/sstate-control/manifest-qemux86-make.populate-sysroot)?!
ERROR: Function failed: sstate_task_postfunc
[snip]

Or there would be python's strack trace such as:

[snip]
 *** 0004:    mfile = open(manifest)
     0005:    entries = mfile.readlines()
     0006:    mfile.close()
     0007:
     0008:    for entry in entries:
Exception: IOError: [Errno 2] No such file or directory: xxx
[snip]

[YOCTO #5094]

We can quit earlier to avoid this kind of issue when two versions of the same PN
are going to be built since this isn't supported.

(Bitbake rev: ab377c00c33a2d296bfda1b0b6c2a62b29d1004f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: providers.py: enhance the runtime debug degbug messgae
Robert Yang [Mon, 2 Sep 2013 13:41:19 +0000 (09:41 -0400)] 
bitbake: providers.py: enhance the runtime debug degbug messgae

The runtime provider debug message is the same as the build time debug
message, make them different would be better.

[YOCTO #5067]

(Bitbake rev: 92b624cbc2711d3d859994099fb63918dfd0031a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu.inc: remove apm as a MACHINE_FEATURE
Saul Wold [Mon, 9 Sep 2013 14:58:37 +0000 (07:58 -0700)] 
qemu.inc: remove apm as a MACHINE_FEATURE

APM is not only obsolete, but requires a kernel config enabled and is meaningless for QEMU VM

[YOCTO #5121]

(From OE-Core rev: b0f8c47b1e808421f03308527beb8bde15644acd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: prserv: Ensure data is committed
Richard Purdie [Sun, 8 Sep 2013 09:45:54 +0000 (09:45 +0000)] 
bitbake: prserv: Ensure data is committed

In exclusive mode, we need to complete the transaction for writes to make
it to the database. Therefore add sync calls to ensure this happens.

Autocommit mode is significantly (100 times) slower so caching the
data is of significant benefit.

(Bitbake rev: 4e55f7821786a59c2cd7dbd8bfa2a22f5f196e99)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake: set system name correctly
Richard Purdie [Sat, 7 Sep 2013 22:25:14 +0000 (23:25 +0100)] 
cmake: set system name correctly

For unknown reasons, the cmake class is using SDK_OS as the
target system OS. This makes no sense but only shows up as a problem
when you try a different SDK OS. Fix it to use TARGET_OS which is
the correct thing to do. For the vast majority of users this will
make no difference.

(From OE-Core rev: 57be84259f0885865c85d7bac350979430b956b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: skip already-stripped QA test if asked for
Khem Raj [Fri, 6 Sep 2013 21:15:18 +0000 (14:15 -0700)] 
package.bbclass: skip already-stripped QA test if asked for

Some packages like grub have already stripped binaries e.g.

ERROR: QA Issue: File '/boot/grub/kernel.img' from grub was already
stripped, this will prevent future debugging!
ERROR: QA run found fatal errors. Please consider fixing them.

We would like to have a possibility to skip it using something like

INSANE_SKIP_${PN} = "already-stripped"

This adds the logic to do so

it acts at PN level and not at package level. so something like

INSANE_SKIP_${PN}-misc = "already-stripped" wont work.

(From OE-Core rev: 765982f4c050d9cd3eb608d630312da482c737c7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoghostscript: Add missing dependency to resolve parallel make issue
Richard Purdie [Fri, 6 Sep 2013 22:54:55 +0000 (22:54 +0000)] 
ghostscript: Add missing dependency to resolve parallel make issue

(From OE-Core rev: a24027321b99dffd79b1f0c009ce89f0be7cc384)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-yocto-bsp: update h/w reference boards SRCREVs
Bruce Ashfield [Fri, 6 Sep 2013 20:58:35 +0000 (16:58 -0400)] 
meta-yocto-bsp: update h/w reference boards SRCREVs

Updating the machine SRCREVs for the hardware reference boards to the
latest 3.10.10 and ssh fixes.

(From meta-yocto rev: 2aa6cc9d64fc22a8d0f02c5cf97440b634ba5e36)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobeagleboard: upgrade the kernel to 3.10.x
Liming Wang [Fri, 6 Sep 2013 20:58:36 +0000 (16:58 -0400)] 
beagleboard: upgrade the kernel to 3.10.x

In 3.10.x linux kernel, uImage can't be compiled by default. But zImage
has been supported by the latest u-boot, so use zImage as the default kernel
image file. In u-boot command, use "bootz", instead of "bootm", to boot the kernel.

And add device tree files to support dtb in latest kernel.

(From meta-yocto rev: ff6b4ae23ccd14cefdb94c561160fbdc8344793d)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agompc8315e-rdb: update to the 3.10 kernel
Kevin Hao [Fri, 6 Sep 2013 20:58:34 +0000 (16:58 -0400)] 
mpc8315e-rdb: update to the 3.10 kernel

Update the mpc8315e-rdb to the latest available yocto kernel.
Build and boot test on mpc8315e-rdb board with core-image-sato.

(From meta-yocto rev: 67088a41b1f2222ffceba40928ebce87b9bff180)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogenericx86: Create a genericx86-common.inc base for the x86 BSPs
Darren Hart [Wed, 4 Sep 2013 21:20:55 +0000 (21:20 +0000)] 
genericx86: Create a genericx86-common.inc base for the x86 BSPs

The genericx86 and genericx86-64 machines share a great deal in common
in terms of machine features, required packages, etc. Use a common
include file to simplify changes to both machine definitions and avoid
accidental omissions.

Replace the hard-coded XSERVER assignment with the XSERVER_IA32*
defines from ia32-base.inc.

(From meta-yocto rev: c70ee30da060173f51e8dba72069052ecff389b5)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: yunguo.wei@windriver.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>