]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agobitbake: tinfoil: ensure get_recipe_info() returns Null if recipe not found
Paul Eggleton [Wed, 8 Nov 2017 02:20:27 +0000 (15:20 +1300)] 
bitbake: tinfoil: ensure get_recipe_info() returns Null if recipe not found

If a matching recipe is not found then return Null instead of raising
KeyError because we were blindly using None as a key for pkg_fn.

(Bitbake rev: 431e89e322850a2497157c3c0843da9df6bc9a3e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake-layers: show-recipes: fix help to mention -i supports multiple classes
Paul Eggleton [Wed, 8 Nov 2017 02:17:08 +0000 (15:17 +1300)] 
bitbake: bitbake-layers: show-recipes: fix help to mention -i supports multiple classes

The -i option supports more than one class, but the help didn't mention
that.

(Bitbake rev: 1060955c4aa2ef66cdb4f0549f9bd8c1c332673c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake-layers: remove-layer: support removing multiple layers at a time
Paul Eggleton [Wed, 8 Nov 2017 02:17:07 +0000 (15:17 +1300)] 
bitbake: bitbake-layers: remove-layer: support removing multiple layers at a time

If you can add multiple layers at once, it stands to reason that you
should also be able to remove more than one at a time.

(Bitbake rev: 2f2033836a5ce4064d9e4f263788a563001bc008)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake-layers: add-layer: enable adding multiple layers at once
Paul Eggleton [Wed, 8 Nov 2017 02:17:06 +0000 (15:17 +1300)] 
bitbake: bitbake-layers: add-layer: enable adding multiple layers at once

Allow specifying multiple layers with bitbake-layers add-layer so that
you can add more than one in a single command. This is not just useful,
it's actually pretty important if you need to add a layer and its
dependencies at the same time - since we now go through a parse process
when the layer is added, without this you have to add them all in just
the right order and wait for the parse each time which is somewhat
painful.

(Bitbake rev: ad6b14f01aa326a1c6baa31bfac33be238bce805)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: runqueue: Fix typo builable -> buildable
Richard Purdie [Sat, 11 Nov 2017 12:19:11 +0000 (12:19 +0000)] 
bitbake: runqueue: Fix typo builable -> buildable

(Bitbake rev: 1e59ae8729513e19a801c723b67911491c2a66fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobase: add automatic dependency on xz-native for .txz SRC_URI
André Draszik [Fri, 17 Nov 2017 21:43:51 +0000 (21:43 +0000)] 
base: add automatic dependency on xz-native for .txz SRC_URI

.txz is .tar.xz, so add it, as this can actually be found in the
wild.

(From OE-Core rev: 58af8c2e4bd17692274fc5a6ac8f8af84319fec6)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo: Use right dynamic linker on musl
Khem Raj [Fri, 17 Nov 2017 21:58:18 +0000 (13:58 -0800)] 
go: Use right dynamic linker on musl

(From OE-Core rev: 0d6e83757fc26d3e88bfe3c2437b5c7c9be09118)

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 agonet-tools: correctly set COPTS and LOPTS
Joe Slater [Tue, 14 Nov 2017 21:53:28 +0000 (13:53 -0800)] 
net-tools: correctly set COPTS and LOPTS

COPTS will be ignored if it is defined in the environment.
It must be passed directly to make.  To be consistent, we
pass LOPTS that way, too.

(From OE-Core rev: dede6d3d37aab72ae897c3709d21108fa75f6673)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostrace: 4.18 -> 4.19
Robert Yang [Mon, 13 Nov 2017 17:58:50 +0000 (01:58 +0800)] 
strace: 4.18 -> 4.19

Rebase Makefile-ptest.patch

(From OE-Core rev: 481bceb3f23f55a537ad4bde8bf6226f60fdeb46)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsdl2: 2.0.5 -> 2.0.7
Robert Yang [Mon, 13 Nov 2017 17:58:49 +0000 (01:58 +0800)] 
libsdl2: 2.0.5 -> 2.0.7

* Drop linkage.patch, this version already links .lo object.
* Remove backported patch fix-build-failure-on-ppc.patch
* Update LIC_FILES_CHKSUM since the year is changed.

(From OE-Core rev: 2702506f48a1b7e72e1786d24bd0113396dbc85d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoless: 487 -> 527
Robert Yang [Mon, 13 Nov 2017 17:58:48 +0000 (01:58 +0800)] 
less: 487 -> 527

(From OE-Core rev: 14620d2882cfb59aac260136bb43568108ab8cf0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agologrotate: 3.12.3 -> 3.13.0
Robert Yang [Mon, 13 Nov 2017 17:58:47 +0000 (01:58 +0800)] 
logrotate: 3.12.3 -> 3.13.0

(From OE-Core rev: bd6bd5f8773459a3671e39925eb5891c0ae74367)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoliberror-perl: 0.17024 -> 0.17025
Robert Yang [Mon, 13 Nov 2017 17:58:46 +0000 (01:58 +0800)] 
liberror-perl: 0.17024 -> 0.17025

(From OE-Core rev: 5d148d34642793b7cf0c795321b6779b2f6b0a33)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogit: 2.13.3 -> 2.15.0
Robert Yang [Mon, 13 Nov 2017 17:58:45 +0000 (01:58 +0800)] 
git: 2.13.3 -> 2.15.0

(From OE-Core rev: d138c3c40206cc4f5d1ff06663ce9c3ea8846563)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agofile: 5.31 -> 5.32
Robert Yang [Mon, 13 Nov 2017 17:58:44 +0000 (01:58 +0800)] 
file: 5.31 -> 5.32

Rebase debian-742262.patch for new source.

(From OE-Core rev: 4231e238d9fe6b2178b900cde49ca17ce5aa1f47)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoe2fsprogs: 1.43.5 -> 1.43.7
Robert Yang [Mon, 13 Nov 2017 17:58:43 +0000 (01:58 +0800)] 
e2fsprogs: 1.43.5 -> 1.43.7

Remove reproducible-doc.patch which is already in the source.

(From OE-Core rev: c76d6f22e72399cab4d2652a7431a390907e1ba2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoautoconf-archive: inherit allarch and fix package splitting
Chen Qi [Mon, 13 Nov 2017 05:26:22 +0000 (13:26 +0800)] 
autoconf-archive: inherit allarch and fix package splitting

autoconf-archive is a set of common m4 macros, it should be allarch,
just like it is on other distros.

Also fix package splitting. With current package splitting,
autoconf-archive itself contains almost nothing, the m4 macros are
contained in its dev package. However, autoconf-archive should
contain those m4 marcos itself.

(From OE-Core rev: 8cbf5523f002e8ae0d8123755d2cbc3e8b0138ac)

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 agoiproute2: upgrade to 4.13
Changhyeok Bae [Mon, 13 Nov 2017 16:06:16 +0000 (16:06 +0000)] 
iproute2: upgrade to 4.13

- 0001-include-stdint.h-explicitly-for-UINT16_MAX.patch is already
  applied to upstream.
- Rebase two patches.

(From OE-Core rev: 9839de8861c5fb2067664542045c0728653bbcb4)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: Upgrade to 17.2.5
Otavio Salvador [Mon, 13 Nov 2017 13:02:16 +0000 (11:02 -0200)] 
mesa: Upgrade to 17.2.5

This upgrades the recipe to 17.2.5 bugfix release.

The changes can be seen at:

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

(From OE-Core rev: 638b4ac5279225b89edcd411e39aa2c22617dcd5)

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 agorecipetool: create: fix failure handling included dicts
Paul Eggleton [Sun, 12 Nov 2017 22:00:25 +0000 (11:00 +1300)] 
recipetool: create: fix failure handling included dicts

If a setup dict in a python setup.py file pulled in the contents of
another dict (e.g.  **otherdict), then we got an error when mapping
the keys because the key is None in that case. Skip those keys to avoid
the error (we pick up the values directly in any case).

A quick reproducer for this issue:

recipetool create https://files.pythonhosted.org/packages/source/p/pyqtgraph/pyqtgraph-0.10.0.tar.gz

(From OE-Core rev: ae62a9953e219df5147ed4a5ae3f4163d51cff28)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-firmware: Remove iwlwifi-8000C-19 SRC_URI
Saul Wold [Fri, 10 Nov 2017 17:41:32 +0000 (09:41 -0800)] 
linux-firmware: Remove iwlwifi-8000C-19 SRC_URI

Since it's been removed from the upstream repo and not fetchable
remove it here.  The newer firmware supports the device correctly.

(From OE-Core rev: 8b8c40bdbd09ddd1409dc30e04ef847f6a15f109)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosite/microblaze-linux: Add MicroBlaze linux site info
Nathan Rossi [Fri, 10 Nov 2017 17:04:17 +0000 (03:04 +1000)] 
site/microblaze-linux: Add MicroBlaze linux site info

Add linux site info for the MicroBlaze architecture. This is based on
the site info from meta-xilinx and additional options based on config
options that other *-linux architecture site info files define.

(From OE-Core rev: def626a46efdeeaf867a27464aed463d265d777c)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agositeinfo.bbclass: Add microblaze(eb/el) linux site info targets
Nathan Rossi [Fri, 10 Nov 2017 17:04:17 +0000 (03:04 +1000)] 
siteinfo.bbclass: Add microblaze(eb/el) linux site info targets

Add mappings for the microblaze(eb/el) linux and linux-musl variants to
use architecture common linux site data.

(From OE-Core rev: 634d1ed2cd89b8ac28b918be3561b135f7418b25)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinsane.bbclass: add microblaze-*-elf to machine dictionary
Nathan Rossi [Fri, 10 Nov 2017 16:58:16 +0000 (02:58 +1000)] 
insane.bbclass: add microblaze-*-elf to machine dictionary

Add the definitions for microblaze-*-elf targets to the machine
dictionary.

(From OE-Core rev: a0104e47217e3a46d319a76929aec5b45c3ea6f9)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicu: CVE-2017-14952
Ovidiu Panait [Fri, 10 Nov 2017 15:46:10 +0000 (17:46 +0200)] 
icu: CVE-2017-14952

Double free in i18n/zonemeta.cpp in International Components for Unicode
(ICU) for C/C++ through 59.1 allows remote attackers to execute arbitrary
code via a crafted string, aka a "redundant UVector entry clean up
function call" issue.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2017-14952

Upstream patches:
http://bugs.icu-project.org/trac/changeset/40324/trunk/icu4c/source/i18n/zonemeta.cpp

(From OE-Core rev: 4ff12a8bf2b8d094085afbe8fa1d43f781cfa79d)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu.inc: Drop rng-tools
Richard Purdie [Mon, 13 Nov 2017 17:33:26 +0000 (17:33 +0000)] 
qemu.inc: Drop rng-tools

This was included to allow hwrng to feed data to /dev/random. Since the
kernel does this itself (confirmed by the recent kernel Kconfig text change
, code inspection and local testing), we can drop rng-tools from these
images.

(From OE-Core rev: d4b17e841b497f0ee4d31a8c967b5ce1b76157e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolttng-modules: Upgrade to 2.9.5 release
Otavio Salvador [Thu, 9 Nov 2017 13:34:59 +0000 (11:34 -0200)] 
lttng-modules: Upgrade to 2.9.5 release

This upgrade is critical as it fixes the support for Linux 4.14 LTS kernel.

The changlog is:

2017-10-05 LTTng modules 2.9.5
* Fix: update block instrumentation for 4.14 kernel
* Revert "Fix: update block instrumentation for kernel 4.14"

2017-10-03 (National Techies Day) LTTng modules 2.9.4
* Fix: version check error in btrfs instrumentation
* Fix: update btrfs instrumentation for kernel 4.14
* Fix: update writeback instrumentation for kernel 4.14
* Fix: update block instrumentation for kernel 4.14
* Fix: vmalloc wrapper on kernel < 2.6.38
* Fix: vmalloc wrapper on kernel >= 4.12
* Add kmalloc failover to vmalloc
* Fix: mmap: caches aliased on virtual addresses
* Fix: update ext4 instrumentation for kernel 4.13
* Fix: Sleeping function called from invalid context
* Fix: sched for v4.11.5-rt1
* Fix: handle missing ftrace header on v4.12

This also removes the previously backported patches as they are part
of 2.9.4 release and the missing fix is part of 2.9.5 release.

(From OE-Core rev: 3ca3f8b2dbf0fec6a188ee2c10238704e4642c93)

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 agogawk: upgrade to 4.2.0
Chen Qi [Thu, 9 Nov 2017 02:12:14 +0000 (10:12 +0800)] 
gawk: upgrade to 4.2.0

test-arrayind1-Remove-hashbang-line.patch is dropped as it has
been merged in new version.

(From OE-Core rev: c84c8666581bfd64b21498330925146d8fe81075)

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 agocups: upgrade to 2.2.6
Chen Qi [Thu, 9 Nov 2017 02:12:13 +0000 (10:12 +0800)] 
cups: upgrade to 2.2.6

(From OE-Core rev: 3b6d600ac8e91fd489780ca87a21bc56f2aae60f)

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 agosysstat: upgrade to 11.6.1
Chen Qi [Thu, 9 Nov 2017 02:12:12 +0000 (10:12 +0800)] 
sysstat: upgrade to 11.6.1

(From OE-Core rev: abe2c55b719bdff40d9d423a84bfde08d9e09631)

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 agosudo: upgrade to 1.8.21p2
Chen Qi [Thu, 9 Nov 2017 02:12:11 +0000 (10:12 +0800)] 
sudo: upgrade to 1.8.21p2

(From OE-Core rev: a3eccc5b0f0e95c18b3d40cc82d576fbe45b4547)

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 agokexec-tools: 2.0.14 -> 2.0.15
zhengrq [Wed, 8 Nov 2017 09:56:02 +0000 (17:56 +0800)] 
kexec-tools: 2.0.14 -> 2.0.15

1) Upgrade kexec-tools from 2.0.14 to 2.0.15.
2) Remove patches that are included in 2.0.15.
   kexec-tools/0001-arm64-Disable-PIC.patch
   kexec-tools/0001-kexec-exntend-the-semantics-of-kexec_iomem_for_each_.patch
   kexec-tools/0001-vmcore-dmesg-Define-_GNU_SOURCE.patch
   kexec-tools/0001-x86-x86_64-Fix-format-warning-with-die.patch
   kexec-tools/0002-kexec-generalize-and-rename-get_kernel_stext_sym.patch
   kexec-tools/0002-ppc-Fix-format-warning-with-die.patch
   kexec-tools/0003-arm64-identify-PHYS_OFFSET-correctly.patch
   kexec-tools/0004-arm64-kdump-identify-memory-regions.patch
   kexec-tools/0005-arm64-kdump-add-elf-core-header-segment.patch
   kexec-tools/0006-arm64-kdump-set-up-kernel-image-segment.patch
   kexec-tools/0007-arm64-kdump-set-up-other-segments.patch
   kexec-tools/0008-arm64-kdump-add-DT-properties-to-crash-dump-kernel-s.patch
   kexec-tools/0009-arm64-kdump-Add-support-for-binary-image-files.patch

(From OE-Core rev: d2f196351a8e30542d5fb1561cb7960b6673c5ab)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosbc: fix license
Radek Dostál [Fri, 10 Nov 2017 12:11:05 +0000 (13:11 +0100)] 
sbc: fix license

sbc library itself is licensed under LGPLv2.1 or higher as mentioned in
sbc/sbc.h or any other file in sbc directory.

sbc test applications are licensed under GPLv2 or higher as mentioned in
src/sbcenc.c or any other file in src directory

Reported-by: Vladimir Koutny <vladimir.koutny@streamunlimited.com>
(From OE-Core rev: ef34ed6282627005d0077f88235fdbe42dea23a3)

Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosbc: move examples to their own package
Radek Dostál [Fri, 10 Nov 2017 12:11:04 +0000 (13:11 +0100)] 
sbc: move examples to their own package

Suggested-by: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: ffd9a1b5b32aeb44ff908378fdc6e2cc9595deff)

Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosqlite3: upgrade to 3.21.0
Maxin B. John [Fri, 10 Nov 2017 12:00:27 +0000 (14:00 +0200)] 
sqlite3: upgrade to 3.21.0

Remove upstreamed patch:
        1. sqlite3-fix-CVE-2017-13685.patch

(From OE-Core rev: 483711e676cd063a873179bdb2daedf56de0aa75)

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 agolibproxy: upgrade to 0.4.15
Maxin B. John [Fri, 10 Nov 2017 12:00:26 +0000 (14:00 +0200)] 
libproxy: upgrade to 0.4.15

0.4.14 -> 0.4.15

(From OE-Core rev: 4ec39933d2290c484e34ac803420155c7a2feee7)

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 agoquota: upgrade to 4.04
Maxin B. John [Fri, 10 Nov 2017 12:00:24 +0000 (14:00 +0200)] 
quota: upgrade to 4.04

4.03 -> 4.04

Removed the following backported patches:
        1. 0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch
        2. 0001-Fix-build-with-disabled-ldap.patch
        3. 0001-Use-NGROUPS_MAX-instead-of-NGROUPS.patch
        4. 0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch
        5. 0004-Fix-warnings-due-to-missing-stdlib.h.patch

Refreshed the following patch:
        1. replace_getrpcbynumber_r.patch

(From OE-Core rev: 0fb3d1fa1af5a2ff7bbc4ef1c84e4135f119d701)

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 agoharfbuzz: upgrade to 1.6.3
Maxin B. John [Fri, 10 Nov 2017 12:00:23 +0000 (14:00 +0200)] 
harfbuzz: upgrade to 1.6.3

1.4.8 -> 1.6.3

(From OE-Core rev: bbc18d587d2f9283e7f503f82764849d3a3e55cf)

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 agoofono: upgrade to 1.21
Maxin B. John [Fri, 10 Nov 2017 12:00:22 +0000 (14:00 +0200)] 
ofono: upgrade to 1.21

1.20 -> 1.21

(From OE-Core rev: 24fe10634c5e6f17bab2fb5235eb96a2700663cd)

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 agohostap-utils: remove obsolete driver
Ross Burton [Thu, 9 Nov 2017 15:44:21 +0000 (15:44 +0000)] 
hostap-utils: remove obsolete driver

HostAP is the user-space part of the Intersil Prism 2/2.5/3 wifi chipset.  It's
also a decade old and obsolete, so remove it from oe-core.

(From OE-Core rev: 63be0678bbe3c3809cdd75f1aabd8e031341719a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackagegroup-base: remove hostap-utils from wifi support
Ross Burton [Thu, 9 Nov 2017 15:49:18 +0000 (15:49 +0000)] 
packagegroup-base: remove hostap-utils from wifi support

hostap-utils is the userspace part of the Intersil Prism2/2.5/3 wifi driver,
which is a decade old and obsolete.  Stop pulling it into all images via the
base packagegroup, BSPs which still need this driver can do that themselves.

(From OE-Core rev: 5988d9e55bac5d5d703f86b05301812be328602b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopoky: Switch to post release name/version
Peter Kjellerstedt [Tue, 14 Nov 2017 10:24:28 +0000 (11:24 +0100)] 
poky: Switch to post release name/version

(From meta-yocto rev: 5d49cf4cde6945218aade88adcfa049b0e6ac20a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Updated bitbake-layers overview section.
Scott Rifenbark [Wed, 8 Nov 2017 22:32:34 +0000 (14:32 -0800)] 
dev-manual: Updated bitbake-layers overview section.

The section was missing three of the summaries for the command when
you used --help to find out about it.  I added these in to the section.

(From yocto-docs rev: ac9c58322b7f8533335a9d4379aa031bb1de7be6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Removed note about yocto-layer being deprecated.
Scott Rifenbark [Mon, 6 Nov 2017 17:27:51 +0000 (09:27 -0800)] 
dev-manual: Removed note about yocto-layer being deprecated.

Deprecation of yocto-layer occurred in 2.4.  For 2.5, we do not
need to mention this fact in the note.

(From yocto-docs rev: 619b74422baf3b531e2fc3db50a95019178a1c09)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Updated supported distro list
Scott Rifenbark [Fri, 3 Nov 2017 15:57:24 +0000 (08:57 -0700)] 
ref-manual: Updated supported distro list

Removed Fedora 24.

(From yocto-docs rev: 4383c2ac9f1f9ca925518874dc40b8394a2865a4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Set up for "sumo" (YP 2.5) Release.
Scott Rifenbark [Mon, 30 Oct 2017 20:12:17 +0000 (13:12 -0700)] 
documentation: Set up for "sumo" (YP 2.5) Release.

poky.ent - updated variables
<manual>.xml - updated manual revision tables
mega-manual.sed - replaced "2.4" with "2.5" for links.

(From yocto-docs rev: 15d1f805ad11fba145155dcec17b7ec8a21ad487)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: 2.4 Migration Revisions
Kristi Rifenbark [Mon, 30 Oct 2017 16:50:05 +0000 (09:50 -0700)] 
ref-manual: 2.4 Migration Revisions

(From yocto-docs rev: 0802de0ca64b7d3581fb2e3ff26d2f72802ade61)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: 2.4 Migration Revisions
Kristi Rifenbark [Mon, 30 Oct 2017 16:39:30 +0000 (09:39 -0700)] 
ref-manual: 2.4 Migration Revisions

(From yocto-docs rev: 1778a743ba3a8b82e96d1e9948e86048d77a8e77)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobeaglebone-yocto: rename beaglebone machine to beaglebone-yocto
Joshua Lock [Thu, 9 Nov 2017 14:59:06 +0000 (14:59 +0000)] 
beaglebone-yocto: rename beaglebone machine to beaglebone-yocto

The beaglebone BSP provided in this layer is a reference implementation
usingonly mainline components available in core Yocto Project layers,
whereas Texas Instruments maintain a full-featured BSP in the meta-ti
layer.

Rename the reference machine to prevent namespace collisions with the
version maintained by the SoC vendor.

[YOCTO #12326]

(From meta-yocto rev: e32882938eca7f50548deab84dab78b4aef31b95)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodhcp: fix build issue with libxml2 support
Awais Belal [Wed, 8 Nov 2017 07:58:41 +0000 (12:58 +0500)] 
dhcp: fix build issue with libxml2 support

A missing case breaks the build when libxml2 is
required and found appropriately. The third argument
to the function AC_SEARCH_LIB is action-if-found which
was mistakenly been used for the case where the library
is not found and hence breaks the configure phase
where it shoud actually pass.
We now pass on silently when action-if-found is
executed.

(From OE-Core rev: a17f3ec910366e9e7551fa24fbc07929b9584341)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodhcp: use ${BPN} instead of ${PN} for user
Dan Dedrick [Wed, 8 Nov 2017 01:12:20 +0000 (20:12 -0500)] 
dhcp: use ${BPN} instead of ${PN} for user

${PN} will include additional prefixes, such as lib32-, which are not
actually a part of the user that is being added. This was creating an unused
user and possibly missing the actually intended user. By using ${BPN} this
will remove all additional extra information and consistently be "dhcp".

(From OE-Core rev: 77375b50e23555c3a2d24f2b41771e4d43c5b026)

Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_ipk.bbclass: handle only whitespace in PACKAGE_EXCLUDE
Andre McCurdy [Wed, 25 Oct 2017 04:55:04 +0000 (21:55 -0700)] 
package_ipk.bbclass: handle only whitespace in PACKAGE_EXCLUDE

If PACKAGE_EXCLUDE is constructed using _append then it's possible
that the final value will contain only a space. Currently that
results in build failures due to an invalid opkg command line.

(From OE-Core rev: f832f57ba9f6babb946fbde580004acfd85667e1)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: backport patch to fix miscompilation on mips64
Chen Qi [Wed, 8 Nov 2017 02:33:52 +0000 (10:33 +0800)] 
gcc: backport patch to fix miscompilation on mips64

Backport a patch to fix miscompilation on mips64.

We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.

The problem is due to the miscompilation of gcc for mips64 platform, thus
backporting patch from upstream to fix this problem.

[YOCTO #12266]

(From OE-Core rev: cfa13e5c756849820644d86d1882602649db6a9c)

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 agoRevert "gcc: fix miscompilation on mips64"
Ross Burton [Thu, 9 Nov 2017 21:41:44 +0000 (21:41 +0000)] 
Revert "gcc: fix miscompilation on mips64"

This reverts commit b656fd9267b1f36d46ca20a1c0bcfaedbf7df438.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitramfs-live-install: Add aarch64 arch to COMPATIBLE_HOST.
Peter Griffin [Wed, 8 Nov 2017 10:50:39 +0000 (10:50 +0000)] 
initramfs-live-install: Add aarch64 arch to COMPATIBLE_HOST.

So that we can use this on aarch64 with HiKey board.

(From OE-Core rev: d78a3cd2a76b381b0395d99201f670c94fb594c7)

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-firmware: Bump to bf04291 revision
Otavio Salvador [Wed, 8 Nov 2017 13:17:16 +0000 (11:17 -0200)] 
linux-firmware: Bump to bf04291 revision

This includes following changes:

bf04291 WHENCE: Add new qed firmware
d8fc990 WHENCE: Add new radeon firmware
7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry
18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2"
4ebfab3 ath10k: QCA6174 hw3.0: update board-2.bin
96a7402 ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00051-QCARMSWP-1
59bf7e2 cxgb4: update firmware to revision 1.16.63.0

The MD5 checksum of WHENCE license file was due the changes above as
the firmware versions are listed there. It had no license term
changes.

(From OE-Core rev: aea6ce797cc1b1ecc199979eb12aa42de8ff73d4)

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 agocmake: Upgrade to 3.9.5
Otavio Salvador [Wed, 8 Nov 2017 13:17:15 +0000 (11:17 -0200)] 
cmake: Upgrade to 3.9.5

(From OE-Core rev: 80d3766aab011979ce01ec295696e4939ce43b87)

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 agolibdrm: upgrade to 2.4.88
Otavio Salvador [Wed, 8 Nov 2017 13:17:14 +0000 (11:17 -0200)] 
libdrm: upgrade to 2.4.88

(From OE-Core rev: 74e4e8277301e85468f1fad68fa52591e5f296fd)

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 agobase.bbclass: increase indent in get_layers_branch_rev() and buildcfg_vars()
Andre McCurdy [Thu, 9 Nov 2017 02:53:34 +0000 (18:53 -0800)] 
base.bbclass: increase indent in get_layers_branch_rev() and buildcfg_vars()

Although it may not appeal so much to users to prefer 80x24 consoles,
the general trend is for screens to get bigger and the current output
has started to look a little cramped on a modern HD display.

Increasing from 17 to 20 is obviously arbitrary, but does give enough
space to cleanly display layers such as "meta-nodejs-contrib" and
"meta-virtualization" while still keeping the output fairly compact.

(From OE-Core rev: e556b85a452a4ebf34a0c9581608f135bbad2e2c)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: Upgrade to 17.2.4 release
Otavio Salvador [Wed, 8 Nov 2017 13:17:13 +0000 (11:17 -0200)] 
mesa: Upgrade to 17.2.4 release

Upgrade to a new stable release and drop patches applied on upstream.

For a full release notes, please see:
https://mesa3d.org/relnotes/17.2.0.html
https://mesa3d.org/relnotes/17.2.1.html
https://mesa3d.org/relnotes/17.2.2.html
https://mesa3d.org/relnotes/17.2.3.html
https://mesa3d.org/relnotes/17.2.4.html

(From OE-Core rev: 77e79af4234ac0e96473d4691fd0f1ca759f3447)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
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 agodevtool: implement conditional patch handling
Paul Eggleton [Tue, 31 Oct 2017 03:48:05 +0000 (16:48 +1300)] 
devtool: implement conditional patch handling

If you have a recipe that uses overrides to conditionally extend
SRC_URI to add additional patches, then you will often need to update
those patches if you're making other changes to the source tree (for
example if you're upgrading the underlying source). Make this possible
with devtool by creating devtool-override-* branches for each override
that conditionally appends/prepends SRC_URI, and have devtool
update-recipe / finish check each branch out in turn and update the
corresponding patches.

A current example of a recipe that does this is the quota recipe - it
applies an additional patch if musl is the selected C library (i.e.
libc-musl is in OVERRIDES).

Note that use of this functionality does require some care - in
particular, updates to patches that appear on the main branch (named
"devtool" by default) should be made there and not only on one of the
specific devtool-override-* branches that are created for each override.
The recommended procedure is to make the changes you want to make to the
main branch first, then check out and rebase each devtool-override-*
branch, testing each one by activating the corresponding configuration,
and then finally run devtool finish.

Fixes [YOCTO #11516].

(From OE-Core rev: aa87603d1ffd695027847f4df75c0406cf4e14d8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: finish: add dry-run option
Paul Eggleton [Tue, 31 Oct 2017 22:56:18 +0000 (11:56 +1300)] 
devtool: finish: add dry-run option

If you're not sure what changes devtool finish is going to make, or
you're not sure you're finished with your modifications, it is useful to
be able to see what devtool finish is going to do beforehand, so add
a -N/--dry-run option to make that possible.

(It's also very useful for debugging devtool finish itself.)

(From OE-Core rev: 05f2d5d2ce00c53825ccea5cd9c2262f9d27a638)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: finish: improve reporting for removed files
Paul Eggleton [Tue, 7 Nov 2017 21:52:15 +0000 (10:52 +1300)] 
devtool: finish: improve reporting for removed files

If a file is going to be effectively removed from the destination by
devtool finish, we should report that rather than just reporting that
we're removing files from the workspace. This is a little tricky because
the way we actually operate when finishing is to:
 (1) remove all original files (as recorded by devtool upgrade, if that
     was used)
 (2) as part of updating the recipe file, remove the files from next to
     the new recipe (i.e. in the workspace for an upgrade, real recipe
     otherwise) corresponding to commits not in the git tree
 (3) copy over remaining files from the workspace to the destination

To report the files removed with respect to what was originally there,
we need to swap steps 1 and 2 so we can see what no longer exists after
the deletion, and suppress the reporting currently done in step 2 -
however, we still want to report removal in step 2 for the non-upgrade
case, so the latter is conditional.

(From OE-Core rev: db1d663507509cac9d97d7c96ac8590478767ba2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: show a better error message if meta-files aren't found
Paul Eggleton [Tue, 31 Oct 2017 01:24:42 +0000 (14:24 +1300)] 
devtool: show a better error message if meta-files aren't found

If the files that the devtool-source class is supposed to create in the
source tree aren't found in the temporary directory then we know that
the class hasn't worked properly - say that explicitly.

(From OE-Core rev: 4621152509c037532b133e5e6d5b73bda7ddb602)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: reformat --no-patch warning message
Paul Eggleton [Mon, 30 Oct 2017 22:30:49 +0000 (11:30 +1300)] 
devtool: upgrade: reformat --no-patch warning message

* Only log one warning message instead of one per line
* Be a bit more verbose
* "if list" is more pythonic than "if len(list)"

(From OE-Core rev: 2d11e9e6e73648c1cb514c0c10111c7886acae78)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: automatically handle changes to source subdirectory
Paul Eggleton [Mon, 30 Oct 2017 04:16:56 +0000 (17:16 +1300)] 
devtool: upgrade: automatically handle changes to source subdirectory

If the directory where the source code extracts to changes (for
example, when upgrading iucode-tool from 1.5 to 2.1.1, the subdirectory
in the tarball changed from "iucode_tool-${PV}" to "iucode-tool-${PV}")
then handle this automatically. Also handle when it changes to match the
default S value (i.e. "${WORKDIR}/${BP}") in which case we just drop
setting S in the recipe.

Fixes [YOCTO #10939].

(From OE-Core rev: d29881a652bf03627d257a1eac5f02ec17315b8b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: show messages before source extraction steps
Paul Eggleton [Mon, 30 Oct 2017 03:35:29 +0000 (16:35 +1300)] 
devtool: upgrade: show messages before source extraction steps

Give the user a little more insight into what's being done.

(From OE-Core rev: 9cf2089bd22b9fc4eb0eec8d4924e44519412dad)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipetool: create: show a warning for github archive URLs
Paul Eggleton [Thu, 26 Oct 2017 21:12:47 +0000 (10:12 +1300)] 
recipetool: create: show a warning for github archive URLs

github archive URLs are not guaranteed to be stable [1] and thus we
should show a warning if a user specifies one to recipetool create (or
devtool add).

[1] http://lists.openembedded.org/pipermail/openembedded-core/2017-September/142519.html

(From OE-Core rev: 7e84a777aa924a237b4e604120ebf8a4b3ba53b2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: stop always moving workspace to end of BBLAYERS
Paul Eggleton [Fri, 13 Oct 2017 03:49:34 +0000 (16:49 +1300)] 
devtool: stop always moving workspace to end of BBLAYERS

I noticed that using bitbake-layers add-layer followed by a devtool
command resulted in bitbake re-parsing all of the recipes, which is
annoying. Upon closer inspection I could see that devtool was moving the
workspace layer path to the end of BBLAYERS if it happened to be
somewhere in the middle - there's no need for it to be doing this. This
occurred because we were passing the current workspace path to remove
and the "new" path to add even if the path is not being changed, and I
think earlier versions of bb.utils.edit_bblayers_conf() didn't move the
existing entry under these circumstances as it clearly does now. Fix it
so we only pass the path to be removed if we're actually changing the
path.

(From OE-Core rev: 284426dbad91a3c52eaf7da5c58fe8a2c2dfb826)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipetool: create: drop debug print
Paul Eggleton [Tue, 3 Oct 2017 22:40:39 +0000 (11:40 +1300)] 
recipetool: create: drop debug print

This looks like some debug printing that was left in by accident.

(From OE-Core rev: b0bfa1b1f4377270af9e7f19949cc1781a4e3b9d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: handle recipes that use named SRC_URI checksums
Paul Eggleton [Tue, 3 Oct 2017 03:36:19 +0000 (16:36 +1300)] 
devtool: upgrade: handle recipes that use named SRC_URI checksums

devtool upgrade did not properly handle setting SRC_URI checksums for
recipes that use named SRC_URI entries and also use those names in the
SRC_URI checksums. A further complication was where the name contained
an expression that changed with the version e.g. ${PV} (probably quite
rare, but the dnsmasq recipe in meta-networking is currently one such
recipe.) All of these are now handled properly.

Additionally, drop the _get_checksums() function that wasn't being
called from anywhere in the code.

Note that this now turns nowrap_vars in recipeutils.py to be a list of
regexes, hence things such as [ and ] need to be appropriately escaped.

(From OE-Core rev: c914a5e1ad6d96e316746222e5d42f2ba9110060)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: finish: fix "layer not in bblayers.conf" warning when path specified
Paul Eggleton [Mon, 2 Oct 2017 02:45:49 +0000 (15:45 +1300)] 
devtool: finish: fix "layer not in bblayers.conf" warning when path specified

devtool finish will check if the destination layer is part of
bblayers.conf so that we avoid the user getting confused about the
recipe vanishing from their configuration if it isn't. devtool finish
also accepts a path underneath a layer so that you have a bit
more control over where it ends up. However if you used a path
underneath a layer then it wasn't converting this to the base of the
layer before checking it against BBLAYERS, thus the warning was being
shown erroneously in that case.

(From OE-Core rev: ab1b8d55e551fea3e8656aab7a786d1bfec62d0f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: finish: ensure repository is clean before proceeding
Paul Eggleton [Fri, 29 Sep 2017 03:56:20 +0000 (16:56 +1300)] 
devtool: finish: ensure repository is clean before proceeding

If the git repository for a recipe in the workspace has uncommitted
changes in it then it's possible that the user has forgotten to commit
something, so check and exit if there are any. Provide a -f/--force
option to continue in the case where the uncommitted changes aren't
needed.

Separately, if the repository is in the middle of a rebase or git am /
apply then error out (without the opportunity to force) since the user
really needs to sort this out before finishing.

(From OE-Core rev: bfebd18982c0c82ef2da63ec8f22175c93b2e308)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: reset: print source tree base path
Paul Eggleton [Fri, 29 Sep 2017 03:19:28 +0000 (16:19 +1300)] 
devtool: reset: print source tree base path

If S points to a subdirectory of the source rather than the "base" of
the source tree then print that rather than the subdirectory path when
telling the user they need to remove the source tree, since that is the
directory that they will need to remove.

(From OE-Core rev: 9e8808099046478e98c6cf1903dc6787d69132fc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: make find-recipe and edit-recipe always work with any recipe
Paul Eggleton [Fri, 29 Sep 2017 01:22:17 +0000 (14:22 +1300)] 
devtool: make find-recipe and edit-recipe always work with any recipe

After some reconsideration I think it's a bit annoying for users to be
forced to use an option to work with recipes where the file isn't in the
workspace, so let's just have these commands check the workspace first
for the recipe, and if it isn't there then load the cache and get it
that way.

(From OE-Core rev: 46683c61069a386658676a79d797062404bf1140)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: show some warnings for upgrade versions
Paul Eggleton [Thu, 28 Sep 2017 02:51:40 +0000 (15:51 +1300)] 
devtool: show some warnings for upgrade versions

* Show a warning in devtool upgrade if the version is less than the
  current version suggesting that the user may need to bump PE in the
  recipe
* Show a warning in devtool add and devtool upgrade if the version looks
  like a pre-release version suggesting using a version number that
  won't mess up the progression when you come to upgrade to the final
  release version.

(From OE-Core rev: 92c4d9be9ed365c449ea1ac5a18ddb15e4a36b2d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: fix handling of oe-local-files when source is in a subdirectory
Paul Eggleton [Fri, 29 Sep 2017 02:26:22 +0000 (15:26 +1300)] 
devtool: fix handling of oe-local-files when source is in a subdirectory

If S points to a subdirectory of the source rather than the "base" of
the source tree then we weren't handling the oe-local-files directory
properly - it got extracted to the base of the tree but devtool
update-recipe and devtool finish assumed it would be under S which would
be the subdirectory, thus it would be missing and devtool would assume
the files had been deleted and remove them from the recipe. Record the
base of the source tree in the bbappend and read it into the in-memory
workspace so we can use that to find out where oe-local-files should be
found.

(From OE-Core rev: 30d2ea67b2c4727e23d06a35745b1afa64b130cc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: improve performance and show progress when adding files
Paul Eggleton [Thu, 28 Sep 2017 03:46:14 +0000 (16:46 +1300)] 
devtool: upgrade: improve performance and show progress when adding files

When devtool upgrade is upgrading to a new version where the source is
fetched as an archive (e.g. a tarball), we create a single commit in the
git repository that is the upgrade from the old version to the new. We
do this by extracting the old source, committing it, deleting all files,
copying in the new files, running git add on each new/changed/deleted
file, and then committing the result. When a lot of files have changed
in an upgrade (such as QEMU 2.8.1.1 -> 2.10.0) the penultimate step of
running git add it can take quite a long time; in order to reduce this
and show some feedback to the user, run git add with batches of 100
files at once and also show a progress bar. In a local test with the
aforementioned QEMU upgrade it took the time down from over 7 minutes
down to about 13 seconds.

Fixes [YOCTO #11948].

(From OE-Core rev: 8b184f6c874b60324ee107af53853687173d3434)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: fix not committing deleted files with older git versions
Paul Eggleton [Wed, 8 Nov 2017 22:07:15 +0000 (11:07 +1300)] 
devtool: upgrade: fix not committing deleted files with older git versions

With versions of git older than 2.0, "git add" on a deleted file (i.e.
in this case a file that was removed between versions) will not add the
delete to be committed by default, with the result that the rebase of
patches on top of the new branch will fail. We need to use the -A
option in order to force that for older git versions.

(From OE-Core rev: c7f4c9f050c11c0de7fcf5badcc19a8fbc6428cf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: upgrade: fix accidentally swapped parameters
Paul Eggleton [Mon, 30 Oct 2017 22:35:17 +0000 (11:35 +1300)] 
devtool: upgrade: fix accidentally swapped parameters

It appears that when fixing the signature unlocking in OE-Core commit
4e9a0be32fc30fb87d65da7cd1a4015c99533aff I swapped the parameters here
and did not test it within the eSDK (it does nothing outside of the
eSDK) resulting in a TypeError when devtool upgrade was used in the
eSDK. Swap the parameters around to the correct ordering.

Fixes [YOCTO #12285].

(From OE-Core rev: 05e2c4ada7083f40866846a21fe76c852f1dfefe)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolib/oe/recipeutils: fix line splitting in patch_recipe_*
Paul Eggleton [Wed, 1 Nov 2017 00:49:44 +0000 (13:49 +1300)] 
lib/oe/recipeutils: fix line splitting in patch_recipe_*

If a value was split over multiple lines (e.g. as SRC_URI usually is)
then we were inserting the value as one item in the lines list with
newlines between each line. There's nothing wrong with this if you're
writing the list out to a file, but if you want to generate a patch (as
patch_recipe_file() will do if the patch parameter is set to True) then
the diff output looks a bit odd. Split the value before adding it to the
lines list to resolve this.

(From OE-Core rev: 44f4c97234623cbd770fbc86eabb04e7e0c91061)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolib/oe/recipeutils: fix find_layerdir() to return absolute paths
Paul Eggleton [Tue, 7 Nov 2017 20:45:06 +0000 (09:45 +1300)] 
lib/oe/recipeutils: fix find_layerdir() to return absolute paths

find_layerdir() should really return absolute paths, so make it do so.
This fixes devtool finish not deleting files it should do after devtool
upgrade if the specified path is relative, since the devtool finish code
was assuming that find_layerdir() was returning an absolute path.

Fixes [YOCTO #12318].

(From OE-Core rev: 5e3fe00a0233d563781849a44f53885b4e924a9c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipetool: ignore incidental kernel module source
Paul Eggleton [Wed, 20 Sep 2017 04:43:33 +0000 (16:43 +1200)] 
recipetool: ignore incidental kernel module source

If the source tree happens to contain a kernel module as an example, a
test or under a "contrib" directory then we shouldn't be picking it up
and making the determination that the entire thing is a kernel module.

An example that triggered this is zstd, which ships a kernel module
under contrib/linux-kernel:

  https://github.com/facebook/zstd

(From OE-Core rev: c2b3154158d4bb0855daa56477393341139d4cf9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipetool: pass absolute source tree path to plugins
Paul Eggleton [Wed, 20 Sep 2017 00:03:39 +0000 (12:03 +1200)] 
recipetool: pass absolute source tree path to plugins

We shouldn't be passing a relative path to the plugins if that's what's
been specified on the recipetool command line.

(From OE-Core rev: 949067384c5166058ebc76f931cc492dad1db645)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc7/gcc6: Fix unaligned STRD issue on ARM
Khem Raj [Tue, 7 Nov 2017 23:26:52 +0000 (15:26 -0800)] 
gcc7/gcc6: Fix unaligned STRD issue on ARM

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

Fixes [YOCTO 12297]

(From OE-Core rev: 568227133be3f9f015679df3525f6c4f86304fd0)

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 agomusl: Update to 1.1.18
Khem Raj [Fri, 6 Oct 2017 18:57:12 +0000 (11:57 -0700)] 
musl: Update to 1.1.18

Rich Felker (9):
      fix access by setjmp and longjmp to __hwcap on arm built as thumb2
      for executing init array functions, use function type with prototype
      fix read-after-free type error in pthread_detach
      fix incorrect base name offset from nftw when pathname ends in slash(es)
      in dns parsing callback, enforce MAXADDRS to preclude overflow
      release 1.1.17
      fix regression in glob with literal . or .. path component
      fix build regression on ARM for ISA levels less than v5
      release 1.1.18

Szabolcs Nagy (1):
      math: rewrite fma with mostly int arithmetics

Will Dietz (1):
      posix_spawn: use larger stack to cover worst-case in execvpe

(From OE-Core rev: c3f0a70a40e0a8115e9046fb96b4b371b0db44ee)

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 with musl/mips64
Khem Raj [Fri, 27 Oct 2017 20:16:03 +0000 (13:16 -0700)] 
systemd: Fix build with musl/mips64

(From OE-Core rev: b2ca2d74d773d6d63834c1018a9041ae52a6701f)

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 agoat-spi2-core: remove redundant intltool dependency
Ross Burton [Thu, 9 Nov 2017 15:35:20 +0000 (15:35 +0000)] 
at-spi2-core: remove redundant intltool dependency

(From OE-Core rev: 3546344f518a473b79e0ebce7158a3808d76409a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodefault-providers: remove virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:27 +0000 (21:10 +0000)] 
default-providers: remove virtual/db

Now that db doesn't PROVIDE virtual/db, remove it from default-providers.

(From OE-Core rev: 1c0507eb0d5ae9a9707b47e526398987d949e34b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodb: don't provide virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:13 +0000 (21:10 +0000)] 
db: don't provide virtual/db

As there are no alternative providers for virtual/db remove the PROVIDES and
recipes can just depend on db.

(From OE-Core rev: dcbc45aa3fe72c528fe4d47a783da4b4ed5ff38e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoperl: depend on db, not virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:00 +0000 (21:10 +0000)] 
perl: depend on db, not virtual/db

As there are no alternative providers for virtual/db, just depend directly on
db.

(From OE-Core rev: be49f3d2d66574d8a680dd1e7479229a10d3bfff)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runner: Pass the value of buffer, don't force to True
Richard Purdie [Thu, 9 Nov 2017 13:23:04 +0000 (13:23 +0000)] 
oeqa/runner: Pass the value of buffer, don't force to True

The value could be False in which case we should pass that through.

(From OE-Core rev: d0a3379bbcbcd8153bd59ccdb56d40fff7ad6c6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa: Markup further tests for stdout/stderr buffering
Richard Purdie [Thu, 9 Nov 2017 12:10:16 +0000 (12:10 +0000)] 
oeqa: Markup further tests for stdout/stderr buffering

This further cleans up the output of oe-selftest so that runqemu output
is hidden unless tests fail.

(From OE-Core rev: efa064d5026538ab513edc11869364ce2f14b977)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestimage: Ensure full logs are shown for failures
Richard Purdie [Fri, 10 Nov 2017 14:41:32 +0000 (14:41 +0000)] 
testimage: Ensure full logs are shown for failures

Currently, the fact an error message is shown means the rest of the
task logs are suppressed. In this case we don't want that as it hides
the real errors and useful information. Therefore override this behaviour.

(From OE-Core rev: 7058ac23c5ce32fbdc4be6c05f85550e1fd9fe77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: add Otavio Salvador for go-dep
Alexander Kanavin [Tue, 10 Oct 2017 13:05:10 +0000 (16:05 +0300)] 
maintainers.inc: add Otavio Salvador for go-dep

(From OE-Core rev: f706448952c942d25ea96cda09a700d2c5c63520)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: add Khem Raj for libmnl
Alexander Kanavin [Tue, 10 Oct 2017 13:03:32 +0000 (16:03 +0300)] 
maintainers.inc: add Khem Raj for libmnl

(From OE-Core rev: 1f7ccccfba8d5895ecbd72898514d9f3d8fd79dc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglew: update to 2.1.0
Alexander Kanavin [Tue, 10 Oct 2017 12:22:47 +0000 (15:22 +0300)] 
glew: update to 2.1.0

(From OE-Core rev: 2c45465c4f6ebfe67bd45071abcefac7265a1caf)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoatk: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:21:31 +0000 (15:21 +0300)] 
atk: update to 2.26.0

Remove --disable-glibtest as ./configure no longer has it.

(From OE-Core rev: 97dbe812e5f964e2d25ae7e8014ca07b7bdc6318)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoat-spi2-atk: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:19:43 +0000 (15:19 +0300)] 
at-spi2-atk: update to 2.26.0

(From OE-Core rev: 8b69b8d0fc16c768f9005941bde6c2436b26ebe9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoat-spi2-core: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:18:04 +0000 (15:18 +0300)] 
at-spi2-core: update to 2.26.0

Drop 0001-nls.m4-Take-it-from-gettext-0.15.patch as it's now
upstreamed.

Remove --disable-xevie option:
https://github.com/GNOME/at-spi2-core/commit/644096a28a47bdf5c6e0c34c9cd5b944df059925

(From OE-Core rev: f7c3b14238b7e2b84d5a972bc3dfda29de45ad3e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>