]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agomesa: Upgrade 17.3.6 -> 17.3.7
Otavio Salvador [Wed, 21 Mar 2018 18:49:05 +0000 (15:49 -0300)] 
mesa: Upgrade 17.3.6 -> 17.3.7

This version has been published at March 21, 2018, and it is a bugfix
only release. It includes several important fixes that were made as
part of 18.0.0 development cycle.

Full list of bug fixes can be see online at:

 https://www.mesa3d.org/relnotes/17.3.7.html

(From OE-Core rev: 3601c079e15f3570b9b90cd8775e4e90175d1bb5)

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>
7 years agokernel-dev: Clean up of "bsp_name" placeholder.
Scott Rifenbark [Thu, 22 Mar 2018 16:15:49 +0000 (09:15 -0700)] 
kernel-dev: Clean up of "bsp_name" placeholder.

This string is now being presented as "bsp_root_name" in the YP
manual set.  A BSP name is essentially "meta-bsp_root_name".
It was being presented in the manual set as "meta-bsp_name",
which is not technically correct.

(From yocto-docs rev: 9ad25836b2b3ca79aa3430be014871f50205cf9e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Updated BSP terminolgy and BBLAYERS ordering
Scott Rifenbark [Wed, 21 Mar 2018 16:04:24 +0000 (09:04 -0700)] 
bsp-guide: Updated BSP terminolgy and BBLAYERS ordering

Fixed the way we refer to a BSP name.  It is really
"meta-<bsp_root_name>" rather than "meta-<bsp_name>".  The
name is the whole string and not just the root name.

Also added a tip on ordering the layers in the BBLAYERS
variable in the bblayers.conf file.  Order is important.

(From yocto-docs rev: 9c56238295f5631c496377616ea98b860253e6f7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Added term "container layer"
Scott Rifenbark [Wed, 21 Mar 2018 15:27:20 +0000 (08:27 -0700)] 
ref-manual: Added term "container layer"

This is a layer that contains other layers

(From yocto-docs rev: 0cd1881c18e8a63d5f2f078b03fe4e89fd9c75b5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Cleaned up layer naming terminology
Scott Rifenbark [Wed, 21 Mar 2018 14:30:14 +0000 (07:30 -0700)] 
dev-manual: Cleaned up layer naming terminology

Reality dictates that the YP does not treat layer naming consistently.
Layers are talked about as the "meta-whatever" layer and never the
"whatever" layer.  However, the tooling sometimes appends or uses
just the "whatever" part of the layer name.  A good example is the
meta-yocto-bsp configuration file.  All the variables in there use
just the root name of a layer's name.  In the manuals, I had been
distinguishing the layer name as just the "whatever" part sans
"meta-".  I talked about the convention of using "meta-" in front
of layer names, etc.  Well, this is confusing in light of how everyone
says a layer's name is "meta-whatever".  So, I fixed all this up.

(From yocto-docs rev: 79e52f6ccf4246fc69a460ce9d3a4a18720a9442)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Updated the section on creating a general script
Scott Rifenbark [Tue, 20 Mar 2018 23:15:16 +0000 (16:15 -0700)] 
documentation: Updated the section on creating a general script

Split this section into two sections: one for creating the layer
using bitbake-layers create-layer and one for adding the layer
to bblayers.conf using bitbake-layers add-layer.

Needed to update some references in the yocto-project-qs and
kernel-dev manuals.

(From yocto-docs rev: 741a29b0cbeaaeaa0ac9155036ace2623938aee3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Created tip for using server outside of build area
Scott Rifenbark [Tue, 20 Mar 2018 19:16:55 +0000 (12:16 -0700)] 
dev-manual: Created tip for using server outside of build area

Fixes [YOCTO #12419]

In the section on runtime package management, I created a "Tip"
box to tell the user about using a location for the package
index information outside of the "deploy" area of the hosts
build directory.

(From yocto-docs rev: 2aee814d3d3ed4052fca332693d5416907ae640e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Updates to the section on creating a layer
Scott Rifenbark [Tue, 20 Mar 2018 18:25:07 +0000 (11:25 -0700)] 
dev-manual: Updates to the section on creating a layer

Provided some key links to help clarify content.

(From yocto-docs rev: 8d27b9946dad89729d30497bcc4de26b9a5c87d9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Sanity edit through the layer creation section
Scott Rifenbark [Tue, 20 Mar 2018 15:55:28 +0000 (08:55 -0700)] 
dev-manual: Sanity edit through the layer creation section

(From yocto-docs rev: 91cda82ca148c56c18f059eeaa656d3561aed26d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Completed rewrite of runtime package management
Scott Rifenbark [Mon, 19 Mar 2018 19:37:09 +0000 (12:37 -0700)] 
dev-manual: Completed rewrite of runtime package management

Fixes [YOCTO #12419]

This section was unclear and needed some work.  I added text to
help clear things up.

(From yocto-docs rev: 54358a39a5710dbd0cbcfe8dafd2f641ec3863ef)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Updated PACKAGES_FEED_ARCHS variable
Scott Rifenbark [Tue, 20 Mar 2018 16:04:55 +0000 (09:04 -0700)] 
ref-manual: Updated PACKAGES_FEED_ARCHS variable

Added the fact that this variable is really optional.  If  you
don't use it then you are setting up a package feed URI that
will include all supported arcchitectures for the package.
Using it means you are setting up specific URIs for specific
architectures.

Added a "Tip" note box to show how you can use the variable
to whitelist architectures.

(From yocto-docs rev: 009f3551aa61aaf6459fd24105a2e06511b59da3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Updated the IMAGE_INSTALL variable description.
Scott Rifenbark [Sat, 17 Mar 2018 00:36:57 +0000 (17:36 -0700)] 
ref-manual: Updated the IMAGE_INSTALL variable description.

I created a two-bullet "Caution" note to highlight the stuff a
user needs to be aware of that can cause problems.

(From yocto-docs rev: 553bc13e5fd350adb15400afe170e587965929db)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Review edits to the kernel layer.
Scott Rifenbark [Tue, 13 Mar 2018 18:03:02 +0000 (11:03 -0700)] 
bsp-guide: Review edits to the kernel layer.

Minor corrections.

(From yocto-docs rev: f7fa509b461d4b187f7f91c184b2de3c619de5a3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoyocto-project-qs: Added "cd poky" step after cloning example.
Scott Rifenbark [Mon, 12 Mar 2018 18:46:49 +0000 (11:46 -0700)] 
yocto-project-qs: Added "cd poky" step after cloning example.

(From yocto-docs rev: 3a05201aabc4633ffead17a01ed36cd25529595e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started: Review updates for minor wordings and links
Scott Rifenbark [Mon, 12 Mar 2018 18:35:00 +0000 (11:35 -0700)] 
getting-started: Review updates for minor wordings and links

(From yocto-docs rev: 51dc5dd5362a8e6d6d558a566554bec34764227f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Removed deprecated tool sections
Scott Rifenbark [Fri, 9 Mar 2018 21:11:53 +0000 (13:11 -0800)] 
bsp-guide: Removed deprecated tool sections

I took out the sections at the end of the manual that talked
about the yocto-kernel tool.  This tool is no longer maintained
and there is no equivalent tool.  I also fixed the yocto-bsp
tool to be the bitbake-layers tool.  This involved some
consolidation of sections.

I fixed some links in the kernel-dev and toaster-manual.

(From yocto-docs rev: 20cda99b301b6327d816c4a4cfb3511ad25c987c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Minor edits to the licensing section.
Scott Rifenbark [Thu, 8 Mar 2018 21:43:53 +0000 (13:43 -0800)] 
bsp-guide: Minor edits to the licensing section.

(From yocto-docs rev: a7d13e2e9f9a947e65f969422202f04784724063)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Updates to Reqs and Recommeds for released BSPs
Scott Rifenbark [Thu, 8 Mar 2018 20:10:22 +0000 (12:10 -0800)] 
bsp-guide: Updates to Reqs and Recommeds for released BSPs

Updated this section with minor edits.

(From yocto-docs rev: 1bc1dcda5fbab4a66737653164222f4fc5a7289c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Updated the section on developing a BSP
Scott Rifenbark [Thu, 8 Mar 2018 19:15:51 +0000 (11:15 -0800)] 
bsp-guide: Updated the section on developing a BSP

This section had several out-of-date items.  They are all up
to date now.

(From yocto-docs rev: 247f3eceeccc645a1b556aea433d4cf66399e962)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Fixed link to section.
Scott Rifenbark [Thu, 8 Mar 2018 18:29:22 +0000 (10:29 -0800)] 
bsp-guide: Fixed link to section.

Wrong title used in link.

(From yocto-docs rev: aa42a8752af97aaa4f16c89059eef63700ea48f4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Updated BSP development flow figure.
Scott Rifenbark [Thu, 8 Mar 2018 18:28:42 +0000 (10:28 -0800)] 
bsp-guide: Updated BSP development flow figure.

This figure was out of date.

(From yocto-docs rev: 8b649ab3c4667a45f263818c2532b18f2dae9464)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Scrubbed the BSP structure section.
Scott Rifenbark [Thu, 8 Mar 2018 17:22:40 +0000 (09:22 -0800)] 
bsp-guide: Scrubbed the BSP structure section.

Made changes to sync the raspberrypi BSP example to what is
really in the source directories.  It was pretty out of date.

Made some minor edits to the sections describing the framework
of the BSP.

(From yocto-docs rev: b222d0988cb365cb1943ee1857e5cfd6b9fe173a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Edits to "Preparing Your Build Host to Work with BSP Layers"
Scott Rifenbark [Thu, 8 Mar 2018 00:24:26 +0000 (16:24 -0800)] 
bsp-guide: Edits to "Preparing Your Build Host to Work with BSP Layers"

Applied some edits to make the section more up-to-date.  Dumped
minnow as a BSP example for raspberrypi.

(From yocto-docs rev: a40515bad28d07d736e1ddd1832c19b074749d53)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: General edits to "BSP Layers" section
Scott Rifenbark [Thu, 8 Mar 2018 00:05:02 +0000 (16:05 -0800)] 
bsp-guide: General edits to "BSP Layers" section

Added more relevant information around the discussion of BSP
layers.

(From yocto-docs rev: 8ca439b0bbfdcf390edb723fd12e8a00d90024e3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Updated example output for creating layer
Scott Rifenbark [Wed, 7 Mar 2018 20:51:58 +0000 (12:51 -0800)] 
dev-manual: Updated example output for creating layer

The example that creates a layer using bitbake-layers had old
output.  Updated it.

(From yocto-docs rev: c58d738a59f113f8fffe0fc40b22e06b9d96cb6f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Review edits to manual upgrades for recipes.
Scott Rifenbark [Wed, 7 Mar 2018 20:38:12 +0000 (12:38 -0800)] 
dev-manual: Review edits to manual upgrades for recipes.

(From yocto-docs rev: 05307788395cb16af95e89592bda070be6c1a397)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoyocto-project-qs: Replaced AUH red-text with real cross-reference.
Scott Rifenbark [Wed, 7 Mar 2018 20:19:34 +0000 (12:19 -0800)] 
yocto-project-qs: Replaced AUH red-text with real cross-reference.

This reference to tools to help upgrade now exists with the
creation of the section in the dev-manual that talks about how to
upgrade recipes.  I converted the bullet item here in the QS to
point to the actual section.

(From yocto-docs rev: b3d8895fefb99799a7c06abff5cc1604530ee36a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Added section on manually upgrading recipes
Scott Rifenbark [Wed, 7 Mar 2018 20:08:00 +0000 (12:08 -0800)] 
dev-manual: Added section on manually upgrading recipes

(From yocto-docs rev: b5515ad6f4b5653095e338114607dd11a11181df)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started, dev-manual: Updated verbiage around new YP website.
Scott Rifenbark [Tue, 6 Mar 2018 22:53:57 +0000 (14:53 -0800)] 
getting-started, dev-manual: Updated verbiage around new YP website.

(From yocto-docs rev: 033c7771ff1dfabf9f6ef9b6cb88a18f471e0c76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started, mega-manual: Updated YP website page image.
Scott Rifenbark [Tue, 6 Mar 2018 22:53:24 +0000 (14:53 -0800)] 
getting-started, mega-manual: Updated YP website page image.

(From yocto-docs rev: 7c0d710a20246c305a0131f030696b036b950774)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Updates to the devtool upgrade flow section.
Scott Rifenbark [Tue, 6 Mar 2018 21:59:44 +0000 (13:59 -0800)] 
sdk-manual: Updates to the devtool upgrade flow section.

Did some rewriting to add some references to other sections
in the manual set.  Did some other minor clean up.

(From yocto-docs rev: 7e7be31e96a0e73e230b8596b2431716f254e027)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Updated devtool sections
Scott Rifenbark [Tue, 6 Mar 2018 21:11:06 +0000 (13:11 -0800)] 
ref-manual: Updated devtool sections

Updated the devtool add -h output.
Updated the devtool --help output.
Fixed wording for the "attic" file associated with the figure
  of the workspace area.

(From yocto-docs rev: bc53d9a1236ba2545c112256e886729b08b507de)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Updated the section on devtool upgrade
Scott Rifenbark [Tue, 6 Mar 2018 20:52:00 +0000 (12:52 -0800)] 
ref-manual: Updated the section on devtool upgrade

Provided a bit of rationale on why and when you use this command.
Put in several links to help the reader get to related areas where
command use is explained.

(From yocto-docs rev: 7b30f29bfa15dd15f1388bb856e2047be55e7fb9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Added section on upgrading recipes.
Scott Rifenbark [Thu, 1 Mar 2018 20:37:29 +0000 (12:37 -0800)] 
dev-manual: Added section on upgrading recipes.

Section covers AUH, devtool and manual.  Still need to add
manual.

(From yocto-docs rev: 56f04b1fcc8673e20df6d8f5c65120b03cad31e7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogetting-started, mega-manual: Updated two figures
Scott Rifenbark [Thu, 1 Mar 2018 20:59:49 +0000 (12:59 -0800)] 
getting-started, mega-manual: Updated two figures

Had to update the umbrella YP figure and the Poky figure.  The
figures changed on the website so this gets them back in sync.

(From yocto-docs rev: f7f1a689a847ab4a01106eadacfccb4bec6c4b01)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodistcc: Change SRC_URI
Armin Kuster [Fri, 23 Mar 2018 05:04:46 +0000 (22:04 -0700)] 
distcc: Change SRC_URI

ERROR: distcc-3.2-r0 do_fetch: Fetcher failure: Unable to find revision d8b18df3e9dcbe4f092bed565835d3975e99432c in branch 3.2 even from upstream
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/distcc/distcc.git;branch=3.2'. Unable to fetch URL from any source.
ERROR: distcc-3.2-r0 do_fetch: Function failed: base_do_fetch

[v2]
upstream deleted the branch and the hash no longer exists.

Took the git snapshot from yocto and created a copy on my github.
There was no offical 3.2 release, only rc versions.

(From OE-Core rev: aee44c6b1c36fb1c1f760fec60087933d1e8ea79)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowaf.bbclass: Throw error if waf doesn't exist
Amanda Brindle [Thu, 22 Mar 2018 19:12:15 +0000 (12:12 -0700)] 
waf.bbclass: Throw error if waf doesn't exist

Before, waf.bbclass would fail to catch FileNotFoundError. Now, it will
catch this error and say that waf doesn't exist.

Fixes [YOCTO 12553]

(From OE-Core rev: f8321dedec7abe392f7e49ff8eee0640463adae5)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoreproducible_build.bbclass: support for binary reproducibility
Juro Bystricky [Tue, 20 Mar 2018 22:34:19 +0000 (15:34 -0700)] 
reproducible_build.bbclass: support for binary reproducibility

Setup environment for builds requiring binary reproducibility.
Determine and export SOURCE_DATE_EPOCH per each recipe.
This is a crucial step to achieve binary reproducibility.
The value for this variable (timestamp) is obtained after source code for
a recipe has been unpacked, but before it is patched. If the code sources
come from a GIT repo, we get the timestamp from the top commit. (GIT repo
does not preserve file mktime timestamps). Otherwise, if GIT repo is not
present, we try to get mtime from known files such as NEWS, ChangeLog, etc.
If this also fails, we go through all files and get the timestamp from the
youngest one. We create an individual timestamp for each recipe.
The timestamp is stored in the file '__source_date_epoch.txt' (in the folder
source-date-epoch_). Later on, each task reads this file and sets
the exported value of SOURCE_DATE_EPOCH to the value found in the file.

Uasge:

INHERIT += "reproducible_build"

[YOCTO#11178]
[YOCTO#11179]

(From OE-Core rev: cc438ac7711dedbe05d654e99af9316c9215b02e)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: link udev statically with systemd internal libraries
Alexander Kanavin [Thu, 22 Mar 2018 13:47:37 +0000 (15:47 +0200)] 
systemd: link udev statically with systemd internal libraries

This was the default behavior with autotools, but is not with meson.
Otherwise, udev package will pull in the rest of systemd even
that is not desired.

[YOCTO #12618]

(From OE-Core rev: 7409d2d48b69adcdf039fb4aa8bd9ed62460daa9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: change PACKAGECONFIG 'resolve' back to 'resolved'
Chen Qi [Thu, 22 Mar 2018 07:34:18 +0000 (15:34 +0800)] 
systemd: change PACKAGECONFIG 'resolve' back to 'resolved'

When systemd was upgraded from 234 to 237, the PACKAGECONFIG item
'resolved' is changed to 'resolve', this is because meson_options.txt
uses the word 'resolve' instead of 'resolved'.

However, this causes trouble for users. Backward compatibility is obviously
more important, because we might have bbappend files in other layers
using this PACKAGECONFIG item.

So change the name back to 'resolved'.

(From OE-Core rev: da7fc569e547b4105b00c11a0b41b70230bacc50)

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>
7 years agoexternalsrc: do not call make clean for recipes with CLEANBROKEN = "1" set
Andreas Müller [Wed, 21 Mar 2018 12:20:48 +0000 (13:20 +0100)] 
externalsrc: do not call make clean for recipes with CLEANBROKEN = "1" set

ERROR: distrho-ports-0.0.0+git999-r0 do_buildclean: oe_runmake failed
ERROR: distrho-ports-0.0.0+git999-r0 do_buildclean: Function failed: do_buildclean
ERROR: Logfile of failure stored in: <...>/temp/log.do_buildclean.17285
Log data follows:
| DEBUG: Executing shell function do_buildclean
| NOTE: make clean
| make clean -C libs/drowaudio
| make[1]: Entering directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio'
| make clean -C build-drowaudio
| make[2]: Entering directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio/build-drowaudio'
| make[2]: *** No rule to make target 'clean'.  Stop.
| make[2]: Leaving directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio/build-drowaudio'
| make[1]: *** [Makefile:7: clean] Error 2
| make[1]: Leaving directory '/home/a.mueller/data/oe-core/workspace/sources/distrho-ports/libs/drowaudio'
| make: *** [Makefile:73: clean] Error 2
| ERROR: oe_runmake failed

(From OE-Core rev: 21fa28d8faf33b2717e38886352238dd360ef346)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk-doc: don't regenerate gtk-doc in do_install
Ross Burton [Wed, 21 Mar 2018 14:47:29 +0000 (14:47 +0000)] 
gtk-doc: don't regenerate gtk-doc in do_install

In out-of-tree builds gtk-doc's setup-build target copies all the content from
$srcdir to $builddir. However, if some of this content is regenerated at
configure time this can happen:

1) configure writes new build/version.xml
2) make compile copies content, including the tarball's src/version.xml
   to build/version.xml, and generates gtk-doc.
3) make install notices build/version.xml is older than configure.status,
   so regenerates gtk-doc.

gtk-doc generation is a slow process at the best of times, so doing it twice
isn't good.

(From OE-Core rev: 9ea9d61f26a942dbbc90070b40ba0209021a4b46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibrepo: disable building of tests and docs
Anuj Mittal [Wed, 21 Mar 2018 07:27:18 +0000 (15:27 +0800)] 
librepo: disable building of tests and docs

Also remove libcheck dependency which was required only for tests.

(From OE-Core rev: cde1b85d402f5999814de4022e3b6ddc90b4604a)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoncurses: Abstract out termlib
Khem Raj [Wed, 21 Mar 2018 02:30:04 +0000 (19:30 -0700)] 
ncurses: Abstract out termlib

termlib needs to be disabled on some targets e.g. mingw
this change paves the way for doing that. Functionally
it does not change anything for other platforms

(From OE-Core rev: 88f33e1e5ba4f85093f60a296cba3ee1c1341c43)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: Fix build failures with glibc 2.27 + kernels without memfd
Khem Raj [Tue, 20 Mar 2018 20:06:28 +0000 (13:06 -0700)] 
systemd: Fix build failures with glibc 2.27 + kernels without memfd

Backport a fix that is needed for systemd to build with latest glibc
and kernel being old.

see
https://github.com/systemd/systemd/issues/8099

(From OE-Core rev: 169d061b313ebb91bf18f09d998a42c4ae165bf8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosite/risc-v: Cache common variables to build libIDL
Khem Raj [Tue, 20 Mar 2018 16:56:40 +0000 (09:56 -0700)] 
site/risc-v: Cache common variables to build libIDL

These variables force runtime tests during configure
they are already cached for other architectures

(From OE-Core rev: 7a0e456d9dcfe9d9d9a0dbd24a6083c8d40516ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglide.bbclass: Add class to easy Glide use
Otavio Salvador [Fri, 16 Mar 2018 19:48:41 +0000 (16:48 -0300)] 
glide.bbclass: Add class to easy Glide use

To use 'glide' this class does the integration and reduces code
duplication.

(From OE-Core rev: e0dbcdc2ca0b05b6b062a0ec1496204bb2122fbf)

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>
7 years agoshadow.inc: run postinst only for target
Martin Jansa [Tue, 20 Mar 2018 12:10:17 +0000 (12:10 +0000)] 
shadow.inc: run postinst only for target

* fails for nativesdk-shadow with:
  pwconv: /etc/passwd.29063: No such file or directory
  pwconv: cannot lock /etc/passwd; try again later.

(From OE-Core rev: c292945611d9f825051ac4938bb22a7d42fff994)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoiputils: change default PACKAGECONFIG to disable libidn
Martin Jansa [Tue, 20 Mar 2018 12:08:49 +0000 (12:08 +0000)] 
iputils: change default PACKAGECONFIG to disable libidn

* wrong revision of this patch, where the commit message didn't match
  with the default PACKAGECONFIG value, was merged to master, update
  it to avoid confusion

* it got enabled by default, but without the dependency on libidn in:
  commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
  Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
  AuthorDate: Thu Feb 1 20:02:08 2018 +0200
  Subject: iputils: update to 20161105

* https://github.com/iputils/iputils/blob/master/RELNOTES.old
  mentiones that IDN was enabled by default in:
  [s20160308] and surprisingly the same in [s20150815]
  but there are no release notes for s20151218 version we were using until
  now, don't know how it really relates to [s20150815].

* but there are some issues with libidn as described in:
  https://github.com/iputils/iputils/commit/f3a461603ef4fb7512ade3bdb73fe1824e294547
  so disable it by default.

(From OE-Core rev: d5cf9fdc57b6e9237126c92a6d92a31099d007c9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: drop lsb4 perl modules no longer in core
Tim Orling [Fri, 23 Mar 2018 05:29:39 +0000 (22:29 -0700)] 
maintainers.inc: drop lsb4 perl modules no longer in core

The following perl module packages were removed from oe-core
with commit: 30fb4c8f329fe3aa3c528ffeba60ee7d702e873e
  - libclass-isa-perl
  - libenv-perl
  - libdumpvalue-perl
  - libfile-checktree-perl
  - libi18n-collate-perl
  - libpod-plainer-perl

Remove these from the maintainers list

Fixes: [Yocto #12582]
(From OE-Core rev: 9eafd2d8bff2cb4949ee83bf7c5505bfcbad93d4)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers: remove obsolete entries
Maxin B. John [Tue, 20 Mar 2018 11:27:39 +0000 (13:27 +0200)] 
maintainers: remove obsolete entries

Delete entries of removed packages.

(From OE-Core rev: 8076e0bcad1e7676a3747c489b0a8c76821bbcdc)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibvorbis: CVE-2018-5146
Tanu Kaskinen [Tue, 20 Mar 2018 08:50:24 +0000 (10:50 +0200)] 
libvorbis: CVE-2018-5146

Prevent out-of-bounds write in codebook decoding. The bug could allow
code execution from a specially crafted Ogg Vorbis file.

References:
https://www.debian.org/security/2018/dsa-4140
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5146

(From OE-Core rev: 1f01ce76c76d63f5ffe96baf518e670ae01c4d12)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibvorbis: CVE-2017-14632
Tanu Kaskinen [Tue, 20 Mar 2018 08:50:23 +0000 (10:50 +0200)] 
libvorbis: CVE-2017-14632

Xiph.Org libvorbis 1.3.5 allows Remote Code Execution upon freeing
uninitialized memory in the function vorbis_analysis_headerout() in
info.c when vi->channels<=0, a similar issue to Mozilla bug 550184.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14632

(From OE-Core rev: 5786e39e040f241f6bade29ba2ce61b7715e1b66)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibvorbis: CVE-2017-14633
Tanu Kaskinen [Tue, 20 Mar 2018 08:50:22 +0000 (10:50 +0200)] 
libvorbis: CVE-2017-14633

In Xiph.Org libvorbis 1.3.5, an out-of-bounds array read vulnerability
exists in the function mapping0_forward() in mapping0.c, which may lead
to DoS when operating on a crafted audio file with vorbis_analysis().

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14633

(From OE-Core rev: db6c0df30acdb9973f9bd4297a5fce4725c0720d)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoxserver-xorg: import distro patch to use modesetting driver on newer hardware
California Sullivan [Tue, 20 Mar 2018 00:25:11 +0000 (17:25 -0700)] 
xserver-xorg: import distro patch to use modesetting driver on newer hardware

Debian and Fedora both carry this patch, and the xf86-video-modesetting
driver seems better on recent hardware.

As an example, on a NUC6CAYS, the x11perf -aa10text and -rgb10text tests
see around a 20x increase.

[YOCTO #12019]
[YOCTO #12390]

(From OE-Core rev: 2e4934d5d4b2745ffcd76020b307b9021f8d8853)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotiff: Security fixes
Yi Zhao [Mon, 19 Mar 2018 23:53:20 +0000 (07:53 +0800)] 
tiff: Security fixes

Fix CVE-2017-99935, CVE-2017-18013, CVE-2018-5784

References:
https://nvd.nist.gov/vuln/detail/CVE-2017-9935
https://nvd.nist.gov/vuln/detail/CVE-2017-18013
https://nvd.nist.gov/vuln/detail/CVE-2018-5784

Patches from:
CVE-2017-9935:
https://gitlab.com/libtiff/libtiff/commit/3dd8f6a357981a4090f126ab9025056c938b6940
CVE-2017-18013:
https://gitlab.com/libtiff/libtiff/commit/c6f41df7b581402dfba3c19a1e3df4454c551a01
CVE-2018-5784:
https://gitlab.com/libtiff/libtiff/commit/473851d211cf8805a161820337ca74cc9615d6ef

(From OE-Core rev: 798b6b4b3ce370264d036e555185a99ce3aa97b7)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-boot: upgrade to 237
Chen Qi [Wed, 7 Mar 2018 02:28:36 +0000 (10:28 +0800)] 
systemd-boot: upgrade to 237

Upgrade systemd-boot to 237.

As systemd has dropped autotools support, fix configure and compile
failures related to meson.

(From OE-Core rev: 086308aa2a5e332de6f00ed397c4a55d132f158f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: fix build failure for qemux86 and qemuppc with musl
Chen Qi [Thu, 1 Mar 2018 08:01:19 +0000 (00:01 -0800)] 
systemd: fix build failure for qemux86 and qemuppc with musl

Remove the 'fstack-protector' and 'fstack-protector-strong' flags
as a workaround to fix the following error when building for qemux86
and qemuppc with musl.

  undefined reference to `__stack_chk_fail_local'

(From OE-Core rev: 4871d3c2b6dd6c07a2adcfbc9ecfb22e4afa2d0d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: upgrade to 237
Chen Qi [Mon, 12 Mar 2018 06:35:45 +0000 (14:35 +0800)] 
systemd: upgrade to 237

Upgrade systemd to 237.

Note that this version has dropped autotools support.

The following patches are rebased:
0004-Use-getenv-when-secure-versions-are-not-available.patch
0005-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0015-Revert-udev-remove-userspace-firmware-loading-suppor.patch
0018-check-for-uchar.h-in-configure.patch
0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0001-add-fallback-parse_printf_format-implementation.patch
0002-src-basic-missing.h-check-for-missing-strndupa.patch
0007-check-for-missing-canonicalize_file_name.patch
0008-Do-not-enable-nss-tests.patch
0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
0011-nss-mymachines-Build-conditionally-when-HAVE_MYHOSTN.patch

The following backported patches are dropped:
0001-core-evaluate-presets-after-generators-have-run-6526.patch
0001-main-skip-many-initialization-steps-when-running-in-.patch
0001-meson-update-header-file-to-detect-memfd_create.patch
0003-fileio-include-sys-mman.h.patch

The following patch is dropped as autotools support is dropped:
0002-configure.ac-Check-if-memfd_create-is-already-define.patch

The following patches are newly added to fix problems:
0027-remove-nobody-user-group-checking.patch
0028-add-missing-FTW_-macros-for-musl.patch
0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch

Other changes are mostly autotools/meson related.

This new version has dropped ptest support, as there's no easy
way to do this in the framework of meson.

(From OE-Core rev: 906230a73b3ccfa4afd2a19a6b0aa18cd1d5fa08)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsolv: refresh the patches
Maxin B. John [Mon, 19 Mar 2018 13:59:55 +0000 (15:59 +0200)] 
libsolv: refresh the patches

fixes:

WARNING: libsolv-0.6.33-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch
0001-Add-fallback-fopencookie-implementation.patch
patching file ext/CMakeLists.txt
patching file ext/solv_xfopen.c
Hunk #1 succeeded at 12 with fuzz 1 (offset -1 lines).
Hunk #2 succeeded at 25 (offset -18 lines).
Hunk #3 succeeded at 34 (offset -18 lines).
Hunk #4 succeeded at 46 (offset -18 lines).
patching file ext/solv_xfopen_fallback_fopencookie.c
patching file ext/solv_xfopen_fallback_fopencookie.h

Now at patch 0001-Add-fallback-fopencookie-implementation.patch

(From OE-Core rev: 388a6cdef0a993d781141f7c375a198f4c4ab808)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoiputils: add PACKAGECONFIG for libidn and disable it by default
Martin Jansa [Sat, 17 Mar 2018 11:21:30 +0000 (11:21 +0000)] 
iputils: add PACKAGECONFIG for libidn and disable it by default

* it got enabled by default, but without the dependency on libidn in:
  commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
  Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
  AuthorDate: Thu Feb 1 20:02:08 2018 +0200
  Subject: iputils: update to 20161105

* https://github.com/iputils/iputils/blob/master/RELNOTES.old
  mentiones that IDN was enabled by default in:
  [s20160308] and surprisingly the same in [s20150815]
  but there are no release notes for s20151218 version we were using until
  now, don't know how it really relates to [s20150815].

* but there are some issues with libidn as described in:
  https://github.com/iputils/iputils/commit/f3a461603ef4fb7512ade3bdb73fe1824e294547
  so disable it by default.

* fails with:
  | In file included from ping_common.c:1:0:
  | ping.h:39:10: fatal error: idna.h: No such file or directory
  |  #include <idna.h>
  |           ^~~~~~~~

* Easiest way to reproduce this failure is to remove libidn from gnutls
  PACKAGECONFIG or to use gnutls which doesn't have libidn PACKAGECONFIG
  at all (like the one in meta-gplv2).

* First it leads to following QA issue:
  http://errors.yoctoproject.org/Errors/Build/53212/
  ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-ping rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
  ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-traceroute6 rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]
  ERROR: iputils-s20161105-r0 do_package_qa: QA run found fatal errors.
  Please consider fixing them.
  ERROR: iputils-s20161105-r0 do_package_qa: Function failed:
  do_package_qa
  ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/iputils/s20161105-r0/temp/log.do_package_qa.7627
  ERROR: Task (/OE/build/oe-core/openembedded-core/meta/recipes-extended/iputils/iputils_s20161105.bb:do_package_qa) failed with exit code '1'

* But if you cleansstate iputils as well (after removing libidn from
  gnutls PACKAGECONFIG) to empty iputils RSS, then you get the error about
  missing idna.h:
  http://errors.yoctoproject.org/Errors/Build/53213/

* Adding the libidn dependency explicitly in iputils recipe fixes the
  issue.

(From OE-Core rev: 97defe35051ff86f665547bb6b6497c83b7027a6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage-index: index also subdirectories when using rpm
Alexander Kanavin [Mon, 19 Mar 2018 09:38:27 +0000 (11:38 +0200)] 
package-index: index also subdirectories when using rpm

Previously only the top-level index was created, which did not
work if PACKAGE_FEED_ARCHS whitelisting (or explicitly listing
architectures in dnf repo files by hand) was in use:
https://lists.yoctoproject.org/pipermail/yocto/2018-March/040327.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12419

[YOCTO #12419]

(From OE-Core rev: f2a568ddb22f38114fdbc1d389c7556386ebb1fa)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc: fix upstream version check
Alexander Kanavin [Sat, 17 Mar 2018 11:15:39 +0000 (13:15 +0200)] 
glibc: fix upstream version check

Exclude x.y.90* pre-release versions in particular.

(From OE-Core rev: 3fa440b0d8090135a66f6ddbd0db77c94760686e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodpkg: Backport riscv support
Khem Raj [Sat, 17 Mar 2018 03:40:36 +0000 (20:40 -0700)] 
dpkg: Backport riscv support

Refresh patches with devtool

(From OE-Core rev: 6d21977c9d1cf00b102a58e28797250b9a853caf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomtd-utils: Explicitly add pthread options to cflags
Khem Raj [Sat, 17 Mar 2018 03:40:33 +0000 (20:40 -0700)] 
mtd-utils: Explicitly add pthread options to cflags

Some architectures e.g. riscv gcc does not add -D_REENTRANT
when enabling pthreads. Help it here by adding these options
while gcc gets fixed

(From OE-Core rev: 856aa732cac62a2c45473bcc91f7d0c423c52f81)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-firmware: upgrade to 4c0bf11 revision
Otavio Salvador [Fri, 16 Mar 2018 21:45:22 +0000 (18:45 -0300)] 
linux-firmware: upgrade to 4c0bf11 revision

License-Update: new releases and copyright years updated.
(From OE-Core rev: cf757ca67325415a26555c67a098f168453339a4)

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>
7 years agowatchdog: remove interdependencies of watchdog and wd_keepalive
Maxin B. John [Fri, 16 Mar 2018 08:38:10 +0000 (10:38 +0200)] 
watchdog: remove interdependencies of watchdog and wd_keepalive

Since watchdog and watchdog-keepalive packages can't be installed
together, move wd_keepalive.service to watchdog-keepalive package.

Remove the inter-dependencies of watchdog and wd_keepalive
services as well.

[YOCTO #12565]

(From OE-Core rev: 1d09eacc78ff44df54d6ace26702f4d9bf9e639c)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopkg-utils: use multithreaded xz when building packages
Ross Burton [Mon, 19 Mar 2018 11:38:45 +0000 (11:38 +0000)] 
opkg-utils: use multithreaded xz when building packages

(From OE-Core rev: 369c43cca4f00272e0f9eb8b939f38f00dc43cc3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoperf: enable support for libaudit
Anuj Mittal [Thu, 15 Mar 2018 03:41:20 +0000 (11:41 +0800)] 
perf: enable support for libaudit

perf needs audit-python to be able to show syscall names and for
'perf trace' to work.

Enable dependency on audit-python if present in PACKAGECONFIG. It's
disabled by default since audit as of now is in meta-selinux.

Fixes [YOCTO #3343]
Fixes [YOCTO #3358]

(From OE-Core rev: c386abacae89a148e77ffa51630c7917e90406f9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage_types.bbclass: Rename lz4_legacy to lz4
Maxin B. John [Mon, 12 Mar 2018 11:40:07 +0000 (13:40 +0200)] 
image_types.bbclass: Rename lz4_legacy to lz4

LZ4 format currently used by the Linux kernel is the 'legacy' format.

In order to avoid creating an image that can't be used as a compressed
initial ramdisk with Linux kernel, rename lz4_legacy to lz4.

[YOCTO #12461]
[YOCTO #12149]

(From OE-Core rev: 0c62a9b272d381bd5a16cfef19ecd1a15f521473)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopatch.py: Use git format-patch with --no-signature --no-numbered params
Martin Jansa [Thu, 15 Mar 2018 22:50:10 +0000 (22:50 +0000)] 
patch.py: Use git format-patch with --no-signature --no-numbered params

* --no-signature saves unnecessary .patch modifications when executed on
  host with different git version
* --no-numbered saves unnecessary .patch modifications when number of the
  applied patches is changed (the number is still in the filename so the
  order how they should be applied is still preserved)
* both options exist for very long time, I've tested them with git 1.9.1
  from Ubuntu 14.04 and I'm quite sure they were available even in much
  older releases, so there shouldn't be any issue on relatively new sanity
  tested distros

(From OE-Core rev: ad76fa92c3a5be38962aff09df070ffd9756f777)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager: format pydoc comments properly
Ross Burton [Fri, 16 Mar 2018 14:45:03 +0000 (14:45 +0000)] 
package_manager: format pydoc comments properly

(From OE-Core rev: b2770ec717d2b3cfc475c0cf7fa372fdb2f691a9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel.bbclass: set HOSTLDFLAGS in KCONFIG_CONFIG_COMMAND
California Sullivan [Thu, 25 Jan 2018 03:12:27 +0000 (19:12 -0800)] 
kernel.bbclass: set HOSTLDFLAGS in KCONFIG_CONFIG_COMMAND

Kernel v4.14 and newer contain the following in their Makefile:

HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS)
HOSTLDFLAGS  := $(HOST_LFS_LDFLAGS)

This breaks our menuconfig, because it can no longer find ncurses if its
not on the host machine. This can be seen in linux-yocto-dev, for
example:

[clsulliv@clsulliv build]$ bitbake virtual/kernel -c menuconfig

  GEN     ./Makefile
  HOSTLD  scripts/kconfig/mconf
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -lncurses
/home/clsulliv/yocto/poky/build/tmp/hosttools/ld: cannot find -ltinfo
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:99: scripts/kconfig/mconf] Error 1
make[2]: *** [/home/clsulliv/yocto/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/Makefile:504: menuconfig] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
Command failed.
Press any key to continue...

Fix this by setting HOSTLDFLAGS to ${BUILD_LDFLAGS} in our
'make menuconfig' command.

(From OE-Core rev: 6afe8e211bfb3deb359194488f34a2c56f4b5ef6)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython-numpy: update to 1.14.2
Derek Straka [Sun, 18 Mar 2018 13:47:08 +0000 (09:47 -0400)] 
python-numpy: update to 1.14.2

Update to the latest stable release

(From OE-Core rev: 0f31b37d1233867e5dfdd126b98d5017df602888)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-pip: update to 9.0.2
Derek Straka [Sun, 18 Mar 2018 13:39:14 +0000 (09:39 -0400)] 
python3-pip: update to 9.0.2

Update to the latest stable release

(From OE-Core rev: 998ac44d8be496c852a41fa112f997362db7da4f)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-pygobject: update to 3.28.1
Derek Straka [Sun, 18 Mar 2018 13:35:20 +0000 (09:35 -0400)] 
python3-pygobject: update to 3.28.1

Update to the latest stable release

Tested in qemux86-64 running core-image-minimal

(From OE-Core rev: aa33df15dca690b6556794b604cb99bd13dbce72)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython*-setuptools: update to 39.0.0
Derek Straka [Sun, 18 Mar 2018 13:15:28 +0000 (09:15 -0400)] 
python*-setuptools: update to 39.0.0

Update the python{3}-setuptools to the latest stable version

Tested on the qemu with core-image-minimal

(From OE-Core rev: 8422880acf65802dbaa08238ae9e63670ed49ff3)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython-numpy: Fix build for riscv64
Khem Raj [Sat, 17 Mar 2018 03:40:35 +0000 (20:40 -0700)] 
python-numpy: Fix build for riscv64

(From OE-Core rev: d33b321bce110fae8e5730f507be70f33d91fe22)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-native: update to version 3.5.5 to fix security issues
Derek Straka [Thu, 15 Mar 2018 16:58:49 +0000 (12:58 -0400)] 
python3-native: update to version 3.5.5 to fix security issues

License-Update: checksum change is due to bump in copyright year

Resolves CVE-2017-1000158 and other potential security issues

See https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-5-final

(From OE-Core rev: e19df4b40d76cdae65a26fb08efc17542e0e86b9)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-native: fix build races in 'make regen-all'
Alexander Kanavin [Thu, 15 Mar 2018 16:54:58 +0000 (18:54 +0200)] 
python3-native: fix build races in 'make regen-all'

Python 2.x and target Python 3.x do not have this issue.

[YOCTO #12596]

(From OE-Core rev: 5bfba3d09cfabb3a1895dcf9921801df318d804c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agognome-desktop: do not assume time_t is long
Joe Slater [Thu, 15 Mar 2018 16:03:31 +0000 (09:03 -0700)] 
gnome-desktop: do not assume time_t is long

Replace use of atol() to set a time_t variable.

(From OE-Core rev: 022866aa0ea6d7a8963d05bb10881e8d97bdf442)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "lttng-tools: Upgrade 2.9.5 -> 2.10.2"
Ross Burton [Thu, 15 Mar 2018 14:58:54 +0000 (14:58 +0000)] 
Revert "lttng-tools: Upgrade 2.9.5 -> 2.10.2"

None of the test suite works, so something quite fundamental broke.

[ YOCTO #12606 ]

This reverts commit 406ea737f1ce5bb5fed46c8cbeb5c7c13bf3b8ad.

(From OE-Core rev: 72a0b56757da98fcbf42bebb2f376738c68d3834)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoslang: 2.3.1a -> 2.3.2
Huang Qiyu [Thu, 15 Mar 2018 02:02:40 +0000 (10:02 +0800)] 
slang: 2.3.1a -> 2.3.2

Upgrade slang from 2.3.1a to 2.3.2.

(From OE-Core rev: 3972c93142c4adfd3227b8d7d9a6b25774ce6929)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: add readline to PACKAGECONFIG
Anuj Mittal [Thu, 15 Mar 2018 05:38:56 +0000 (13:38 +0800)] 
python3: add readline to PACKAGECONFIG

Provide a way to make readline dependency optional in case someone
might want to use BSD alternative editline instead.

Using editline would need some changes though (python issue13501).

(From OE-Core rev: 9b12a3f031373ad0696409e4f933b1a585ea7f1f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoca-certificates: run postinst script only for -target package
Alexander Kanavin [Thu, 15 Mar 2018 11:27:06 +0000 (13:27 +0200)] 
ca-certificates: run postinst script only for -target package

Nativesdk package has a special arrangement where the same thing is done
in do_install(). It was assumed (in the comment) that postinsts don't run when
installing nativesdk packages, but this was incorrect: they are run, but
any failures were previously silently ignored. Now this missing failure reporting has
been fixed, and so we get to see the failures.

(From OE-Core rev: 8ebb695c1429f8d57d655072a362a4f176258699)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibpng: fix upstream version check
Alexander Kanavin [Thu, 15 Mar 2018 10:39:47 +0000 (12:39 +0200)] 
libpng: fix upstream version check

Sourceforge for some reason claims an older version is 'the latest'.

(From OE-Core rev: 612075ddebd40af4f9908028e40bd6a46a2a4d63)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodistcc: remove UPSTREAM_VERSION_UNKNOWN
Alexander Kanavin [Thu, 15 Mar 2018 10:39:46 +0000 (12:39 +0200)] 
distcc: remove UPSTREAM_VERSION_UNKNOWN

Upstream has finally released a new version.

(From OE-Core rev: 5d7683c7d86abd101bcee0c06cceff4ba3ee8593)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agochecklayer: remove reference to undefined class
Anuj Mittal [Thu, 15 Mar 2018 05:59:51 +0000 (13:59 +0800)] 
checklayer: remove reference to undefined class

LayerError doesn't exist and will lead to an error when this failure
code path is hit.

(From OE-Core rev: 7780482772d005c77825dc3e99e63f00911156bf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: Do not use --with-linker-hash-style if LINKER_HASH_STYLE is empty
Khem Raj [Sat, 17 Mar 2018 03:40:32 +0000 (20:40 -0700)] 
gcc: Do not use --with-linker-hash-style if LINKER_HASH_STYLE is empty

We allow to set LINKER_HASH_STYLE to be empty so this would fail
since --with-linker-hash-style needs an argument and cant be empty

(From OE-Core rev: e176ab07d1afbb5d7e80d39d49b0f68738509c18)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: backport patch to fix ICE in MIPS64 target in G++
Mark Hatle [Thu, 15 Mar 2018 16:45:09 +0000 (12:45 -0400)] 
gcc: backport patch to fix ICE in MIPS64 target in G++

Backport a patch to fix an ICE when compiling for MIPS64.

(From OE-Core rev: eaa35d43dc1490f53aa1aece948d1542048460b6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobuildperf: measure the size of core-image-sato rootfs
Ross Burton [Thu, 15 Mar 2018 13:13:50 +0000 (13:13 +0000)] 
buildperf: measure the size of core-image-sato rootfs

(From OE-Core rev: c94271d87d16323f920891344642f76dfb3c994f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoscripts/oe-build-perf-report: fix comparing arbitrary commits
Markus Lehtonen [Thu, 15 Mar 2018 12:40:45 +0000 (14:40 +0200)] 
scripts/oe-build-perf-report: fix comparing arbitrary commits

Fix a crash when generating a txt report and the two commits to be
compared were not consecutive (but there were some tested commits
between them).

(From OE-Core rev: f3afd2c47f4c740df52dfd80e208ce721d5ebf6e)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: backport bugfixes for x86
Bruce Ashfield [Wed, 14 Mar 2018 15:10:29 +0000 (11:10 -0400)] 
linux-yocto/4.12: backport bugfixes for x86

Integrating the following commits:

  60b649971940 x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3
  cec3c008ec8f drm/i915/cfl: Coffee Lake works on Kaby Lake PCH.
  073873cb152c brd: remove unused brd_mutex
  912c53b1b346 audit: fix memleak in auditd_send_unicast_skb.

(From OE-Core rev: 3c14c6612c48d46677837f5f4c31cfd1a6ff6174)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers: add maintainer for make-mod-scripts
Bruce Ashfield [Wed, 14 Mar 2018 15:10:28 +0000 (11:10 -0400)] 
maintainers: add maintainer for make-mod-scripts

I introduced the recipe, so I get to fix any bugs!

(From OE-Core rev: 010b3556d56d9520821f8b13a386c5ee23d3892f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.14/4.15: revert "features/systemtap/systemtap.cfg: enable CONFIG_KERNEL...
Bruce Ashfield [Wed, 14 Mar 2018 15:10:27 +0000 (11:10 -0400)] 
linux-yocto/4.14/4.15: revert "features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG"

The following commit:

   Author: California Sullivan <california.l.sullivan@intel.com>
   Date:   Wed Feb 17 16:47:10 2016 -0800

       ktypes: add developer ktype

       The developer ktype enables EMBEDDED, EXPERT, and DEBUG_KERNEL,
       opening up more kernel options and setting some defaults.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Was created to address the kernel footprint related issues that are related
to many of the kernel debug options.

When this commit was merged, it re-enabled CONFIG_DEBUG_KERNEL for the
standard kernel, since it includes the systemtap fragment. The correct thing
to do is to move systemtap properly into the developer kernel type.

For now, you can build the developer kernel type, or add the developer kernel
configuration fragment via a bbappend, and you'll have a functional systemtap.

[YOCTO #12603]

(From OE-Core rev: ad8f68e9831c57fde62f7b1942bfa9e1307f113d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobtrfs-tools: add RECIPE_NO_UPDATE_REASON
Alexander Kanavin [Tue, 13 Mar 2018 16:51:56 +0000 (18:51 +0200)] 
btrfs-tools: add RECIPE_NO_UPDATE_REASON

(From OE-Core rev: a158b458d63622a3cd1605124c380d2a130beda9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: Fix purelib install and runtime paths
Jason Wessel [Tue, 13 Mar 2018 03:08:26 +0000 (22:08 -0500)] 
python3: Fix purelib install and runtime paths

oe-core commit: 45afadf0b6 fixed the pip problem with purelib for
python2, even though the the patch stated it was for python3.  This
patch addresses the purelib problem for python3.

If you install the package python3-pip you will have a pip3 binary
where you can see the problem on the device easily where the modules
install into the incorrect area and are not able to be referenced by
python3 at all.

Example error:
   pip3 install imutils
   pip3 list |grep imutils || echo ERROR no imutils
      ERROR no imutils
   python3 -c 'import imutils'
     Traceback (most recent call last):
       File "<string>", line 1, in <module>
     ImportError: No module named 'imutils'

(From OE-Core rev: 54e0b3bfc132613902418be148a900b10f6d9e38)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinsane.bbclass: Fix typos in 32bit risc-v machine type
Khem Raj [Wed, 14 Mar 2018 07:43:56 +0000 (00:43 -0700)] 
insane.bbclass: Fix typos in 32bit risc-v machine type

(From OE-Core rev: 33d79f19dd3a2b5777e07fbf75ec4635d08e60e8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinsane.bbclass: add support for RISC-V baremetal
Khem Raj [Wed, 14 Mar 2018 06:23:11 +0000 (23:23 -0700)] 
insane.bbclass: add support for RISC-V baremetal

(From OE-Core rev: 9b30e805e769b6c8c12a9aba072f7df066b19179)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk-doc: use --srcdir instead of cd
Ross Burton [Wed, 14 Mar 2018 12:55:29 +0000 (12:55 +0000)] 
gtk-doc: use --srcdir instead of cd

(From OE-Core rev: 1bf1cf24f520960d3d10b0b71d665107953dba54)

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