]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
8 years agomusl: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:09 +0000 (12:16 +0200)] 
musl: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: ceb58f3c24f957982a80ea56e9b6fcef53dd8949)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoifupdown: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:08 +0000 (12:16 +0200)] 
ifupdown: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: f37523e2d9ddf523da12aa962cf8fbe21a355d67)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel.bbclass: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:07 +0000 (12:16 +0200)] 
kernel.bbclass: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: de720a8b10de17e613a8fb20d8df2af0b84507d7)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodistutils-common-base.bbclass: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:06 +0000 (12:16 +0200)] 
distutils-common-base.bbclass: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: 641ab36095eb72898ec808e655014bbc5900eb95)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoautotools.bbclass: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:05 +0000 (12:16 +0200)] 
autotools.bbclass: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: 4fca6c95895d7d17cdfb637d383b28ee939fbd99)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-modules: Update 2.7.3 -> 2.8.0+master
Richard Purdie [Wed, 31 Aug 2016 10:32:38 +0000 (11:32 +0100)] 
lttng-modules: Update 2.7.3 -> 2.8.0+master

We need master for the changes to work with 4.8 kernels.

(From OE-Core rev: ab883b74634b8fa0c179b2c42b1503fa78fcc06f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-tools: Add PACKAGECONFIG for manpages
Richard Purdie [Fri, 2 Sep 2016 22:46:48 +0000 (23:46 +0100)] 
lttng-tools: Add PACKAGECONFIG for manpages

(From OE-Core rev: 1ddae1c3a58931bbf348fd6fd912f0cd30598585)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-tools: Update 2.7.1 -> 2.8.1
Richard Purdie [Wed, 31 Aug 2016 10:32:11 +0000 (11:32 +0100)] 
lttng-tools: Update 2.7.1 -> 2.8.1

Drop backported patch.
Update ust configure option.
Update location of xml m4 file.

(From OE-Core rev: ea0375c5a38a761d296f5e20c95450c2df90fe39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-ust: Update 2.7.1 -> 2.8.1
Richard Purdie [Wed, 31 Aug 2016 10:31:29 +0000 (11:31 +0100)] 
lttng-ust: Update 2.7.1 -> 2.8.1

Drop aarch64_be patch which is now upstream.
Update doc patch to apply to latest version.
Disable man generation in configure options to match docs patch (for now).

(From OE-Core rev: 338320be00101cb182c8ccdad162076e7c3d3dbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibyaml: update to 0.1.7
Alexander Kanavin [Tue, 30 Aug 2016 12:26:53 +0000 (15:26 +0300)] 
libyaml: update to 0.1.7

Drop backported libyaml-CVE-2014-9130.patch

(From OE-Core rev: 2dfdf483e9de5bcb24149f619b0c7fc466221204)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoffmpeg: update to 3.1.3
Alexander Kanavin [Tue, 30 Aug 2016 12:26:52 +0000 (15:26 +0300)] 
ffmpeg: update to 3.1.3

(From OE-Core rev: ff6a73adf306cb80edae9d6025dcb62b9e4fa241)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoiso-codes: update to 3.70
Alexander Kanavin [Tue, 30 Aug 2016 12:26:51 +0000 (15:26 +0300)] 
iso-codes: update to 3.70

(From OE-Core rev: 2c1f16ed94c82bd9e46f4c7dfc34fc9cd9edb5d5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0: upgrade to 1.8.3
Maxin B. John [Tue, 30 Aug 2016 13:18:01 +0000 (16:18 +0300)] 
gstreamer1.0: upgrade to 1.8.3

1.8.2 -> 1.8.3

Remove backported patch from 1.8.3:
        0007-glplugin-gleffects-fix-little-rectangel-appears-at-t.patch

(From OE-Core rev: 0190736ef89447b81ab9a95e83ec205c5c1f4618)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosqlite3: upgrade to 3.14.1
Maxin B. John [Tue, 30 Aug 2016 13:18:00 +0000 (16:18 +0300)] 
sqlite3: upgrade to 3.14.1

(From OE-Core rev: 6858df73073d32f6301b2302ae563670e32db134)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobase, autotools: Append PACKAGECONFIG_CONFARGS to EXTRA_OECONF only in autotools...
Martin Jansa [Tue, 30 Aug 2016 14:19:58 +0000 (16:19 +0200)] 
base, autotools: Append PACKAGECONFIG_CONFARGS to EXTRA_OECONF only in autotools.bbclass

* recipes which don't inherit autotools or cmake bbclass and want to
  use the configure options from PACKAGECONFIG need to handle
  PACKAGECONFIG_CONFARGS themselves.

(From OE-Core rev: c98fb5f5129e71829ffab4449b3d28082bc95ab4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agounzip: fixes strange output
Edwin Plauchu [Tue, 30 Aug 2016 02:17:13 +0000 (21:17 -0500)] 
unzip: fixes strange output

This fixes commit 763a3d424bccf559a8d6add3dc1f2746c82f2933

Output was strange when using unzip to extract zip file.
This patch fixed so.

[YOCTO #9551]

(From OE-Core rev: 30486429ed228e387ee574c6990b361d2ade6a32)

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agonss: update to 3.25
Alexander Kanavin [Mon, 29 Aug 2016 14:30:19 +0000 (17:30 +0300)] 
nss: update to 3.25

(From OE-Core rev: fa11e90f691e4f4eee8a231abfe179b0f4992da9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agompg123: update to 1.23.6
Alexander Kanavin [Mon, 29 Aug 2016 14:30:18 +0000 (17:30 +0300)] 
mpg123: update to 1.23.6

(From OE-Core rev: 7dd246aaacc7128d7c4860438714862af6ac050a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolighttpd: update to 1.4.41
Alexander Kanavin [Mon, 29 Aug 2016 14:30:17 +0000 (17:30 +0300)] 
lighttpd: update to 1.4.41

Rebase pkgconfig.patch

(From OE-Core rev: 45fac4161cb230bc03c6c08d21cc768e52700f02)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogobject-introspection: odd versions are development snapshots
Alexander Kanavin [Mon, 29 Aug 2016 14:30:14 +0000 (17:30 +0300)] 
gobject-introspection: odd versions are development snapshots

(From OE-Core rev: 5c2fcbc42dc85764863771ed62c7415aafb85916)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoffmpeg: update to 3.1.2
Alexander Kanavin [Mon, 29 Aug 2016 14:30:13 +0000 (17:30 +0300)] 
ffmpeg: update to 3.1.2

(From OE-Core rev: 0aeb601b9e211063aeedec5600354245c0491ff9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobdwgc: Add missing include to avoid musl build failures
Richard Purdie [Wed, 31 Aug 2016 16:51:23 +0000 (17:51 +0100)] 
bdwgc: Add missing include to avoid musl build failures

(From OE-Core rev: 33459ffd0b5f3f303bcf8fb4dce817f6d73162a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobdwgc: update to 7.6.0
Alexander Kanavin [Mon, 29 Aug 2016 14:30:12 +0000 (17:30 +0300)] 
bdwgc: update to 7.6.0

Remove backported NIOS2 patch.
README.QUICK checksum updated; the license part of the file is unchaged.

(From OE-Core rev: ee16cc4ad552502212055af46b3e97a312a13e69)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobash-completion: update to 2.4
Alexander Kanavin [Mon, 29 Aug 2016 14:30:11 +0000 (17:30 +0300)] 
bash-completion: update to 2.4

(From OE-Core rev: 7f23afc08141b48c4adea51820b9ad9a8fa21867)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoiso-codes: upgrade to 3.69
Alexander Kanavin [Mon, 29 Aug 2016 14:30:10 +0000 (17:30 +0300)] 
iso-codes: upgrade to 3.69

(From OE-Core rev: 9663d90f46102a04ff41c36da94140cee0a9ad44)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobtrfs-tools: update to 4.7.1
Alexander Kanavin [Mon, 29 Aug 2016 14:30:09 +0000 (17:30 +0300)] 
btrfs-tools: update to 4.7.1

(From OE-Core rev: af37bf57b2772851150cbdabf8e1c2db7475930f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibwebp: upgrade to 0.5.1
Alexander Kanavin [Mon, 29 Aug 2016 14:30:08 +0000 (17:30 +0300)] 
libwebp: upgrade to 0.5.1

(From OE-Core rev: c896b61db5c8abe0b96f7c8468cbf1ba2b36f435)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: fix RREPLACES and RCONFLICTS for libnl-genl
Robert Yang [Fri, 2 Sep 2016 05:09:14 +0000 (22:09 -0700)] 
libnl: fix RREPLACES and RCONFLICTS for libnl-genl

The libnl-genl.rpm provides libnl-genl-3-200 after the following 2 fixes:
libnl: update to v3.2.28
libnl: fix packaging mistakes

$ rpm -qp --provides tmp/deploy/rpm/core2_64/libnl-genl-3-200-3.2.28-r0.4.core2_64.rpm
elf(buildid) = 4e753b2361ba0b02f162244a87cc0680796e46cc
libnl-genl = 3.2.28
libnl-genl-3.so.200()(64bit)
libnl-genl-3.so.200(libnl_3)(64bit)
libnl-genl2
libnl-genl-3-200 = 1:3.2.28-r0.4

Note, the libnl-genl2 is introduced by REPLACES_${PN}-genl = "libnl-genl2".

So that we don't need set libnl-genl-3-200 in the RREPLACES and
RCONFLICTS, otherwise it would cause do_rootfs errors when install both
libnl-genl.rpm and lib32-libnl-genl.rpm:

Computing transaction...error: Can't install libnl-genl-3-200-1:3.2.28-r0.0@core2_64: conflicted package libnl-genl-3-200-1:3.2.28-r0.0@lib32_x86 is locked

We didn't meet this error before was because there was no libnl-genl.rpm,
but libnl-3-genl.rpm, and it doesn't provide libnl-genl-3-200 by default.

Remove libnl-genl-3-200 from RREPLACES and RCONFLICTS will fix the problem.

(From OE-Core rev: a2e9e0bb7a4901f819332df30ec265616e422826)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: backport musl fix (strerror_r / strerror_l)
André Draszik [Fri, 26 Aug 2016 10:31:52 +0000 (11:31 +0100)] 
libnl: backport musl fix (strerror_r / strerror_l)

musl doesn't implement the non-posix compliant,
deprecated, glibc-only special version of strerror_r
that libnl had been using so far.

Backport the patch(set) that switches libnl over to
using strerror_l().

(From OE-Core rev: 3718761dd9bd841c4383b63346c1ff2c81570af6)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: update to v3.2.28
André Draszik [Fri, 26 Aug 2016 10:31:51 +0000 (11:31 +0100)] 
libnl: update to v3.2.28

See
  http://lists.infradead.org/pipermail/libnl/2016-August/002187.html
  http://lists.infradead.org/pipermail/libnl/2016-August/002200.html

(From OE-Core rev: 448411845e5953d498847e9a8d85d4b68e230c37)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: fix packaging mistakes
André Draszik [Fri, 26 Aug 2016 10:31:50 +0000 (11:31 +0100)] 
libnl: fix packaging mistakes

- *.la files belong into -dev packages
- the genl-ctrl-list command line utility should go to into the CLI
  package, so as to prevent the libnl-genl library package from
  pulling in all of the command line utilities (as genl-ctrl-list
  is linked against libnl-cli-3.so.200)

(From OE-Core rev: 57ddcbde8aad2a2d37619e11a0cd2e9b8d9fb239)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types: check COMPRESS_DEPENDS for backwards compatibility
Mikko Ylinen [Tue, 30 Aug 2016 05:38:45 +0000 (08:38 +0300)] 
image_types: check COMPRESS_DEPENDS for backwards compatibility

To complete the transition/renaming to chained image type CONVERSION
while maintaining bacwards compatibility to COMPRESS(ION), make sure also
COMPRESS_DEPENDS is checked. Without this, the dependencies for legacy
COMPRESSIONTYPES do not get built.

(From OE-Core rev: 12a8ee44f05e21d5814e31cb9e13c9eab236b836)

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bb.fetch2.svn: correctly pass workdir when fetching
Christopher Larson [Wed, 31 Aug 2016 19:57:08 +0000 (12:57 -0700)] 
bitbake: bb.fetch2.svn: correctly pass workdir when fetching

The ud.pkgdir argument was being passed as the 'quiet' argument to
runfetchcmd, not the 'workdir' argument, resulting in fetching the svn module
into the root of DL_DIR, not where it belongs.

Cc: Matt Madison <matt@madison.systems>
(Bitbake rev: dc756510a95f88b192352be6fcd1d5d77852c348)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cooker.py: Catch when stdout doesn't have a file descriptor
Mariano Lopez [Tue, 23 Aug 2016 07:06:11 +0000 (07:06 +0000)] 
bitbake: cooker.py: Catch when stdout doesn't have a file descriptor

Currently, there is a check to remove the TOSTOP attribute from
a tty to avoid hangs. It assumes that sys.stdout will have a
file descriptor and this is not always true, some IO classes
will throw exceptions when trying to get its file descriptor.

This will add a check for such cases and avoid throwing an
exception.

[YOCTO #10162]

(Bitbake rev: cb4f8f6efa28ef2b13bc738a0118b876baa15b3e)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: localhostbecontroller Remove git assumption
Michael Wood [Mon, 22 Aug 2016 15:42:36 +0000 (16:42 +0100)] 
bitbake: toaster: localhostbecontroller Remove git assumption

We don't need to force everyone to use git for the method in which
openembedded-core is downloaded. For instance it could have been
downloaded and extracted as a tarball.

(Bitbake rev: 8b7180332691a41a013e07a52b26018402141b6a)

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>
8 years agobitbake: toaster: Allow git information to be null for BRLayer
Michael Wood [Mon, 22 Aug 2016 15:42:35 +0000 (16:42 +0100)] 
bitbake: toaster: Allow git information to be null for BRLayer

We no longer only deal with layers that have their source in a gir
repository, we also allow for local directories too so update the
BRLayer model to reflect this.

(Bitbake rev: a15f61f3ef5a87b87121457f76592c87f0ea5d7f)

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>
8 years agobitbake: toaster: tests Add selenium test layer source switching layer details page
Michael Wood [Mon, 22 Aug 2016 15:42:34 +0000 (16:42 +0100)] 
bitbake: toaster: tests Add selenium test layer source switching layer details page

Add selenium tests for the new layer source switching functionality on
the layer details page. Edits the values for git repository and saves
and then edits the details for directory information and saves.

(Bitbake rev: acdfafdd753abe38a313c42e3a9d6211338b4e73)

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>
8 years agobitbake: toaster: Move Custom image recipe rest api to api file
Michael Wood [Mon, 22 Aug 2016 15:42:33 +0000 (16:42 +0100)] 
bitbake: toaster: Move Custom image recipe rest api to api file

We now have a dedicated file for the rest API so move and rework for
class based views. Also clean up all flake8 identified warnings.

Remove unused imports from toastergui views.

The original work for this API was done by Elliot Smith, Ed Bartosh,
Michael Wood and Dave Lerner

(Bitbake rev: 37c2b4f105d7334cdd83d9675af787f4327e7fe7)

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>
8 years agobitbake: toaster: Fix oe-core fixture
Michael Wood [Mon, 22 Aug 2016 15:42:32 +0000 (16:42 +0100)] 
bitbake: toaster: Fix oe-core fixture

Due to a copy paste error we managed to get some of the wrong
information in the oe fixture that provides a suggested default settings
for Toaster. This meant it tested correctly when it shouldn't have.
Fix:
 - The use of local bitbake
 - An incorrect call to realpath which didn't include its parent module.
 - The field used for the local_dir of an existing openembedded-core

(Bitbake rev: d57a9124650e5367919668dfccf6aad4962a77f1)

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>
8 years agobitbake: toaster: layerdetails clean ups after integrating local layer changes
Michael Wood [Mon, 22 Aug 2016 15:42:31 +0000 (16:42 +0100)] 
bitbake: toaster: layerdetails clean ups after integrating local layer changes

A few clean ups for the work done to integrate editing imported local layers
into the layer detail page.

(Bitbake rev: 092ef32e695b43c3337b7116722c4c6eba981396)

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>
8 years agobitbake: toaster: update api to include local_source_dir
Sujith H [Mon, 22 Aug 2016 15:42:30 +0000 (16:42 +0100)] 
bitbake: toaster: update api to include local_source_dir

Add an additional argument to the api to handle
local_source_dir which is the value user passes
to import non-git layers.

[YOCTO #9913]

(Bitbake rev: 2b5728fc5c0e578560506697f271605e80b5918f)

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: layerdetails js changes for switching layers
Sujith H [Mon, 22 Aug 2016 15:42:29 +0000 (16:42 +0100)] 
bitbake: toaster: layerdetails js changes for switching layers

This patch helps to implement the switching of layers
between directories and git repositories. Specifically
selection of git and local directory. Also enabling
form to view the selection.

[YOCTO #9913]

(Bitbake rev: 5c20834691f1b65cfc4a0c4ec12958f86b34bbeb)

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: add switch of git and not-git layers imported
Sujith H [Mon, 22 Aug 2016 15:42:28 +0000 (16:42 +0100)] 
bitbake: toaster: add switch of git and not-git layers imported

This patch updates the layerdetails html file to
add the feature of switching imported layers between
directories and git repositories.

[YOCTO #9913]

(Bitbake rev: 70319eb690a056b41b7e91d79560067edd623ee1)

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: buildinfohelper: discover kernel artifacts correctly
Elliot Smith [Tue, 23 Aug 2016 11:18:26 +0000 (14:18 +0300)] 
bitbake: buildinfohelper: discover kernel artifacts correctly

Because some image_license.manifest files contain multiple
FILES lines, and because those lines can sometimes not contain
a list of files (i.e. they look like "FILES:\n"), we were
resetting the list of kernel artifacts when we hit the second
"empty" line.

Fix by ignoring any FILES line which doesn't list files, and by
appending any files found in a valid FILES line, rather than
overwriting the existing list.

[YOCTO #10107]

(Bitbake rev: 927ec3524625ac731326b3c1c1361c2a4d2bd9e1)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: wget: allow basic http auth for SSTATE_MIRRORS
Stephano Cetola [Fri, 26 Aug 2016 17:41:43 +0000 (10:41 -0700)] 
bitbake: wget: allow basic http auth for SSTATE_MIRRORS

If http basic auth creds were added to sstate mirrors like so:

https://foo.com/sstate/PATH;user=foo:bar;downloadfilename=PATH

The sstate mirror check would silently fail with 401 unauthorized.
This patch allows both the check, and the wget download to succeed by
checking for user credentials and if present adding the correct
headers, or wget params as needed.

[ YOCTO #9815 ]

(Bitbake rev: cea8113d14da9e12db80a5b6b5811a47a7dfdeef)

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cookerdata/ast: Fail gracefully if event handler function is not found
Markus Lehtonen [Tue, 30 Aug 2016 09:53:30 +0000 (12:53 +0300)] 
bitbake: cookerdata/ast: Fail gracefully if event handler function is not found

[YOCTO #10186]

(Bitbake rev: 107c47c4e6de6a596cf1aeca5c18dbc1c5b44dc4)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds
Richard Purdie [Wed, 31 Aug 2016 10:37:53 +0000 (11:37 +0100)] 
bitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds

We can't execute the same task for the same package_arch multiple
times as the current setup has conflicting directories. Since
these would usually have the same stamp/hash, we want to execute in
sequence rather than in parallel, so for the purposes of task execution,
don't consider the "extra-info" on the stamp files. We need to add
a parameter to the stamp function to achieve this.

This avoids multiple update-rc.d populate_sysroot tasks executing in
parallel and breaking multiconfig builds.

(Bitbake rev: a9041fc96a14e718c0c1d1676e705343b9e872d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: fetch2: Handle multiconfig fetcher issues
Richard Purdie [Wed, 31 Aug 2016 10:34:23 +0000 (11:34 +0100)] 
bitbake: fetch2: Handle multiconfig fetcher issues

We need a separate fetcher cache per multiconfig as the revisions and other
SRC_URI data can potentially be different. For now, this is the simplest way
to achieve that and avoids linux-yocto kernel build failures when targeting
multiple machines for example.

(Bitbake rev: d98cc31d6668bc1d6372664593126b5e5132ef2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tinfoil: add a parse_recipe_file function
Paul Eggleton [Tue, 30 Aug 2016 02:16:22 +0000 (14:16 +1200)] 
bitbake: tinfoil: add a parse_recipe_file function

Parsing a recipe is such a common task for tinfoil-using scripts, and is
a little awkward to do properly, so add an API function to do it. This
should also isolate scripts a little from future changes to the internal
code. The first user of this will be the OpenEmbedded layer index update
script.

Part of the fix for [YOCTO #10192].

(Bitbake rev: 39780b1ccbd76579db0fc6fb9369c848a3bafa9d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cache: allow parsing a recipe with a custom config datastore
Paul Eggleton [Tue, 30 Aug 2016 08:45:09 +0000 (20:45 +1200)] 
bitbake: cache: allow parsing a recipe with a custom config datastore

To accommodate the OpenEmbedded layer index recipe parsing, we have to
have the ability to pass in a custom config datastore since it
constructs a synthetic one. To make this possible after the multi-config
changes, rename the internal _load_bbfile() function to parse_recipe(),
make it a function at the module level (since it doesn't actually need
to access any members of the class or instance) and move setting
__BBMULTICONFIG inside it since other code will expect that to be set.

Part of the fix for [YOCTO #10192].

(Bitbake rev: 5b3fedfe0822dd7effa4b6d5e96eaf42669a71df)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-diffsigs/bitbake-layers: Ensure tinfoil is shut down correctly
Paul Eggleton [Wed, 5 Aug 2015 14:47:12 +0000 (15:47 +0100)] 
bitbake: bitbake-diffsigs/bitbake-layers: Ensure tinfoil is shut down correctly

We should always shut down tinfoil when we're finished with it, either
by explicitly calling the shutdown() method or by using it as a
context manager ("with ...").

(Bitbake rev: 131e6dc4bbd197774d35d2b266bfb0816f6e6b1e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tinfoil: add context manager functions
Paul Eggleton [Wed, 5 Aug 2015 14:12:14 +0000 (15:12 +0100)] 
bitbake: tinfoil: add context manager functions

Since calling the shutdown() function is highly recommended, make
tinfoil objects a little easier to deal with by adding context manager
support - so you can do the following:

    with bb.tinfoil.Tinfoil() as tinfoil:
        tinfoil.prepare(True)
        ...

(Bitbake rev: f59bc6be2b4af1acdcf6a1b184956b5ffd297743)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Added "Exporting Variables to the Environment"
Scott Rifenbark [Thu, 1 Sep 2016 21:01:21 +0000 (14:01 -0700)] 
bitbake: bitbake-user-manual: Added "Exporting Variables to the Environment"

Fixes [YOCTO #10196]

Added a new section named "Exporting Variables to the Environment".
This section provides a dedicated description for how to export
variables to the shell.

(Bitbake rev: b543458dd67d24a228fa2db0ecb4ddd20016a560)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Corrected misspelled STAMPS_DIR
Scott Rifenbark [Mon, 22 Aug 2016 20:07:58 +0000 (13:07 -0700)] 
bitbake: bitbake-user-manual: Corrected misspelled STAMPS_DIR

Fixes [YOCTO #10141]

Section on Checksums (Signatures) had this variable referred to as
STAMP_DIR.

(Bitbake rev: 7dff6762148bc2ac8f81d89bbe595dfbfdf7b119)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinit-install: Fixes the install script failing when not finding any mmcblk devices
Alejandro Hernandez [Tue, 30 Aug 2016 05:08:37 +0000 (05:08 +0000)] 
init-install: Fixes the install script failing when not finding any mmcblk devices

The init-install.sh and init-install-efi.sh scripts perform a check
to see which devices are available on a booted system for installation.

Recently, the way we check for these devices changed on 993bfb,
greping for devices found on /sys/block/, this change caused the installer
to fail (at least) when not finding any mmcblk devices, due to the fact
that we call sh -e to execute this script, so any command (grep)
or pipeline exiting with a non-zero status causes the whole script to exit

This patch throws in a harmless true exit status at the end of the pipeline(s)
of the grep commands to avoid the installer script from exiting, fixing the issue.

[YOCTO #10189]

(From OE-Core rev: 384cf92ca9c3e66763c2c1ff2776c53d47ae25d6)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Fixed small wording in PKGR in the glossary
Scott Rifenbark [Mon, 22 Aug 2016 23:00:48 +0000 (16:00 -0700)] 
ref-manual: Fixed small wording in PKGR in the glossary

Fixes [YOCTO #10138]

(From yocto-docs rev: e49e5055e48f3c426090d2bc62b2bffbc2577dd0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Replaced "bitbake-dumpsigs" with "bitbake-dumpsig".
Scott Rifenbark [Mon, 22 Aug 2016 22:30:57 +0000 (15:30 -0700)] 
ref-manual: Replaced "bitbake-dumpsigs" with "bitbake-dumpsig".

Fixes [YOCTO #10141]

(From yocto-docs rev: e74a66d146e7f666a71f2dab6a5f78de5ad1966c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Updates to PKGV, PKGE, and PKGR.
Scott Rifenbark [Mon, 22 Aug 2016 22:22:40 +0000 (15:22 -0700)] 
ref-manual: Updates to PKGV, PKGE, and PKGR.

Fixes [YOCTO #10138]

Small wording changes.

(From yocto-docs rev: 66afe7560f086ea350df92b2b40ce5790d3d523c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual, ref-manual: Systemd-boot: Update documents for new EFI bootloader
Scott Rifenbark [Mon, 22 Aug 2016 21:55:05 +0000 (14:55 -0700)] 
dev-manual, ref-manual: Systemd-boot: Update documents for new EFI bootloader

Fixes [YOCTO #9707]

* Replaced gummiboot with systemd-boot in the dev-manual
* Replaced the gummiboot class with a new systemd-boot class
* Replaced the appropriate gummiboot variables in the glossary
  with new variables SYSTEMD_BOOT_CFG, SYSTEMD_BOOT_ENTRIES,
  and SYSTEMD_BOOT_TIMEOUT.

(From yocto-docs rev: 778b620e65cc68531b3c41aeb8f27f2a07eb0d00)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added bitbake.conf to list of example conf files
Scott Rifenbark [Mon, 22 Aug 2016 20:23:01 +0000 (13:23 -0700)] 
ref-manual: Added bitbake.conf to list of example conf files

Fixes [YOCTO #10144]

In the "Viewing Variable Names" section, there is a list of
example configuration files.  I added bitbake.conf to the list.

(From yocto-docs rev: 5a19d5c314881e223aaa567c8eb8f6ed4fbc01df)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Suggested fleshing out of the sigdata/siginfo documentation
Scott Rifenbark [Mon, 22 Aug 2016 20:13:14 +0000 (13:13 -0700)] 
ref-manual: Suggested fleshing out of the sigdata/siginfo documentation

Fixes [YOCTO #10141]

Provided several fixes to address this situation:

 * Renamed "Debugging Build Failures" to "Debugging Tools and
   Techniques" as it fit better the subsections.

 * Renamed "Viewing Dependencies" to "Viewing Dependencies
   Between Recipes and Tasks" as it fit better the description.

 * Added a new "Viewing Task Variable Dependencies" section
   to describe how sigdata and siginfo stuff can be used.

 * Replaced the contents of "4.3.4.1 Debugging" with a shorter
   bit that now references into the new section on veiwing
   task variable dependencies.

(From yocto-docs rev: 539d76366055bed74ccc926519e969324cac470d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Updated some variables in the glossary for nits.
Scott Rifenbark [Mon, 22 Aug 2016 17:54:28 +0000 (10:54 -0700)] 
ref-manual: Updated some variables in the glossary for nits.

Fixes [YOCTO #10138]

Small fixes for the following variables:

 * PKGV
 * PV
 * PE
 * PR

(From yocto-docs rev: 4ffc6a2fed330cec320e744561df3aad2a349cf5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Added developer note for updating to Neon
Scott Rifenbark [Fri, 19 Aug 2016 20:50:56 +0000 (13:50 -0700)] 
sdk-manual: Added developer note for updating to Neon

(From yocto-docs rev: bd21fdd102d7daa3f03b978760d9190a3815e243)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Updated boxes to check when installing pre-built mars yp plug-in
Scott Rifenbark [Fri, 19 Aug 2016 20:24:23 +0000 (13:24 -0700)] 
sdk-manual: Updated boxes to check when installing pre-built mars yp plug-in

Removed the Bitbake commander item and renamed the ADT one to SDK.

(From yocto-docs rev: 7bb7823bd9991ce95315b76bdfb3175c53198401)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Removed "snapshot" in an example version string.
Scott Rifenbark [Fri, 19 Aug 2016 20:15:07 +0000 (13:15 -0700)] 
sdk-manual: Removed "snapshot" in an example version string.

(From yocto-docs rev: 5ce7ad30cfc95b459a3da7b1cc540d1207d50dd8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Added note to link to the wiki on building an SDK
Scott Rifenbark [Fri, 19 Aug 2016 20:12:18 +0000 (13:12 -0700)] 
sdk-manual: Added note to link to the wiki on building an SDK

(From yocto-docs rev: 29704fa495a97279c5d4e29bee22f0aaa9e15cba)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Added an example name for an extensible SDK
Scott Rifenbark [Fri, 19 Aug 2016 20:06:02 +0000 (13:06 -0700)] 
sdk-manual: Added an example name for an extensible SDK

(From yocto-docs rev: bbc2ac36d19713242307b73393035d3fca6ed5a0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Fixed a broken "do_install" task link
Scott Rifenbark [Fri, 19 Aug 2016 19:57:02 +0000 (12:57 -0700)] 
sdk-manual: Fixed a broken "do_install" task link

(From yocto-docs rev: bef1a51e0c0a5a0145e942c1cc3f868f1cfaa03c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Fixed a broken link to the "base" class
Scott Rifenbark [Fri, 19 Aug 2016 19:54:54 +0000 (12:54 -0700)] 
sdk-manual: Fixed a broken link to the "base" class

(From yocto-docs rev: 22eba313276ea95030634eef8632e4e05cb1e484)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: "Linkified" the CC variable in section 3.3.4
Scott Rifenbark [Fri, 19 Aug 2016 19:50:30 +0000 (12:50 -0700)] 
sdk-manual: "Linkified" the CC variable in section 3.3.4

(From yocto-docs rev: d020cfc08e5d0679d7d5d3fd4269be877413e863)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Grammar fix.
Scott Rifenbark [Fri, 19 Aug 2016 19:40:26 +0000 (12:40 -0700)] 
sdk-manual: Grammar fix.

(From yocto-docs rev: 709481dd0711abda063120f775b35b58c9a2af15)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Updated the extensible SDK installer example
Scott Rifenbark [Fri, 19 Aug 2016 19:30:02 +0000 (12:30 -0700)] 
sdk-manual: Updated the extensible SDK installer example

(From yocto-docs rev: 3791f4abc21c565f7e258a550e66327dbbe7a384)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Re-worded Step 6 for deploying image in eclipse flow.
Scott Rifenbark [Fri, 19 Aug 2016 18:49:35 +0000 (11:49 -0700)] 
sdk-manual: Re-worded Step 6 for deploying image in eclipse flow.

(From yocto-docs rev: dd0b96a3917ab6b6c0a22af1d23f48beee6a2cd3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Added note about building the image for QEMU use
Scott Rifenbark [Fri, 19 Aug 2016 18:45:18 +0000 (11:45 -0700)] 
sdk-manual: Added note about building the image for QEMU use

Placed a note in step 4 of the "Workflow Using Eclipse(tm)"
section that an alternative method to getting the target
root filesystem and toolchain is to build them out.
Referenced the wiki.

(From yocto-docs rev: 60720be0fe0d29a0b695005bb40f5b0c25475b55)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Removed bad link
Scott Rifenbark [Fri, 19 Aug 2016 18:34:24 +0000 (11:34 -0700)] 
sdk-manual: Removed bad link

Dumped a link to pre-built kernel naming information.  The
link was to the sdk-manual, which made no sense.

(From yocto-docs rev: 9b7a9f8217d9251f2d7166afc0bb3b4235264201)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Provided better wording to intro running sdk env script.
Scott Rifenbark [Fri, 19 Aug 2016 18:18:11 +0000 (11:18 -0700)] 
sdk-manual: Provided better wording to intro running sdk env script.

(From yocto-docs rev: 41b9b8170179a59b6534db9e926d5086be7d4328)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Added note about building and SDK
Scott Rifenbark [Fri, 19 Aug 2016 17:07:20 +0000 (10:07 -0700)] 
sdk-manual: Added note about building and SDK

(From yocto-docs rev: 6518e03bc0259af04f01596f3f66c123616063e7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Used &DISTRO; for some output release versions.
Scott Rifenbark [Fri, 19 Aug 2016 16:52:44 +0000 (09:52 -0700)] 
sdk-manual: Used &DISTRO; for some output release versions.

(From yocto-docs rev: 4dbcd9957366665028adf955951af6256e67c152)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Created new Mars Eclipse appendix
Scott Rifenbark [Fri, 12 Aug 2016 17:20:16 +0000 (10:20 -0700)] 
sdk-manual: Created new Mars Eclipse appendix

Fixes [YOCTO #7546]

First draft of the new appendix supporting the Mars version
of eclipse.  New appendix file created and entry made to
the sdk-manual.xml file to include that new appendix file
into the main book.

(From yocto-docs rev: 2fb79c29bcbb5c0801f67d4c245c07c3aa9d2ca2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
sdk-manual: WIP on appendix C

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocore-image-kernel-dev.bb: Standardize use of _append and leading space.
Robert P. J. Day [Thu, 18 Aug 2016 09:23:55 +0000 (05:23 -0400)] 
core-image-kernel-dev.bb: Standardize use of _append and leading space.

(From OE-Core rev: 00027aee12f4bbc9a4ba607c91fcc1e0e8257fa2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-firmware: set a preferred provider for brcmfmac-sdio.bin
Ross Burton [Wed, 24 Aug 2016 21:50:57 +0000 (22:50 +0100)] 
linux-firmware: set a preferred provider for brcmfmac-sdio.bin

This recipe packages six alternatives to brcmfmac-sdio.bin but as they all have
equal priority there is no determinism on what provider will be used if they are
all installed.

Arbitrarily select 4339 to be the highest priority.

(From OE-Core rev: 72a3b7eda202336014e9246019885357d8025050)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogroff: correct the location path for awk
Zhenbo Gao [Wed, 24 Aug 2016 09:12:38 +0000 (17:12 +0800)] 
groff: correct the location path for awk

awk is located at /usr/bin/, but not /bin/

(From OE-Core rev: a3d9d310866fe37f9c072bc81203cbf1b7ca688b)

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoperl: Correct perl path for ptest
He Zhe [Wed, 24 Aug 2016 07:08:16 +0000 (15:08 +0800)] 
perl: Correct perl path for ptest

Substitute /usr/local with ${bindir}

(From OE-Core rev: bc372d65bc395290e1b7132908a3b943e1b73144)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolsbinitscripts: 9.64 -> 9.68
Wang Xin [Wed, 24 Aug 2016 06:45:03 +0000 (02:45 -0400)] 
lsbinitscripts: 9.64 -> 9.68

Upgrade lsbinitscripts from 9.64 to 9.68.

(From OE-Core rev: d3f6df98318f0751948041a129faed1bd0f7a7c6)

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemd: split systemd-container
Chen Qi [Fri, 19 Aug 2016 02:24:11 +0000 (10:24 +0800)] 
systemd: split systemd-container

Split container/vm related units into a new package, systemd-container.

The split mainly references Fedora 24, with a few differences.
Apart from the bash and zsh completion files, the differences include
adding systemd-spawn@.service into the systemd-container package.

[YOCTO #9835]

(From OE-Core rev: 2a4bf6e4c96a8104733add315166210f04c02caf)

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>
8 years agorootfs.py: allow removal of unneeded packages
Stephano Cetola [Wed, 17 Aug 2016 23:25:33 +0000 (16:25 -0700)] 
rootfs.py: allow removal of unneeded packages

Current functionality allows for the removal of certain packages
based on the read-only image feature. This patch extends this
functionality by adding the FORCE_RO_REMOVE variable, which will
remove these packages regardless of any image features.

[ YOCTO #9491 ]

(From OE-Core rev: cfb869ffd4c37c3cc8e6b3eb732c1a7b7cfc3cb0)

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agounfs3: Simplify simultaneous usage of "_append" and "+="
Robert P. J. Day [Wed, 17 Aug 2016 14:16:41 +0000 (10:16 -0400)] 
unfs3: Simplify simultaneous usage of "_append" and "+="

(From OE-Core rev: 3437c0da8e89acb414298a338e13a8ae3efaad27)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-perf-test-wrapper.sh: make workdir configurable
Markus Lehtonen [Fri, 19 Aug 2016 13:18:55 +0000 (16:18 +0300)] 
build-perf-test-wrapper.sh: make workdir configurable

New command line argument '-w' may be used to specify work dir other
than the default <GIT_DIR>/build-perf-test.

(From OE-Core rev: 824284895f25146520a624b7b97f7475d0135814)

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>
8 years agobuild-perf-test-wrapper.sh: make archive dir configurable
Markus Lehtonen [Fri, 19 Aug 2016 12:21:06 +0000 (15:21 +0300)] 
build-perf-test-wrapper.sh: make archive dir configurable

Add new command line argument '-a' that can be used to define the
directory where results (tarballs) are archived. Giving an empty string
disables archiving which makes sense if you store results in Git.

(From OE-Core rev: d53cf92847aa80724be4412801c993948a09cd27)

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>
8 years agobuild-perf-test-wrapper.sh: allow saving results in Git
Markus Lehtonen [Fri, 19 Aug 2016 11:57:56 +0000 (14:57 +0300)] 
build-perf-test-wrapper.sh: allow saving results in Git

Add new command line argument '-C' that allows saving results in a Git
repository.

(From OE-Core rev: 3d06795d8cd9017b042a7283c16ac71d4f6317a6)

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>
8 years agobuild-perf-test-wrapper.sh: parse args with getopts
Markus Lehtonen [Fri, 19 Aug 2016 10:48:58 +0000 (13:48 +0300)] 
build-perf-test-wrapper.sh: parse args with getopts

Use getopts for parsing the command line. This changes the usage so that
if a commit (to-be-tested) is defined it must be given by using '-c',
instead of a positional argument.

(From OE-Core rev: b1f77ba41033397a2b25977963682b86f2f76471)

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>
8 years agooe-build-perf-test: add {git_commit_count} keyword for --commit-results-tag
Markus Lehtonen [Tue, 23 Aug 2016 14:08:40 +0000 (17:08 +0300)] 
oe-build-perf-test: add {git_commit_count} keyword for --commit-results-tag

Makes it possible to create easily sortable tags. Also, the default tag
format is updated to use the new keyword.

(From OE-Core rev: e3161654d75dfc3b059c519205b38b26e3ffb215)

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>
8 years agooeqa.buildperf: add git commit count to result data
Markus Lehtonen [Tue, 23 Aug 2016 13:48:46 +0000 (16:48 +0300)] 
oeqa.buildperf: add git commit count to result data

This number represents the number of commits since the beginning of git
history until the tested revision. This helps e.g. in ordering results.

(From OE-Core rev: b52070dd057ff5b410cd193f9be2f25bc4c506cc)

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>
8 years agooe-build-perf-test: new {tag_num} keyword for --commit-results-tag
Markus Lehtonen [Tue, 23 Aug 2016 13:41:53 +0000 (16:41 +0300)] 
oe-build-perf-test: new {tag_num} keyword for --commit-results-tag

This makes it possible to create numbered tags, where the "basename" of
the tag is the same and the only difference is an (automatically)
increasing index number. This is useful if you do multiple test runs on
the same commit. For example, using:
--commit-results-tag {tester_host}/{git_commit}/{tag_num}

would give you tags something like:
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/0
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/1
...

The default tag format is updated to use this new keyword in order to
prevent unintentional tag name clashes.

(From OE-Core rev: cf2aba16338a147f81802f48d2e24a96c7133548)

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>
8 years agooe-build-perf-test: tag results committed to Git
Markus Lehtonen [Tue, 16 Aug 2016 12:56:56 +0000 (15:56 +0300)] 
oe-build-perf-test: tag results committed to Git

Create a Git tag when committing results to a Git repository. This patch
also implements --commit-results-tag command line option for controlling
the tag name. The value
is a format string where the following fields may be used:
- {git_branch} - target branch being tested
- {git_commit} - target commit being tested
- {tester_host} - hostname of the tester machine

Tagging can be disabled by giving an empty string to
--commit-results-tag. The option has no effect if --commit-results is
not defined.

(From OE-Core rev: 60059ff5b81d6ba9ba344161d51d1290559ac2df)

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>
8 years agooe-build-perf-test: pre-check Git repo when using --commit-results
Markus Lehtonen [Mon, 15 Aug 2016 10:38:43 +0000 (13:38 +0300)] 
oe-build-perf-test: pre-check Git repo when using --commit-results

Do a pre-check on the path that is specified with --commit-results
before running any tests. The script will create and/or initialize a
fresh Git repository if the given directory does not exist or if it is
an empty directory. It fails if it finds a non-empty directory that is
not a Git repository.

(From OE-Core rev: 759357a3bdbe75a3409b9e58979ab8b45d9b6ae8)

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>
8 years agooeqa.utils.git: implement init() method
Markus Lehtonen [Mon, 15 Aug 2016 12:19:44 +0000 (15:19 +0300)] 
oeqa.utils.git: implement init() method

Method for doing 'git init'.

(From OE-Core rev: c848e1dac68cd859a563a82286f8bc5ddabaa423)

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>
8 years agooe-build-perf-test: implement --commit-results-branch
Markus Lehtonen [Fri, 12 Aug 2016 11:11:16 +0000 (14:11 +0300)] 
oe-build-perf-test: implement --commit-results-branch

A new command line option for defining the branch where results are
commited. The value is actually a format string accepting two field
names:
- {git_branch} expands to the name of the target branch being tested
- {tester_host} expands to the hostname of the tester machine

The option has no effect if --commit-results is not used.

(From OE-Core rev: b54b63395ec632748a57a702812c8a9a07af35ab)

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>
8 years agooe-build-perf-test: support committing results data to Git
Markus Lehtonen [Fri, 12 Aug 2016 10:53:48 +0000 (13:53 +0300)] 
oe-build-perf-test: support committing results data to Git

Implement a new command line option '--commit-results' which commits the
test results data into a Git repository. The given path must be an
existing initialized local Git repository.

(From OE-Core rev: b6f635513ca971402e7a970acc2168fb5d4a9476)

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>
8 years agooeqa.buildperf: use term commit instead of revision
Markus Lehtonen [Tue, 23 Aug 2016 13:11:21 +0000 (16:11 +0300)] 
oeqa.buildperf: use term commit instead of revision

This is basically a internal change, at this point. Term 'commit' better
represents the data we actually have. Term 'revision' is more vague and
could be understood to point to a tag object, for example.

(From OE-Core rev: f49cf7959b8aaa52b79b22a5884c6aa580a50302)

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>