]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agoquilt: run ptest as normal user dengke/quilt-ptest-fail-fixed
Dengke Du [Fri, 25 Mar 2016 07:46:03 +0000 (03:46 -0400)] 
quilt: run ptest as normal user

When the user is root, run quilt ptest, the faildiff.test failed.
Because in the faildiff.test, we drop the read permission of the
file test.txt, we can't "quilt refresh" as normal user, so we got
the following:
>~ .*diff:test\.txt: Permission denied
> Diff failed on file 'test.txt', aborting
But when the user is root, we can access the file, so we got the
following:
> Nothing in patch patchs/test.diff
So the faildiff.test was failed. We should create a normal user
to run the ptest in the run-ptest scripts to slove the problem.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
9 years agobitbake: bitbake: xmlrpc: set single use mode differently
Ed Bartosh [Thu, 17 Mar 2016 11:34:23 +0000 (11:34 +0000)] 
bitbake: bitbake: xmlrpc: set single use mode differently

Currently xmlrpc server implicitly sets itself into single use mode
when bitbake server is started with anonymous port (0) or no port is
provided in command line. In this mode bitbake shuts down xmlrpc server
after build is done. This assumption is incorrect in some cases.
For example Toaster uses bitbake in this mode and expects xmlrpc server
to stay in memory.

Till recent changes single use mode was always unset due to the bug.
When the bug was fixed it broke toaster builds as Toaster couldn't
communicate with bitbake server in single use mode.

Reimplemented logic of setting single use mode. The mode is explicity
set when --server-only command line parameter is not provided to bitbake.
It doesn't depend on the port number anymore.

[YOCTO #9275]
[YOCTO #9240]
[YOCTO #9252]

(Bitbake rev: afc0dd5c532684f6201b1e12bbf4c226ea19062d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added note for running remote apps with SSH port forw enabled.
Scott Rifenbark [Wed, 23 Mar 2016 17:38:41 +0000 (10:38 -0700)] 
sdk-manual: Added note for running remote apps with SSH port forw enabled.

I added the following note in the section that deals with running
Eclipse with a remote application.

Fixes [YOCTO #9276]

Currently, Eclipse does not support SSH port forwarding.
Consequently, if you need to run or debug a remote
application using the host display, you must create a
tunneling connection from outside Eclipse and keep
that connection alive during your work.
For example, in a new terminal, run the following:

     ssh -XY user_name@remote_host_ip

After running the command, add the command to be executed
in Eclipse's run configuration before the application
as follows:

     export DISPLAY=:10.0

(From yocto-docs rev: 7bf2875ff1653a8e50fa8e2bba540b2eb2512d2d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Added code name for 2.1 release to the variable
Scott Rifenbark [Wed, 23 Mar 2016 17:37:07 +0000 (10:37 -0700)] 
poky.ent: Added code name for 2.1 release to the variable

Krogoth

(From yocto-docs rev: 619c704632e9316d4953fbccab0416460cdc9a00)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied more review edits to the manual per Eggleton.
Scott Rifenbark [Wed, 23 Mar 2016 15:46:27 +0000 (08:46 -0700)] 
sdk-manual: Applied more review edits to the manual per Eggleton.

(From yocto-docs rev: 8987852ad23e8a4694be55425e2c76bcd4301850)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Created distrodata and checkpkg tasks, updated distrodata class
Scott Rifenbark [Tue, 22 Mar 2016 19:10:18 +0000 (12:10 -0700)] 
ref-manual: Created distrodata and checkpkg tasks, updated distrodata class

Fixes [YOCTO #7894]

I created two new task reference sections: distrodata and
checkpkg.  Also, updated the distrodata class description to
reflect the presence of these new tasks.

(From yocto-docs rev: 3896cbf640d296dafb5eda37f89bba31a47ca8a5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied 2nd round of review edits.
Scott Rifenbark [Tue, 22 Mar 2016 16:49:33 +0000 (09:49 -0700)] 
sdk-manual: Applied 2nd round of review edits.

(From yocto-docs rev: 046b8ed69e0c6403f455e2ec8a0ccc30aea894de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied review edits to the manual.
Scott Rifenbark [Tue, 22 Mar 2016 01:09:13 +0000 (18:09 -0700)] 
sdk-manual: Applied review edits to the manual.

(From yocto-docs rev: be853fb74b28bcf1b27b3b7a8e83012928d4e53a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Updated the SDK devtool modify flow diagram.
Scott Rifenbark [Tue, 22 Mar 2016 01:08:29 +0000 (18:08 -0700)] 
sdk-manual: Updated the SDK devtool modify flow diagram.

(From yocto-docs rev: 0fa48508dc6da53f4611d41fee9aa946de6cf07b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Fixed a grammar error
Scott Rifenbark [Tue, 22 Mar 2016 01:07:22 +0000 (18:07 -0700)] 
dev-manual: Fixed a grammar error

(From yocto-docs rev: 7b81f29a641cad4f10c3c721c0d40ce11d928648)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual: Updated the SDK devtool modify diagram
Scott Rifenbark [Tue, 22 Mar 2016 01:06:36 +0000 (18:06 -0700)] 
sdk-manual, mega-manual: Updated the SDK devtool modify diagram

Removed the bitbake option and the TMPDIR terminology.

(From yocto-docs rev: c543e00eeb9e9a8074dfb195c971c37c095ecbdd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual, profile-manual, ref-manual: Updates to remove meta-toolchain
Scott Rifenbark [Mon, 21 Mar 2016 22:04:06 +0000 (15:04 -0700)] 
dev-manual, profile-manual, ref-manual: Updates to remove meta-toolchain

The term "meta-toolchain" is legacy now.  I went through and removed
its use except for where it appears still as output from the
oe-init-build-env script.

(From yocto-docs rev: 1cc134060459278997d57f1293f54091c5404d85)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Edits to add extensible SDK configuration sections.
Scott Rifenbark [Mon, 21 Mar 2016 21:25:47 +0000 (14:25 -0700)] 
sdk-manual: Edits to add extensible SDK configuration sections.

(From yocto-docs rev: 378bbceb8ea06c225c4758807e25a35521faa3a9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual, sdk-manual: Changed section heading.
Scott Rifenbark [Mon, 21 Mar 2016 16:01:11 +0000 (09:01 -0700)] 
ref-manual, sdk-manual: Changed section heading.

Changed the heading for "Optionally Building a Toolchain
Installer" to "Building an SDK Installer".  This changes the
heading and many references to that heading.

(From yocto-docs rev: 97d8cd34d0dd0993b1b1135bb75f2212bb46878a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Added some SDK manual support to introduction
Scott Rifenbark [Mon, 21 Mar 2016 15:47:26 +0000 (08:47 -0700)] 
ref-manual: Added some SDK manual support to introduction

(From yocto-docs rev: 6021a1024b51ab65659e132870eb75d1bf53aedb)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoprofile-manual: Updated screen output for oe-init-build-env
Scott Rifenbark [Fri, 18 Mar 2016 00:15:33 +0000 (17:15 -0700)] 
profile-manual: Updated screen output for oe-init-build-env

(From yocto-docs rev: 36029fbcb03487ece65c7c43d9bf1bf20b4fc308)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-dev: Changed a link from an example to in-text.
Scott Rifenbark [Fri, 18 Mar 2016 00:07:03 +0000 (17:07 -0700)] 
kernel-dev: Changed a link from an example to in-text.

Better placement of this link.  It did not need to be in the
<literallayout> example.

(From yocto-docs rev: 53c33ea4cc929e016812f0d3aac0d302758dc0f8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual: Edits from a 2.1 read-through.
Scott Rifenbark [Thu, 17 Mar 2016 19:59:39 +0000 (12:59 -0700)] 
dev-manual: Edits from a 2.1 read-through.

* Removed some eMenlow stuff
* Cleaned up the description of the BSP structures we have now.
* Various links fixed into the SDK manual.
* Other minor fixes.

(From yocto-docs rev: 5e45005d7ff2254df2754a5ea2d7efd7f1c19a42)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Fixed a typo in one of the variables "ftar" to "tar"
Scott Rifenbark [Thu, 17 Mar 2016 19:59:05 +0000 (12:59 -0700)] 
poky.ent: Fixed a typo in one of the variables "ftar" to "tar"

(From yocto-docs rev: 8ecef805bdb3493052f4d1f951e157f488d83c4d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent, bsp-guide: Removed eMenlow example and updated 2.1 variables
Scott Rifenbark [Thu, 17 Mar 2016 16:01:19 +0000 (09:01 -0700)] 
poky.ent, bsp-guide: Removed eMenlow example and updated 2.1 variables

Probably should have committed these separately but....

 * Updated the BSP guide to use an example that we support.
   I removed the eMenlow stuff completely.

 * Fixed poky.ent so the 15.0.0 stuff is used for the variables.
   This supports the 2.1 release.

(From yocto-docs rev: 598b261725235b6f160561db22bd9f31ec721066)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoyocto-project-qs: Performed a read-through edit.
Scott Rifenbark [Wed, 16 Mar 2016 15:10:27 +0000 (08:10 -0700)] 
yocto-project-qs: Performed a read-through edit.

 * Fixed some wordings
 * Fixed some links for consistency

(From yocto-docs rev: 9737ba3a572140bec892ffb555241a2259bd517a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopoky.ent: Updated copyright year and version variables.
Scott Rifenbark [Wed, 16 Mar 2016 14:05:12 +0000 (07:05 -0700)] 
poky.ent: Updated copyright year and version variables.

Set year to 2016 and fixed some variables.

(From yocto-docs rev: d1e15dac45cb689c59d9301af776101336e07bf2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomega-manual: Added two new sections for the sdk manual
Scott Rifenbark [Tue, 15 Mar 2016 18:47:25 +0000 (11:47 -0700)] 
mega-manual: Added two new sections for the sdk manual

(From yocto-docs rev: 89bf843f13563288d556edf13fde8f6ad3c32868)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added some intro stuff about the SDK
Scott Rifenbark [Tue, 8 Mar 2016 15:49:48 +0000 (07:49 -0800)] 
sdk-manual: Added some intro stuff about the SDK

(From yocto-docs rev: 6b829c70349f42d902395a586c84fa21b53227e8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Resolving a conflict
Scott Rifenbark [Wed, 9 Mar 2016 21:30:27 +0000 (13:30 -0800)] 
ref-manual: Resolving a conflict

(From yocto-docs rev: b364516928d04da38ef3188f07f190ffac64762b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual: Added new figure for Eclipse flow.
Scott Rifenbark [Sat, 5 Mar 2016 00:55:40 +0000 (16:55 -0800)] 
sdk-manual, mega-manual: Added new figure for Eclipse flow.

(From yocto-docs rev: 27150d4ed7dded90d726d91d92e4f905d365c3ba)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: WIP on the book.
Scott Rifenbark [Wed, 2 Mar 2016 16:48:50 +0000 (08:48 -0800)] 
sdk-manual: WIP on the book.

(From yocto-docs rev: 140577dd1f91c096152354e711709efe64bbcd0e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual, mega-manual, Makefile: Added new figures
Scott Rifenbark [Wed, 2 Mar 2016 16:47:44 +0000 (08:47 -0800)] 
sdk-manual, mega-manual, Makefile: Added new figures

Added a devtool add and devtool modify flow digram.  Updated
the Makefile to support those figures in the tarball creation.

(From yocto-docs rev: b40692065262dee0209329886b6e3a743c32b1bd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Resolving a conflict
Scott Rifenbark [Tue, 15 Mar 2016 18:31:37 +0000 (11:31 -0700)] 
Makefile: Resolving a conflict

(From yocto-docs rev: 221b8eeee23841395b6323da0893156346dead6f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added a new figure for installed extensible sdk directory.
Scott Rifenbark [Tue, 1 Mar 2016 15:45:10 +0000 (07:45 -0800)] 
sdk-manual: Added a new figure for installed extensible sdk directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Applied some "red" text formatting to indicate notes
Scott Rifenbark [Tue, 26 Jan 2016 22:57:15 +0000 (14:57 -0800)] 
sdk-manual: Applied some "red" text formatting to indicate notes

I am using "red" text to indicate sections of the manual that
are my development notes.

(From yocto-docs rev: 95b432d852ac3248874a2a958d4a80e59187f062)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Added the ".png" part to a figure I forgot.
Scott Rifenbark [Tue, 26 Jan 2016 18:28:58 +0000 (10:28 -0800)] 
Makefile: Added the ".png" part to a figure I forgot.

I left off the file extension when I added a new figure to the
SDK manual.  This caused the tarball to fail.

(From yocto-docs rev: f1984b00b44ad7f1890adecdb7e2f6dd4af5b96c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added a red-text "role" to the style sheet.
Scott Rifenbark [Tue, 26 Jan 2016 18:26:19 +0000 (10:26 -0800)] 
sdk-manual: Added a red-text "role" to the style sheet.

This allows you to use the following to make a paragraph display
using red-colored text:

  <para role='writernotes'>Here is the sentence.</para>

What this allows is to create areas in the manual that are
easily identified as questions to the reviewers.

(From yocto-docs rev: 007ea508a36f453c66970666490a82885a8749e1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added new section detailing installed SDK directory.
Scott Rifenbark [Tue, 26 Jan 2016 15:18:13 +0000 (07:18 -0800)] 
sdk-manual: Added new section detailing installed SDK directory.

Added text and a new figure to show the resulting directory
structure from running the SDK installation .sh script.

(From yocto-docs rev: 3c5aec4a0088262e60ee6becb5e34552feeb6151)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual-customization: Fixed XSL Appendix numbering parameter
Scott Rifenbark [Tue, 26 Jan 2016 15:15:39 +0000 (07:15 -0800)] 
sdk-manual-customization: Fixed XSL Appendix numbering parameter

The xslproc needs special handling of the statement that applies
the numbering for appendices.  I updated the line to use that
format so when making the file you do not get a billion
unrecognized parameter errors.

(From yocto-docs rev: a2787b7a6d045196c0d524e11531ca3aca41b9c2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Updated the figure list for the mega-manual.
Scott Rifenbark [Tue, 15 Mar 2016 18:05:17 +0000 (11:05 -0700)] 
Makefile: Updated the figure list for the mega-manual.

Including three figs for Toaster manual.

(From yocto-docs rev: c41f9859b6cfc4e34b8e0d0e812fad0b8dd44540)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: WIP - Various small edits as WIP
Scott Rifenbark [Mon, 25 Jan 2016 23:14:57 +0000 (15:14 -0800)] 
sdk-manual: WIP - Various small edits as WIP

(From yocto-docs rev: 53c16de81028d5564a75b4787203d6862258f68e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: New content for outline purposes.
Scott Rifenbark [Sat, 23 Jan 2016 19:01:12 +0000 (11:01 -0800)] 
sdk-manual: New content for outline purposes.

(From yocto-docs rev: bbea46ebb922de6e102e711bb6e63ed8479a6893)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Updated with two new appendices for new files.
Scott Rifenbark [Sat, 23 Jan 2016 19:00:41 +0000 (11:00 -0800)] 
sdk-manual: Updated with two new appendices for new files.

(From yocto-docs rev: 569f5853fa04d14d73a1e30dadceae62782e4127)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added sdk-environment.png diagram.
Scott Rifenbark [Sat, 23 Jan 2016 19:00:00 +0000 (11:00 -0800)] 
sdk-manual: Added sdk-environment.png diagram.

(From yocto-docs rev: 0f1c4a4714af348483d71e39a31877cb37722fae)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added two appendix files to SDK Manual.
Scott Rifenbark [Sat, 23 Jan 2016 18:59:24 +0000 (10:59 -0800)] 
sdk-manual: Added two appendix files to SDK Manual.

(From yocto-docs rev: ce926aeeb6e5594de53f606910a932b3a54ee5f0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMakefile: Added sdk-environment.png to figure list for SDK Manual
Scott Rifenbark [Sat, 23 Jan 2016 18:58:25 +0000 (10:58 -0800)] 
Makefile: Added sdk-environment.png to figure list for SDK Manual

(From yocto-docs rev: 5576b989539c9fee989a1c75d142d89c62c4da76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster-manual: Edits to a previous patch.
Scott Rifenbark [Tue, 15 Mar 2016 17:31:34 +0000 (10:31 -0700)] 
toaster-manual: Edits to a previous patch.

I applied some grammar and writing edits to a large patch of new
text.

(From yocto-docs rev: 67cd700131e7cbca5769f25328772406f860d519)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomega-manual, Makefile: Added support for three new toaster figures.
Scott Rifenbark [Tue, 15 Mar 2016 17:30:27 +0000 (10:30 -0700)] 
mega-manual, Makefile: Added support for three new toaster figures.

These figures were added through a patch and needed to also
be local to the figures directory in the mega-manual.

Also, the Makefile must list the figures for the TAR file.

(From yocto-docs rev: 6904899f2df8c531f1d6f7c61482d737b9e93971)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster-manual: Explain the local release
Belen [Mon, 14 Mar 2016 18:40:58 +0000 (18:40 +0000)] 
toaster-manual: Explain the local release

The fact that the Local Yocto Project release does not provide any
compatible layers confuses people. Add a section about the local release
to explain what it does.

[YOCTO #9229]

(From yocto-docs rev: cc7ebcd5a66ff3041a7fdd17e697dfb60b08cadd)

Signed-off-by: Belen <belen@icarus.isw.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodocumentation: remove all references to Hob
Belen Barros Pena [Tue, 15 Mar 2016 16:50:40 +0000 (09:50 -0700)] 
documentation: remove all references to Hob

Hob and the packageinfo class have now been removed from the
code base. This patch removes all references to:

* Hob
* meta-hob
* packageinfo and
* BBLAYERS_NON_REMOVABLE

from the documentation.

So long, Hob, and thanks for all the fish.

(From yocto-docs rev: 6a1ba2761d5c2ec1072616ce3d791787f1b1b2a7)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Updated COREBASE_FILES variable.
Scott Rifenbark [Mon, 14 Mar 2016 13:15:49 +0000 (06:15 -0700)] 
ref-manual: Updated COREBASE_FILES variable.

Applied review comments.  Fixed some wording.

(From yocto-docs rev: 0d1ccaf3dadf890498b3f2b090ece276a537b43c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: include/require checks current directory
Scott Rifenbark [Wed, 23 Mar 2016 21:47:42 +0000 (14:47 -0700)] 
bitbake: bitbake-user-manual: include/require checks current directory

I added wording to note that include/require checks the current
directory in addition to BBPATH

Fixes [YOCTO #8566]

(Bitbake rev: bdad45ebe551912b055ffa349d254ae5947a3ba6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: Updated the "inherit Directive" section.
Scott Rifenbark [Tue, 22 Mar 2016 20:35:28 +0000 (13:35 -0700)] 
bitbake: bitbake-user-manual: Updated the "inherit Directive" section.

Fixes [YOCTO #9283]

Updated the description to document conditional inherits.  Provided
several examples.

(Bitbake rev: 07f97f4d913cf1c8233995152105fff6c6c7b9a0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: Updated the copyright year to 2016
Scott Rifenbark [Tue, 22 Mar 2016 20:35:00 +0000 (13:35 -0700)] 
bitbake: bitbake-user-manual: Updated the copyright year to 2016

(Bitbake rev: ea6d31a569d18b07cfc977d994a320a588c4f9c2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toasterui: remove ParseStarted from the event list
Ed Bartosh [Thu, 17 Mar 2016 11:59:02 +0000 (11:59 +0000)] 
bitbake: toasterui: remove ParseStarted from the event list

bb.event.ParseStarted event is not processed by toasterui, but
present in event list. This causes the following error:
   WARNING: Unknown event: <bb.event.ParseStarted object at ...
and non-zero return code:
   WARNING: Return value is 1

(Bitbake rev: 1cc102f3d83d9467a3a3c422254333796ba95605)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toasterui: Remove the excessive exception logging
Michael Wood [Thu, 17 Mar 2016 11:49:16 +0000 (11:49 +0000)] 
bitbake: toasterui: Remove the excessive exception logging

Remove the very verbose log dump from toasterui. This generates several
megabytes of not that useful debug information and actually hinders
finding the original exception.

(Bitbake rev: a21dc134bdce2c9eb5e47c770094660f0c45c398)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cache: Make BB_DONT_CACHE variable external
Markus Lehtonen [Tue, 22 Mar 2016 14:59:55 +0000 (16:59 +0200)] 
bitbake: cache: Make BB_DONT_CACHE variable external

This makes it possible to prevent a recipe to be cached, and thus,
parsed every time.

Use with care.

[YOCTO #8853]

(Bitbake rev: 78335c1fbe5266116700c2413aac28b00423a75b)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: orm generate CustomImageRecipe contents try secondary path
Michael Wood [Wed, 23 Mar 2016 08:28:40 +0000 (08:28 +0000)] 
bitbake: toaster: orm generate CustomImageRecipe contents try secondary path

Try a secondary file path if the first does not exist. When we get the
recipe paths and layer information from the layer index it is not a
complete path but we are usually able to reconstruct it. If the complete
real path has been discovered by building then use this instead.

[YOCTO #9206]

(Bitbake rev: 238db2e03405d259d48dfc477a276191e6a47698)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: localhostbecontroller put generated layer in the builddir
Michael Wood [Wed, 23 Mar 2016 08:28:39 +0000 (08:28 +0000)] 
bitbake: toaster: localhostbecontroller put generated layer in the builddir

Move the generated layer for custom recipes into the build directory.
The build directory makes more sense as this layer/recipe is generated
for a particular build/project.

(Bitbake rev: 77f3728ee6ea379bffcf73f33c26e982cb0795f4)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: localhostbecontroller Allow file:/// uri type for git repo
Michael Wood [Wed, 23 Mar 2016 08:28:38 +0000 (08:28 +0000)] 
bitbake: toaster: localhostbecontroller Allow file:/// uri type for git repo

We don't need to skip file:/// uri type locations for git repositories.
If you're using a file:/// uri you should know that it has to be a local
path.

[YOCTO #9200]

igned-off-by: Michael Wood <michael.g.wood@intel.com>
(Bitbake rev: 4d0e5804103c2d98d038b3c490cac37a73f3cc47)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: orm Add a constant for the CustomImageRecipe's layer name
Michael Wood [Wed, 23 Mar 2016 08:28:37 +0000 (08:28 +0000)] 
bitbake: toaster: orm Add a constant for the CustomImageRecipe's layer name

Use a constant to define the name for the toaster custom images layer;
this constant is then used to identify this layer in various places.

(Bitbake rev: 2540969ec71612af7f9041cadcc401513e9b357b)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: localhostbecontroller Don't clear out toaster custom layer dir
Michael Wood [Wed, 23 Mar 2016 08:28:36 +0000 (08:28 +0000)] 
bitbake: toaster: localhostbecontroller Don't clear out toaster custom layer dir

We may have a recipe which is based on a custom image recipe that has
already been built so keep the recipe file around so that it can be read
by the generate recipe function.

(Bitbake rev: 502148fe498fe0a41ae89c9f649d3cb1253b0487)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoparselogs: add new whitelist entries to address 4.4.3 issues
Saul Wold [Tue, 22 Mar 2016 08:52:39 +0000 (08:52 +0000)] 
parselogs: add new whitelist entries to address 4.4.3 issues

Adds intel-corei7-64 with x86-common, this makes the x86-common
whitelist available for intel-corei7-64 bsp also.

[YOCTO #9179]

(From OE-Core rev: 34e7292fb40635cee1f1237ac3156530f8dfce37)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bb/tests/fetch: Update cups url
Richard Purdie [Mon, 21 Mar 2016 12:41:47 +0000 (12:41 +0000)] 
bitbake: bb/tests/fetch: Update cups url

Update the upstream url used for testing cups versions after upstream website
changes.

(Bitbake rev: 5f06041d4936fc22297945bbbad7020bfa9083c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-buildenv-internal: Correct the sed expression which updates $PATH
Peter Kjellerstedt [Mon, 21 Mar 2016 11:41:46 +0000 (12:41 +0100)] 
oe-buildenv-internal: Correct the sed expression which updates $PATH

Without this, the code that adds paths to $PATH could cause it to end
up with a trailing : which would then cause an error from the sanity
checker.

(From OE-Core rev: 9c200760cbbe322ed884729eb395f389c863e1c8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzdata: update to 2016b
Armin Kuster [Fri, 18 Mar 2016 21:43:18 +0000 (14:43 -0700)] 
tzdata: update to 2016b

updated SRC_URI to http as it seems more stable.

Changes affecting future time stamps

     New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
     Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on
     2016-03-27 at 02:00 local time.  They need distinct zones since their
     post-1970 histories disagree.  New zone Asia/Barnaul for Altai Krai and
     Altai Republic, Russia, which will switch from +06 to +07 on the same date
     and local time.  Also, Asia/Sakhalin moves from +10 to +11 on 2016-03-27
     at 02:00.  (Thanks to Alexander Krivenyshev for the heads-up, and to
     Matt Johnson and Stepan Golosunov for followup.)

     As a trial of a new system that needs less information to be made up,
     the new zones use numeric time zone abbreviations like "+04"
     instead of invented abbreviations like "ASTT".

     Haiti will not observe DST in 2016.  (Thanks to Jean Antoine via
     Steffen Thorsen.)

     Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00.
     (Thanks to Hannah Kreitem.) Guess future transitions will be March's last
     Saturday at 01:00, not March's last Friday at 24:00.

Changes affecting past time stamps

     Europe/Chisinau observed DST during 1990, and switched from +04 to
     +03 at 1990-05-06 02:00, instead of switching from +03 to +02.
     (Thanks to Stepan Golosunov.)

     1991 abbreviations in Europe/Samara should be SAMT/SAMST, not
     KUYT/KUYST.  (Thanks to Stepan Golosunov.)

(From OE-Core rev: d3ab7005f0c899da9f9f132b22861bd5d4f952ba)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzcode: update to 2016b
Armin Kuster [Fri, 18 Mar 2016 21:43:17 +0000 (14:43 -0700)] 
tzcode: update to 2016b

change SRC_URI http seems more reliable

Changes to code

     tzselect's diagnostics and checking, and checktab.awk's checking,
     have been improved.  (Thanks to J William Piggott.)

     tzcode now builds under MinGW.  (Thanks to Ian Abbott and Esben Haabendal.)

     tzselect now tests Julian-date TZ settings more accurately.
     (Thanks to J William Piggott.)

Changes to commentary

     Comments in zone tables have been improved.  (Thanks to J William Piggott.)

     tzselect again limits its menu comments so that menus fit on a
     24x80 alphanumeric display.

     A new web page tz-how-to.html.  (Thanks to Bill Seymour.)

     In the Theory file, the description of possible time zone abbreviations in
     tzdata has been cleaned up, as the old description was unclear and
     inconsistent.  (Thanks to Alain Mouette for reporting the problem.)

(From OE-Core rev: 0c4816c1f723951179988a274f236f28fe4db20f)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoffmpeg: Remove RSUGGEST=mplayer
Mike Looijmans [Sat, 19 Mar 2016 09:12:50 +0000 (10:12 +0100)] 
ffmpeg: Remove RSUGGEST=mplayer

This line causes 'mplayer' to be built unless one explicitly removes it.
There are plenty uses for ffmpeg that don't involve a player, so the
"suggestion" doesn't make sense.

(From OE-Core rev: 40277e5d98a0fd0abd98d7e6b140553633b46e48)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-tools: Remove lttng-ust from PACKAGECONFIG for musl
Khem Raj [Sat, 19 Mar 2016 09:13:42 +0000 (09:13 +0000)] 
lttng-tools: Remove lttng-ust from PACKAGECONFIG for musl

Remove lttng-ust from DEPENDS its added by PACKAGECONFIG anyway

(From OE-Core rev: b19b929f3412372e200258423d3280a714c86cda)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup: Disable packages not available on musl
Khem Raj [Sat, 19 Mar 2016 09:13:41 +0000 (09:13 +0000)] 
packagegroup: Disable packages not available on musl

They otherwise get pulled into world builds via dependencies
even when they are excluded from world globally

(From OE-Core rev: d758a4445a42405cb3f317c07ad48456cdc4d9f4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoworld-broken: Add packages broken on musl
Khem Raj [Sat, 19 Mar 2016 09:13:40 +0000 (09:13 +0000)] 
world-broken: Add packages broken on musl

These 14 packages are failing aross all architectures
on musl targets.

(From OE-Core rev: e93f5f7c15cd46a38f2e6b1b1d96cd81880f030a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agositeinfo: Move apr configure cache to common-linux
Khem Raj [Sat, 19 Mar 2016 09:13:39 +0000 (09:13 +0000)] 
siteinfo: Move apr configure cache to common-linux

There are variables which are used in all target specific
sitefiles. Move it to common-linux, so it can be effective
for all targets. Usually they will vary based upon libc
e.g. musl does not have process shared mutexes so apr_cv_process_shared_works
should be no for it. For glibc though it should be yes but
existing behaviour is to use 'no' so its left as it is.

(From OE-Core rev: 2c5135f2106842e1b5ef880a08dbd4e50c9e0d04)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoparselogs: add new whitelist entries to address 4.4.3 issues
Saul Wold [Fri, 18 Mar 2016 17:40:01 +0000 (10:40 -0700)] 
parselogs: add new whitelist entries to address 4.4.3 issues

This message appears on older hardware and is a benign warning

[YOCTO #9179]

(From OE-Core rev: e941853e3dd9e498dcf486686d30cd07d65d83fb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agou-boot: Upgrade to 2016.03 release
Otavio Salvador [Fri, 18 Mar 2016 18:39:34 +0000 (15:39 -0300)] 
u-boot: Upgrade to 2016.03 release

The 2016.03 release has been announced in March 14th. This
incorporates a lot of bug fixes and improvements which are useful for
any new embedded development.

Along with the upgrade of U-Boot and its related recipes, this patch
also drops the AM335x environment fix which has been merged into the
release.

(From OE-Core rev: 15130f7bad0f0a1894c34bbb34a547722552c69e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrub: add -Wno-error=trampolines to native CFLAGS
Bill Randle [Fri, 18 Mar 2016 18:16:27 +0000 (11:16 -0700)] 
grub: add -Wno-error=trampolines to native CFLAGS

(Resend as mailer munged previous submission. Also updated comments
to indicate problem is not limited to gcc 5.3.0.)

Adds -Wno-error=trampolines to native CFLAGS prevent multiple compile
errors when using gentoo builf of gcc.

[YOCTO #9201]

(From OE-Core rev: c2450e4fd01487aaf5bb37a4c70a5397650ba5f8)

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodhcpd: create dhcpd user for dhcp dameon
Alexandru Moise [Fri, 18 Mar 2016 12:21:25 +0000 (14:21 +0200)] 
dhcpd: create dhcpd user for dhcp dameon

This patch enables the functionality for dhcpd service to be started
with dhcp uid and gid.

Test steps:

Step 1: Assign ip to interface
ifconfig eth0 192.168.1.1

Step 2: Edit /etc/dhcp/dhcpd.conf:
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
subnet 192.168.1.0 netmask 255.255.255.0 {
        option broadcast-address 192.168.1.255;
        range 192.168.1.88 192.168.1.88;
        option routers 192.168.1.0;
}

Step 3: Edit /etc/default/dhcp-server:
INTERFACES="eth0"

Step 4: Check uid and gid of running dhcpd process
$ ps -eo user:19,group:19,cmd | grep dhcpd
dhcp        dhcp        /usr/sbin/dhcpd eth0 -user dhcp -group dhcp

(From OE-Core rev: 36d59255131f6d3f289d4f5dfcb58a9890996ffe)

Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agovalgrind: fix buildpath QA issue
Hongxu Jia [Fri, 18 Mar 2016 09:01:46 +0000 (05:01 -0400)] 
valgrind: fix buildpath QA issue

Pass DEBUG_FLAGS to SELECTED_OPTIMIZATION which fixes build
path issue in DWARF.

[YOCTO #8457]

(From OE-Core rev: 7b75303e6df5d685c1b50c53c53af3962d6b3722)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-5.3/gcc-4.9:Reuse -fdebug-prefix-map to replace -ffile-prefix-map
Hongxu Jia [Fri, 18 Mar 2016 09:01:44 +0000 (05:01 -0400)] 
gcc-5.3/gcc-4.9:Reuse -fdebug-prefix-map to replace -ffile-prefix-map

The oe-core may use external toolchain for compiling,
which did not support -ffile-prefix-map.

Since we use -fdebug-prefix-map to do the same thing,
so we could reuse it to replace -ffile-prefix-map.

[YOCTO #7058]

(From OE-Core rev: cec9ee4d32d96e8717f63268a00888260eae1b30)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-5.3/gcc-4.9:replace build path with target path in __FILE__
Hongxu Jia [Fri, 18 Mar 2016 09:01:43 +0000 (05:01 -0400)] 
gcc-5.3/gcc-4.9:replace build path with target path in __FILE__

Similar -fdebug-prefix-map, add option -ffile-prefix-map to map one
directory name (old) to another (new) in __FILE__, __BASE_FILE__and
__builtin_FILE ().

With this patch, it fixes build path issue which caused by __FILE__.
We do not need to use relative path to compile any more.

[YOCTO #7058]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268

(From OE-Core rev: 5e3dd820df41ab032893497a9ccea2160c07fe66)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-buildenv-internal: Some clean up
Peter Kjellerstedt [Tue, 15 Mar 2016 16:58:07 +0000 (17:58 +0100)] 
oe-buildenv-internal: Some clean up

* Consistent indentation (four spaces)
* Use [ -z ...] and [ -n ... ] where possible
* Unset temporary variables
* Use $(...) instead of `...`
* Avoid an unnecessary call to expr

(From OE-Core rev: 791eec016792c3f4c04b12ae6ff93c1e23266f87)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-buildenv-internal: Add variables individually to BB_ENV_EXTRAWHITE
Peter Kjellerstedt [Tue, 15 Mar 2016 16:53:31 +0000 (17:53 +0100)] 
oe-buildenv-internal: Add variables individually to BB_ENV_EXTRAWHITE

Instead of adding all variables to BB_ENV_EXTRAWHITE as one, treat
them separately and add them one by one as needed.

(From OE-Core rev: 516b63fd9dea6fcc304fca920206467d2565dede)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-buildenv-internal: Add paths to $PATH individually
Peter Kjellerstedt [Tue, 15 Mar 2016 16:48:53 +0000 (17:48 +0100)] 
oe-buildenv-internal: Add paths to $PATH individually

Instead of assuming that the path to the scripts directory always is
in $PATH directly before the bitbake directory, treat them as separate
paths and add them individually to $PATH.

(From OE-Core rev: 5b9e91a3b1d4f56c8646d7d7937ab453cc9c40a0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-init-build-env*: Make them actually return failures
Peter Kjellerstedt [Thu, 17 Mar 2016 09:56:28 +0000 (10:56 +0100)] 
oe-init-build-env*: Make them actually return failures

If either of the internal scripts (oe-buildenv-internal and
oe-setup-builddir) failed, oe-init-build-env (and
oe-init-build-env-memres) would still return success.

(From OE-Core rev: 40764c7039f1ee161916d4fbf7dfe15fb964030e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-init-build-env*: Remove unnecessary differences between the scripts
Peter Kjellerstedt [Tue, 15 Mar 2016 15:04:11 +0000 (16:04 +0100)] 
oe-init-build-env*: Remove unnecessary differences between the scripts

While at it, also fix:
* consistent indentation (four spaces)
* unset temporary variables
* use $(...) instead of `...`

(From OE-Core rev: 1295d413f27941d0763a3d58982378738bf3ca06)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-init-build-env*: Update/correct comment about specifying arguments
Peter Kjellerstedt [Tue, 15 Mar 2016 15:01:53 +0000 (16:01 +0100)] 
oe-init-build-env*: Update/correct comment about specifying arguments

(From OE-Core rev: 9c7e3cfcff08bd47b0c1eeb63d8055d8a8b12935)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-init-build-env*: Allow $OEROOT to be predefined
Peter Kjellerstedt [Tue, 15 Mar 2016 14:41:02 +0000 (15:41 +0100)] 
oe-init-build-env*: Allow $OEROOT to be predefined

The current implementation of oe-init-build-env and
oe-init-build-env-memres requires that they are sourced from the
directory that will be known as $OEROOT. This makes it hard to write a
wrapper script with the same name as the original OE script which,
e.g., sources the original OE script from a sub-directory.

With this change, $OEROOT can be predefined when oe-init-build-env or
oe-init-build-env-memres is sourced, allowing the original OE scripts
to be anywhere.

(From OE-Core rev: 3327e2a9222004d8ac7974cb1d9fe77c81176cfc)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobluez5: allow D-Bus to spawn obexd in systems without systemd
Javier Viguera [Wed, 24 Feb 2016 18:12:21 +0000 (19:12 +0100)] 
bluez5: allow D-Bus to spawn obexd in systems without systemd

This includes a proper D-Bus service file for obexd in systems that do
not support systemd.

(From OE-Core rev: 75c5dc8d4a5506bf5b89292a96c7b9f91e9d71c8)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa: remove RPM 4 self test
Joshua Lock [Mon, 14 Mar 2016 14:37:00 +0000 (14:37 +0000)] 
oeqa: remove RPM 4 self test

We're dropping RPM 4 as it's not well maintained, therefore remove
a selftest which tests RPM 4 availability.

(From OE-Core rev: ed005dd51c121c27a89a878bfc6abfca496bf51c)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/package_manager: remove RPM4 support code
Joshua Lock [Fri, 11 Mar 2016 14:07:31 +0000 (14:07 +0000)] 
lib/package_manager: remove RPM4 support code

Simplify the RPM code by removing support for RPM 4 now that we've
dropped the RPM 4 recipe.

(From OE-Core rev: 7db6f0a402948ce489bafadf2e389802f764f122)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosmartpm: remove rpm4 patch
Joshua Lock [Fri, 11 Mar 2016 14:07:30 +0000 (14:07 +0000)] 
smartpm: remove rpm4 patch

The RPM4 support we added to SMART doesn't appear to work, remove
it as part of the removal of RPM4 from OE-Core.

Refresh the smart-add-for-rpm-ignoresize-check.patch which was
applied after smart-rpm4-fixes.patch and doesn't apply cleanly once
that patch is removed.

(From OE-Core rev: e1108fa41742e726aa578d0298fa6397b2663ff3)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: remove RPM 4
Joshua Lock [Fri, 11 Mar 2016 14:07:29 +0000 (14:07 +0000)] 
rpm: remove RPM 4

RPM4 support is buggy and incomplete. As we don't have the
resources or interest to maintain it this patch removes it.

(From OE-Core rev: a6e7a86f1635be9a688c56c25e9d215ea4d2cc84)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrub: fix documentation rebuilds
Ross Burton [Fri, 18 Mar 2016 14:40:32 +0000 (14:40 +0000)] 
grub: fix documentation rebuilds

If the documentation needs to rebuild then it will fail as the syntax isn't
valid with modern texinfo.  Backport a patch from git to fix the syntax.

[ YOCTO #9306 ]

(From OE-Core rev: f59263a2d1a4918e8dd12fcf968a826b3e8fa018)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-selftest: Fixed --list-tests-by tag option
Daniel Istrate [Fri, 18 Mar 2016 13:18:09 +0000 (15:18 +0200)] 
oe-selftest: Fixed --list-tests-by tag option

Commit 35be67951305950ba797dc2efddbc7d88fc0556a broke the
--list-tests-by tag option.
This patch fixes that.

Having a module in lib/oeqa/selftest named testmodule:
class TestClass(oeSelfTest):
    @tag(feature='tag1')
    def test_func1(self):
        pass
    @tag(feature=('tag1', 'tag2'))
    def test_func2(self):
        pass
    @tag(feature=('tag2', 'tag3'))
    def test_func3(self):
        pass
    @tag(feature=('tag1', 'tag2', 'tag3'))
    def test_func4(self):
        pass

$ oe-selftest --list-tests-by tag tag1
 ID  TAG(s)            NAME        CLASS      MODULE
----  ----------------  ----------  ---------  --------
      tag1              test_func1  TestClass  testmodule
      tag1, tag2        test_func2  TestClass  testmodule
      tag1, tag2, tag3  test_func4  TestClass  testmodule
______________________________
Filtering by:  tag
Looking for:  tag1
Total found:  3

$  oe-selftest --list-tests-by tag tag1 tag2
  ID  TAG(s)            NAME        CLASS      MODULE
----  ----------------  ----------  ---------  --------
      tag1              test_func1  TestClass  testmodule
      tag1, tag2        test_func2  TestClass  testmodule
      tag1, tag2, tag3  test_func4  TestClass  testmodule
      tag2, tag3        test_func3  TestClass  testmodule
______________________________
Filtering by:  tag
Looking for:  tag1, tag2
Total found:  4

$ oe-selftest --list-tests-by tag tag*
  ID  TAG(s)            NAME        CLASS      MODULE
----  ----------------  ----------  ---------  --------
      tag1              test_func1  TestClass  testmodule
      tag1, tag2        test_func2  TestClass  testmodule
      tag1, tag2, tag3  test_func4  TestClass  testmodule
      tag2, tag3        test_func3  TestClass  testmodule
______________________________
Filtering by:  tag
Looking for:  tag*
Total found:  4

(From OE-Core rev: 28c1cffacf341ad64a5b68d8a0176f92b49135c0)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-runtime.inc: set LICENSE for all gcc-runtime packages
Andre McCurdy [Fri, 18 Mar 2016 13:13:26 +0000 (06:13 -0700)] 
gcc-runtime.inc: set LICENSE for all gcc-runtime packages

LICENSE_${PN} doesn't apply to all gcc-runtime packages. Set LICENSE
instead. Without this fix, gcc-runtime packages such as libstdc++ are
excluded from rootfs for builds which blacklist GPLv3.

(From OE-Core rev: 9406a8ab8fd166b9d90b33b84b6d44f8672ab623)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoParaTypeFFL-1.3: Add license file
Ioan-Adrian Ratiu [Fri, 18 Mar 2016 10:34:19 +0000 (12:34 +0200)] 
ParaTypeFFL-1.3: Add license file

The ParaType Free Font License is used by various fonts, out of which a
recipe will be added to meta-openembedded for ttf-pt-sans.

(From OE-Core rev: 02596f8d3b3cd8fe8849e627f65e6803f16d204f)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoexternalsrc: use shared stamp directory if B=S
Markus Lehtonen [Fri, 18 Mar 2016 07:41:51 +0000 (09:41 +0200)] 
externalsrc: use shared stamp directory if B=S

We have a common build directory for all target architectures if
externalsrc is used and ${B}=${S}. In this case we also need to have a
common stamp directory. The reason is that e.g. changing MACHINE will
basically "invalidate" the artefacts in ${B} (wrt. to the new MACHINE)
but old stamp files with matching hashes from an earlier build might be
available in the machine-specific stamps directory and tasks would not
be correctly re-run.

Previous attempt in f44f12af346888bdeb3ae01a275cb5dd4396b505 to handle
this correctly was faulty as it threw some spurious warnings and caused
do_configure to be re-run in every build if that would not be necessary.

[YOCTO #8950]
[YOCTO #9237]

(From OE-Core rev: f5031fb37ceef83c85f0dfec773da75c05b2a631)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: fix error when 'lua' is enabled
Chen Qi [Fri, 18 Mar 2016 05:20:47 +0000 (13:20 +0800)] 
rpm: fix error when 'lua' is enabled

Fix the following compilation error when 'lua' is enabled in PACKAGECONFIG.

  | gcc: error: lib21.c: No such file or directory
  | gcc: fatal error: no input files

Modify FILES for dev package to avoid installed-not-shipped error.

(From OE-Core rev: 6b43539e6624113acbcd06b11cfe8cfe6586244f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomatchbox-keyboard: Update to latest HEAD to fix 64bit issue
Saul Wold [Thu, 17 Mar 2016 20:16:17 +0000 (13:16 -0700)] 
matchbox-keyboard: Update to latest HEAD to fix 64bit issue

This brings us to the current HEAD and adds the following patches:

ebc330e Saul Wold matchbox-keyboard-ui.c: Fix int -> long to address 32bit vs 64 bit addressing
8063096 Khem Raj config-parser: Use matching printf format

[YOCTO #9254]

(From OE-Core rev: 8e84211e06e0612359b73c311dbaed8f70230f3b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest/buildoptions: test read-only-rootfs
Ross Burton [Thu, 17 Mar 2016 22:09:25 +0000 (22:09 +0000)] 
oeqa/selftest/buildoptions: test read-only-rootfs

Add a test to build core-image-sato with read-only-rootfs enabled.

[ YOCTO #9214 ]

(From OE-Core rev: c23dc788386a8d3636f7f656667dc87052cf73d9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest/sstatetests: verify more variables don't impact the hash
Ross Burton [Thu, 17 Mar 2016 21:16:39 +0000 (21:16 +0000)] 
oeqa/selftest/sstatetests: verify more variables don't impact the hash

Add DL_DIR and TIME to the hash tests.  We can't add DATE for some reason.

(From OE-Core rev: 206a95065628a839c589452de7aa646c90e02f5d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogobject-introspection.bbclass: wrap comments at 80 columns
Andre McCurdy [Thu, 17 Mar 2016 17:19:27 +0000 (10:19 -0700)] 
gobject-introspection.bbclass: wrap comments at 80 columns

Whitespace and comment updates only, no functional changes.

(From OE-Core rev: 738393ea98baec364d3da117a1307a39d348b660)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemuarm64.conf: don't clear MACHINE_FEATURES
Andre McCurdy [Thu, 17 Mar 2016 17:19:26 +0000 (10:19 -0700)] 
qemuarm64.conf: don't clear MACHINE_FEATURES

Accept the default MACHINE_FEATURES from qemu.inc (qemuarm64
shouldn't need to be a special case).

(From OE-Core rev: e26718f8c048315e2ab819bc60566061f6ced420)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity.bbclass: allow customizing config file update error messages
Patrick Ohly [Thu, 17 Mar 2016 16:00:57 +0000 (17:00 +0100)] 
sanity.bbclass: allow customizing config file update error messages

The default file pattern may be amiguous and "meld" might not always
be the preferred tool, so allow distros to override those parts of the
error messages.

(From OE-Core rev: 98fc50436dfa5d0e5bee0930154a5563ffc8151d)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity.bbclass: fix success message when config file was updated
Patrick Ohly [Thu, 17 Mar 2016 16:00:56 +0000 (17:00 +0100)] 
sanity.bbclass: fix success message when config file was updated

The code now iterates over different config files, but always printed a
message about conf/bblayers.conf for each file.

(From OE-Core rev: af55727fc1920c4c23476304f57a3720835ec203)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>