]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agoghostscript: fix CVE-2018-15908 & CVE-2018-15909 & CVE-2018-15910 & CVE-2018-15911
Hongxu Jia [Mon, 10 Sep 2018 07:21:01 +0000 (03:21 -0400)] 
ghostscript: fix CVE-2018-15908 & CVE-2018-15909 & CVE-2018-15910 & CVE-2018-15911

(From OE-Core rev: b6d32d43fd2b016e932b7dc81fb943eb936b73bb)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibx11: Upgrade 1.6.5 ->1.6.6
Changqing Li [Mon, 10 Sep 2018 02:33:25 +0000 (10:33 +0800)] 
libx11: Upgrade 1.6.5 ->1.6.6

(From OE-Core rev: a04a0f309f4080497ddb6fa1cf81b9c2db5f4e11)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: patch for CVE-2018-15746
Changqing Li [Mon, 10 Sep 2018 01:48:53 +0000 (09:48 +0800)] 
qemu: patch for CVE-2018-15746

(From OE-Core rev: 8c02e508dc861ee95a66f3f685d24518a699685b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogst-validate: Fix build on musl
Khem Raj [Mon, 10 Sep 2018 00:44:22 +0000 (17:44 -0700)] 
gst-validate: Fix build on musl

Connect has different signature on musl.

Fixes
socket_interposer.c:103:1: error: conflicting types for 'connect'
| connect (int socket, const struct sockaddr_in *addrin, socklen_t
address_len)
| ^
|
recipe-sysroot/usr/include/sys/socket.h:327:5:
note: previous declaration is here
| int connect (int, const struct sockaddr *, socklen_t);
|     ^

(From OE-Core rev: 77c02f815103733bcfbde3adec3784e456de42d4)

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 agosysprof: Fix build with clang
Khem Raj [Fri, 7 Sep 2018 16:03:53 +0000 (09:03 -0700)] 
sysprof: Fix build with clang

(From OE-Core rev: f179c402f46a3d3c42760d66d6a20c9e0b93f50d)

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: set split-bin to true by default
Anton Gerasimov [Fri, 7 Sep 2018 12:54:00 +0000 (14:54 +0200)] 
systemd: set split-bin to true by default

Not doing so will make meson chose where to install init binary
based on irrelevant features of the build machine.

PACKAGECONFIG option is defined to override this behavior.

(From OE-Core rev: 4ff2282a7dc421c3ea6578c73fbbba768eeed146)

Signed-off-by: Anton Gerasimov <tossel@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowic: squashfs does support partition uuid.
Emmanuel Roullit [Thu, 6 Sep 2018 18:05:52 +0000 (20:05 +0200)] 
wic: squashfs does support partition uuid.

wic allows the user to create disk image and reference each created
partitions via its partition UUID.

squashfs does not support filesystem UUID but it does offer support for
partition UUID.

$ lsblk -o NAME,FSTYPE,UUID,PARTUUID
NAME   FSTYPE   UUID                                 PARTUUID
sda
|-sda1 vfat     6078-ACD0                            95aa4ffb-741d-4d99-adf6-0358bc890046
|-sda2 squashfs                                      7d46da2d-29cc-4d5a-9e39-d0381c4abb0c
|-sda3 squashfs                                      d4a3e24e-410a-4f2c-8ad5-8f8321de177b
|-sda4 ext4     d72ec529-78e4-4cd3-b39b-781b6b1cb47c f3edc990-f4f6-4536-9587-44dae4ceb99f
`-sda5 ext4     a0b265aa-e935-40b8-9c6b-e9e58ad3890f 6e72ebaa-29ed-41cd-844c-3f76976cf41d

Modifying this constrain allows a user to create squashfs-based rootfs and boot
from them with such kernel argument 'root=PARTUUID=7d46da2d-29cc-4d5a-9e39-d0381c4abb0c'

Fixes: 2fbdcf4e59c8 ("wic: kparser.py: Check for SquashFS and use-uuid")
(From OE-Core rev: a8787bbfdf088b0ef9feb8e6b4230b743bb4086f)

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoxserver-xorg: config: fix NULL value detection for ID_INPUT being unset
Armin Kuster [Thu, 6 Sep 2018 15:14:52 +0000 (08:14 -0700)] 
xserver-xorg: config: fix NULL value detection for ID_INPUT being unset

Fixes Yocto # 12899

Xorg.log message:

(II) config/udev: Adding input device (unnamed) (/dev/tty59)

and cause system freezes.

(From OE-Core rev: e29a330e04baf0881805e4a36d28bafad7fcd318)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogdb: PACKAGECONFIG for tui
Trevor Woerner [Thu, 6 Sep 2018 13:55:33 +0000 (09:55 -0400)] 
gdb: PACKAGECONFIG for tui

Allow the tui (Terminal User Interface) option to be set via a PACKAGECONFIG.

(From OE-Core rev: b4dd830e3407e1ebfbb13387fa359e356fd12ab9)

Signed-off-by: Trevor Woerner <trevor@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibdrm:2.4.93 -> 2.4.94
Hong Liu [Tue, 4 Sep 2018 09:36:29 +0000 (17:36 +0800)] 
libdrm:2.4.93 -> 2.4.94

Upgrade libdrm from 2.4.93 to 2.4.94.

(From OE-Core rev: 8438e8f07c51a6564f5d9a681c57a6a813f1603a)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogdb: Add bison-native dependency
Alistair Francis [Thu, 30 Aug 2018 23:51:31 +0000 (16:51 -0700)] 
gdb: Add bison-native dependency

This fixes RISC-V GDB cross compile configure failure on missing bison.

(From OE-Core rev: 199fcc1a30b3e88dfc627cbc05310a645ccd4bf9)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogenericx86-common.inc: remove eee-acpi-scripts
Alexander Kanavin [Fri, 31 Aug 2018 13:53:57 +0000 (15:53 +0200)] 
genericx86-common.inc: remove eee-acpi-scripts

Asus EEEpc hardware hasn't been produced for a long time;
upstream repo is now gone.

(From meta-yocto rev: 76cd3a475ebce4ae26fc3aae0f2b43628926f7b0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: runqueue: Ensure setscene tasks that aren't covered get built
Richard Purdie [Fri, 7 Sep 2018 16:41:27 +0000 (17:41 +0100)] 
bitbake: runqueue: Ensure setscene tasks that aren't covered get built

Running "bitbake gconf-native -c cleansstate; bitbake core-image-sato:do_populate_sdk"

results in a build where it fails to find gconf-native and fails to build it,
merrily trying to build the SDK without gconf being present.

The issue is the missing setscene tasks are effectively ignored as the later
code in runqueue thinks that since other sstate tasks are present, these
'cover' the missing one. In reality we need to call BB_SETSCENE_DEPVALID
to make that decision. To do that we need a "reduced" setscene dependency
graph which we don't have in main task graph context.

Since that was already done in setscene, we should just assume anything
in the non-covered list needs to be built.

(Bitbake rev: 464d0339add15bc8b4344ddd1e4c49706e3c0a02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: cooker/runqueue: Turn universe warnings into verbnotes
Richard Purdie [Fri, 7 Sep 2018 13:08:59 +0000 (14:08 +0100)] 
bitbake: cooker/runqueue: Turn universe warnings into verbnotes

If the user puts universe on the commandline, they don't really want warnings
so use the new verbnote level instead.

(Bitbake rev: 0c87ade5678e503899e3a6cdda5329f6fc212b63)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: msg: Add explicit verbnote log level
Richard Purdie [Fri, 7 Sep 2018 13:06:37 +0000 (14:06 +0100)] 
bitbake: msg: Add explicit verbnote log level

It has become apparant we need a log level which reaches the console but
isn't a warning/error. Add "verbnote" as a way of doing this, behaves as
a note but with a higher priority.

(Bitbake rev: 2076f12cc2f809345108b1606bd6201f41287505)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: disable LLVM on x86
Ross Burton [Thu, 6 Sep 2018 15:07:27 +0000 (16:07 +0100)] 
mesa: disable LLVM on x86

Whilst turning on the LLVM drivers is a honourable goal, the performance impact
is *huge*.  Instead let specific BSPs turn it on as required.

(From OE-Core rev: 882d31bc0dbe20434d2b89aa92901374bb5e5666)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.14/4.18: address kernel configuration warnings
Bruce Ashfield [Fri, 7 Sep 2018 13:38:41 +0000 (09:38 -0400)] 
linux-yocto/4.14/4.18: address kernel configuration warnings

Making the following commits available to address kernel configuration
warnings:

  734172039130 preempt-rt: remove entry for aufs
  7a6753341309 common_pc: remove config audit warnings
  dea9c6aa7ddd common-pc/tiny: mask configuration warnings

(From OE-Core rev: cc3fa85467c0423b06e78b3e775d5358c422ee4e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokern-tools: improve kernel config audit output
Bruce Ashfield [Fri, 7 Sep 2018 13:38:40 +0000 (09:38 -0400)] 
kern-tools: improve kernel config audit output

Recent kernels broke the ability of kconfiglib to parse the Kconfig
files and offer reasons why a symbol may not be set. To address this
issue, we update to Kconfiglib2 and adjust the symbol_why script to
work with the new API.

We also tweak the kconf_check script to allow the specification of
a list of option as "non-hardware". This allows a BSP to inhibit
warnings on options that it knows are mismatched for a valid reason
(i.e. -tiny kernels using common fragments with known missing
dependencies).

(From OE-Core rev: 6acfe7d9e431923124c5c4e743f39f9d7aea97c5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocore-image-tiny-initramfs: Avoid parsing failures
Richard Purdie [Fri, 7 Sep 2018 13:05:24 +0000 (14:05 +0100)] 
core-image-tiny-initramfs: Avoid parsing failures

This variable is otherwise unset leading to missing dependency warnings. Give
it the same default as used elsewhere in other recipes.

(From OE-Core rev: 0a1265f4dd90ad9524005ce91b3d0564ce2215e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibpciaccess: Extend to native/nativesdk
Richard Purdie [Fri, 7 Sep 2018 13:04:31 +0000 (14:04 +0100)] 
libpciaccess: Extend to native/nativesdk

Avoids warnings from libdrm which has nativesdk/native variants and depends upon this.

(From OE-Core rev: 7b604e6a8f800e779f368244b0fa94c219c93df0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox/packagegroups: Break out the busybox-syslog dependency
Richard Purdie [Thu, 6 Sep 2018 22:40:47 +0000 (23:40 +0100)] 
busybox/packagegroups: Break out the busybox-syslog dependency

The busybox-syslog rrecomends is proving tricky as it gets pulled in early and
there are conflicts between its use of update-alternatives and busybox needing
to provide those things.

We already have recipes using BAD_RRECOMMENDS to remove this dependency, it probably
makes sense to spell it out explicitly and allow it to be overridden more easily.

This patch does this, dropping the now unneeded BAD_RRECOMMENDS. It preserves
the dependency as a recommendation for now, further cleanup may allow simplication
of that.

This unbreaks certain build failures on the autobuilder, more as a workaround but
is a change we probably want to make anyway.

(From OE-Core rev: 544ade2d78f1375d9e93d6bf5842d857ddaf3530)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostaging: Fix broken debug code
Richard Purdie [Fri, 7 Sep 2018 11:16:18 +0000 (12:16 +0100)] 
staging: Fix broken debug code

The code currently only prints a single depchain due to overwriting data
instead of appending. Fix this.

(From OE-Core rev: 48af19cdfa92aa9d336da50afe4ed3dde92daecc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostaging: Ensure we handle glibc-locale do_stash_locale correctly
Richard Purdie [Fri, 7 Sep 2018 11:15:52 +0000 (12:15 +0100)] 
staging: Ensure we handle glibc-locale do_stash_locale correctly

Occasionally we see warnings like:

WARNING: core-image-sato-1.0-r0 do_populate_sdk: Manifest /home/pokybuild/yocto-worker/nightly-qa-extras/build/build/tmp/sstate-control/manifest-allarch-nativesdk-linux-libc-headers.populate_sysroot not found in i686_linux allarch (variant '')?

which occur when do_populate_sdk is run in an otherwise empty TMPDIR.

It occurs because do_stash_locale is not recognised as a setscene task
and is removed from the taskgraph meaning the dependency chains fed
through setscene_depvalid don't match what was actually setscene'd.

That task is recipe specific and not in the global SSTATETASKS so we
hardcode the value for now to stop the build warnings. This is going to
need to be revisited for a more generic solution.

(From OE-Core rev: d8d5b624058920113f9d297f7f711d6d3249ae39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotaglib: Security fix CVE-2018-11439
Yi Zhao [Fri, 7 Sep 2018 00:22:05 +0000 (08:22 +0800)] 
taglib: Security fix CVE-2018-11439

CVE-2018-11439: The TagLib::Ogg::FLAC::File::scan function in
oggflacfile.cpp in TagLib 1.11.1 allows remote attackers to cause
information disclosure (heap-based buffer over-read) via a crafted audio
file.

References:
https://nvd.nist.gov/vuln/detail/CVE-2018-11439

Patch from:
https://github.com/taglib/taglib/pull/869/commits/272648ccfcccae30e002ccf34a22e075dd477278

(From OE-Core rev: a300c4917b6c22ef039158be7ae92055c35658d4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysprof: fix build with musl
Ross Burton [Fri, 7 Sep 2018 00:41:03 +0000 (01:41 +0100)] 
sysprof: fix build with musl

(From OE-Core rev: d2dc07ebc9e38a7936c942b7c89caa67b654c587)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysprof: update to 3.30.0
Alexander Kanavin [Thu, 6 Sep 2018 10:40:17 +0000 (12:40 +0200)] 
sysprof: update to 3.30.0

(From OE-Core rev: 9a16f9e4eb782e43c659832f551b7e50fa9c0486)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogdb: Update to 8.2
Khem Raj [Thu, 6 Sep 2018 05:38:32 +0000 (22:38 -0700)] 
gdb: Update to 8.2

* https://sourceware.org/ml/gdb-announce/2018/msg00003.html
* Support RISC-V

(From OE-Core rev: 1d9d117e8eee2d3b9802384cb93155aea487f002)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: Ensure busybox-syslog depends on busybox
Richard Purdie [Thu, 6 Sep 2018 15:47:42 +0000 (16:47 +0100)] 
busybox: Ensure busybox-syslog depends on busybox

If we don't do this, busybox-syslog can install before busybox
which clearly doesn't make sense and can trigger postinst failures
(missing sed which u-a depends upon).

(From OE-Core rev: 7080711849347c7fff55f925c33e6ea69d7c46bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibbsd: drop obsolete patch
Ross Burton [Thu, 6 Sep 2018 11:19:00 +0000 (12:19 +0100)] 
libbsd: drop obsolete patch

This was only needed with old pkg-config, but we have 0.29.2 so this can be
dropped.

(From OE-Core rev: 27605fc88d0dc8021abeccc38bab286f56a92736)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomobile-broadband-provider-info: update patch status
Ross Burton [Thu, 6 Sep 2018 11:18:59 +0000 (12:18 +0100)] 
mobile-broadband-provider-info: update patch status

I pushed this upstream, so mark the patch as such.

(From OE-Core rev: d1cae876c68b5b4ab666f1860d2935634a1f69dd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer1.0-libav: use nasm instead of yasm
Ross Burton [Thu, 6 Sep 2018 11:16:56 +0000 (12:16 +0100)] 
gstreamer1.0-libav: use nasm instead of yasm

The options are still called yasm and there's some cleanup to be done, but as
libav can use both yasm and nasm let's unify on nasm (last release six months
ago, fifteen RCs since) instead of yasm (last release 2014).

(From OE-Core rev: 9343c02cc12aa210a1b7ae7696c83a5501c91ceb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoffmpeg: use nasm instead of yasm
Ross Burton [Thu, 6 Sep 2018 11:16:48 +0000 (12:16 +0100)] 
ffmpeg: use nasm instead of yasm

As ffmpeg can use both yasm and nasm let's unify on nasm (last release six
months ago, fifteen RCs since) instead of yasm (last release 2014).

(From OE-Core rev: fe204ba16068c518a15c946c3d370dff8a2171c7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: use regrtest instead of PyBench for profile-guided-optimisation
Ross Burton [Thu, 6 Sep 2018 11:15:21 +0000 (12:15 +0100)] 
python3: use regrtest instead of PyBench for profile-guided-optimisation

PyBench takes a long time to run, also upstream have removed it from Python and
instead use test.regrtest â€”pgo to profile the interpreter.

The results are good: not only does Python compile faster (~300s vs ~600s on my
machine) but Phoronix’s PyBench test runs in 2130ms compared to 2229ms when
using PyBench to train (and 2345ms with PGO disabled).

(From OE-Core rev: 98b2b6c3eae15d9b84c97c6a1495040f6b7e389a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: don't use runtime checks to identify float endianism
Ross Burton [Wed, 5 Sep 2018 10:48:53 +0000 (11:48 +0100)] 
python3: don't use runtime checks to identify float endianism

Python uses AC_RUN_IFELSE to determine the byte order for floats and doubles,
and falls back onto "I don't know" if it can't run code.  This results in
crippled floating point numbers in Python, and the regression tests fail.

Instead of running code, take a macro from autoconf-archive which compiles C
with a special double in which has an ASCII representation, and then greps the
binary to identify the format.

(From OE-Core rev: 1781b87ae0765c1867da2fa8c56bf988b4e84405)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: trim PGO patch
Ross Burton [Thu, 6 Sep 2018 11:15:19 +0000 (12:15 +0100)] 
python3: trim PGO patch

There's no need to delete the line that removes the profile data, as we're not
using it after the build.  This reduces the size of the patch, making it easier
to maintain.

(From OE-Core rev: 561577add4b935d9bfb7b7dd6abdc3e26c1d9143)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: add toggle for profile-guided-optimisation
Ross Burton [Thu, 6 Sep 2018 11:15:18 +0000 (12:15 +0100)] 
python3: add toggle for profile-guided-optimisation

Add a PACKAGECONFIG for profile-guided-optimisation, and default to whether
qemu-usermode is available.

Move --enable-optimizations to the pgo optimisation as all this currently does
is use the PGO rules, causing a performance hit if PGO isn't actually used.

(From OE-Core rev: 231e13c76d3ca7beebfbc8d8a856f72fa3780601)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: generalise make commands
Ross Burton [Thu, 6 Sep 2018 11:15:17 +0000 (12:15 +0100)] 
python3: generalise make commands

We're repeating the same make invocation over and over, twice without setting
OPT=${CFLAGS} which doesn't seem right.

Centralise the make invocation to clean up the tasks.

(From OE-Core rev: d2b5bf97eedc67f77d87a44bab86ab086176b8db)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogobject-introspection: update to 1.58.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:30 +0000 (12:29 +0200)] 
gobject-introspection: update to 1.58.0

License-Update: clarification of what parts of g-i are licensed under which license.
Actual terms are the same.

Add a patch to deal with prelink-rtld returning 127 in some cases despite there being no error.

(From OE-Core rev: 50b2187ed8b54317e953882034ba5648e0a4b764)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglib: update to 2.58.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:29 +0000 (12:29 +0200)] 
glib: update to 2.58.0

Drop upstreamed patches, refresh the rest.
Add an explicit dependency on gettext-native, as glib is no longer
fooled by setting msgfmt to /bin/false.

(From OE-Core rev: 79d229e8be892cc0bd36fe9f71ac4671cc34aa82)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: update to 0.47.2
Alexander Kanavin [Thu, 6 Sep 2018 10:29:27 +0000 (12:29 +0200)] 
meson: update to 0.47.2

Drop backported patches, refresh the rest.

(From OE-Core rev: 6c09949663a02015dc8a7b80f581e4867afdd7e3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibice: patch for CVE-2017-2626
Changqing Li [Mon, 27 Aug 2018 02:17:30 +0000 (10:17 +0800)] 
libice: patch for CVE-2017-2626

(From OE-Core rev: 890093056ccff294364cc768bd797cb54fcbcee3)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokexec-tools: fix for "Unhandled rela relocation: R_X86_64_PLT32" error
Mingli Yu [Thu, 30 Aug 2018 08:36:25 +0000 (16:36 +0800)] 
kexec-tools: fix for "Unhandled rela relocation: R_X86_64_PLT32" error

In response to a change in binutils, commit b21ebf2fb4c
(x86: Treat R_X86_64_PLT32 as R_X86_64_PC32) was applied to
the linux kernel during the 4.16 development cycle and has
since been backported to earlier stable kernel series. The
change results in the failure message as below when rebooting
via kexec.
 # kexec -l /boot/bzImage --append="console=ttyS0,115200 root=/dev/sda1"
 Unhandled rela relocation: R_X86_64_PLT32

Fix this by replicating the change in kexec.

(From OE-Core rev: 734a1bb8944caef1336f3a9cc98ea104d6be1f57)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobuild.py: add clean option to 'devtool build' command
Chen Qi [Thu, 6 Sep 2018 06:56:15 +0000 (14:56 +0800)] 
build.py: add clean option to 'devtool build' command

Add -c (--clean) optiont to 'devtool build' command so that users
could easily clean things up when using devtool.

I encountered a problem about do_prepare_recipe_sysroot failure
when using `devtool build' command and I found myself in a situation
where I either have to use `bitbake' command to clean things up or
use `rm' to remove the directories under ${WORKDIR}.

So add a clean option as it would be helpful when users want to clean
things up to prepare an environment for a clean build.

(From OE-Core rev: 29d790cdeff19e520a35ec5902d6deaae8665492)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoffmpeg: Fix CVE-2018-15822
Mingli Yu [Thu, 6 Sep 2018 09:33:28 +0000 (17:33 +0800)] 
ffmpeg: Fix CVE-2018-15822

Fixes: Assertion failure
Fixes: assert_flvenc.c:941_1.swf
(From OE-Core rev: 23393330a599403085437cb62169bb3a2375c07a)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodropbear: Fix CVE-2018-15599
Mingli Yu [Thu, 6 Sep 2018 08:06:33 +0000 (16:06 +0800)] 
dropbear: Fix CVE-2018-15599

Wait to fail invalid usernames to fix
CVE-2018-15599

Rework 0006-dropbear-configuration-file.patch
to fix fuzz warnings

(From OE-Core rev: f017715120b67ff02f56ed5db131436ee62aeffb)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxkbcommon: Upgrade to 0.8.2
Mingli Yu [Thu, 6 Sep 2018 08:03:14 +0000 (01:03 -0700)] 
libxkbcommon: Upgrade to 0.8.2

(From OE-Core rev: ba22336190481d39e700327e8331d15689a9e877)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk-doc: update to 1.29
Alexander Kanavin [Thu, 6 Sep 2018 10:29:28 +0000 (12:29 +0200)] 
gtk-doc: update to 1.29

(From OE-Core rev: 264fc66963d1700f374dd4cfcf107ba2487f4759)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovala: update to 0.42.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:26 +0000 (12:29 +0200)] 
vala: update to 0.42.0

(From OE-Core rev: 8553c52f174af4c8c433c543f806f5ed5c1ec48c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodtc: update to 1.4.7
Alexander Kanavin [Thu, 6 Sep 2018 10:29:25 +0000 (12:29 +0200)] 
dtc: update to 1.4.7

(From OE-Core rev: a88e056b4529aa7b81a4f8266460e37773172d4a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogptfdisk: update to 1.0.4
Alexander Kanavin [Thu, 6 Sep 2018 10:29:24 +0000 (12:29 +0200)] 
gptfdisk: update to 1.0.4

(From OE-Core rev: 20a2a6cb344f7f4c527f8e44f8da8b9e0e7bd780)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogdbm: update to 1.18
Alexander Kanavin [Thu, 6 Sep 2018 10:29:23 +0000 (12:29 +0200)] 
gdbm: update to 1.18

(From OE-Core rev: 76ef43b208e3b2bd2616171c7781629e060809cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoboost: update to 1.68.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:22 +0000 (12:29 +0200)] 
boost: update to 1.68.0

(From OE-Core rev: fb646ea311c589a51ef76eea7581e63f8a8f6bbd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocantarell-fonts: update to 0.0.25
Alexander Kanavin [Thu, 6 Sep 2018 10:29:21 +0000 (12:29 +0200)] 
cantarell-fonts: update to 0.0.25

See here for the "reconstruct" explanation:
https://gitlab.gnome.org/GNOME/cantarell-fonts/commit/e28a9096da43984212b5b4002b949bcb8c7527f9

(From OE-Core rev: 68685bfc83051105ab2c5a5fb7d350ecaca2457f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolighttpd: update to 1.4.50
Alexander Kanavin [Thu, 6 Sep 2018 10:29:20 +0000 (12:29 +0200)] 
lighttpd: update to 1.4.50

(From OE-Core rev: 2b32390d0e79c75138ecc3ec84062f8bdb163abf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoiso-codes: update to 4.1
Alexander Kanavin [Thu, 6 Sep 2018 10:29:19 +0000 (12:29 +0200)] 
iso-codes: update to 4.1

(From OE-Core rev: e54933e41dc7584bb9f30c7992326fbd387088cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobtrfs-tools: update to 4.17.1
Alexander Kanavin [Thu, 6 Sep 2018 10:29:18 +0000 (12:29 +0200)] 
btrfs-tools: update to 4.17.1

(From OE-Core rev: b6fad2cd3af34e7a98ce897f8aa9f160e748eee7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobabetrace: update to 1.5.6
Alexander Kanavin [Thu, 6 Sep 2018 10:29:17 +0000 (12:29 +0200)] 
babetrace: update to 1.5.6

(From OE-Core rev: 7d1d6fed774cf8e67e2c9891b7bf835a255229ab)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsolv: update to 0.6.35
Alexander Kanavin [Thu, 6 Sep 2018 10:29:16 +0000 (12:29 +0200)] 
libsolv: update to 0.6.35

(From OE-Core rev: a0462977458cc4ec2879c97a98c681fae50f6383)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorpm: update to 4.14.2
Alexander Kanavin [Thu, 6 Sep 2018 10:29:15 +0000 (12:29 +0200)] 
rpm: update to 4.14.2

Drop --disable-dbus option and patch: --disable-plugins is sufficient.

Drop upstreamed patches.

Drop a chunk of 0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch, as upstream fixed the issue.

(From OE-Core rev: 4e4fc46589762914f10ae2fa41b614bcb32f9bb9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: fix upstream version check
Alexander Kanavin [Thu, 6 Sep 2018 10:29:14 +0000 (12:29 +0200)] 
qemu: fix upstream version check

(From OE-Core rev: dff0e6de970bb4c858c22874ea19328c670a4ad6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodos2unix: fix upstream version check
Alexander Kanavin [Thu, 6 Sep 2018 10:29:13 +0000 (12:29 +0200)] 
dos2unix: fix upstream version check

(From OE-Core rev: dabce3f4f9db7d57348eeb8608323687cff91e82)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobzip2: do not perform upstream verison check
Alexander Kanavin [Thu, 6 Sep 2018 10:29:12 +0000 (12:29 +0200)] 
bzip2: do not perform upstream verison check

Otherwise, latest version is reported as 1.0.2 which is less than 1.0.6.
Hopefully some kind of official homepage will exist at some point.

(From OE-Core rev: 12baebac49ab774935f1f71eaaf22ed696366d10)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoeee-acpi-scripts: remove the recipe
Alexander Kanavin [Thu, 6 Sep 2018 10:29:10 +0000 (12:29 +0200)] 
eee-acpi-scripts: remove the recipe

Asus EEEPc hardware is well obsolete, upstream repo is now gone.

(From OE-Core rev: 2ac9d94a4d9b88d56ac6af1dd4d7f3d383439a12)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "prelink: Fix SRC_URI and branch"
Richard Purdie [Thu, 6 Sep 2018 13:48:24 +0000 (14:48 +0100)] 
Revert "prelink: Fix SRC_URI and branch"

This reverts commit bd8470dcaebddf37bf889d3dffd3dcb53d367f23.

It breaks prelink since its using the master branch which doesn't contain
the cross changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopkg: add strict package matching on removal patch
Alejandro del Castillo [Wed, 5 Sep 2018 18:16:57 +0000 (13:16 -0500)] 
opkg: add strict package matching on removal patch

During removal, opkg is using globs to select which metadata files to
remove. The glob is too broad and sometimes can result in a package
removing the metadata from a package with a close name. Make the
matching more strict.

Fixes bugzilla 12905

(From OE-Core rev: 715180e41884393d4f2f234dd557df61a21c4745)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopkg-keyrings: do not use 'exit 1' to postpone to first boot
Hongxu Jia [Wed, 5 Sep 2018 12:36:02 +0000 (08:36 -0400)] 
opkg-keyrings: do not use 'exit 1' to postpone to first boot

Since `229f4e9 package.bbclass: add support for
pkg_postinst_ontarget()' applied in oe-core, use
pkg_postinst_ontarget to run postinst at first boot.

(From OE-Core rev: a6e62aae8f83696755828631e5ff67a579a6462f)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoepiphany: upgrade 3.28.1.1 -> 3.28.3.1
Yi Zhao [Mon, 27 Aug 2018 05:55:48 +0000 (13:55 +0800)] 
epiphany: upgrade 3.28.1.1 -> 3.28.3.1

(From OE-Core rev: da989c32feb76a4f768b6ab99d3cd023bc2bd5b1)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoelfutils: CVE-2018-16062
Zhixiong Chi [Wed, 5 Sep 2018 02:42:46 +0000 (19:42 -0700)] 
elfutils: CVE-2018-16062

Backport the CVE patch from the upstream:
https://sourceware.org/git/?p=elfutils.git;a=commit;
h=29e31978ba51c1051743a503ee325b5ebc03d7e9

(From OE-Core rev: bcca86fca317c16a8f6c138c7df369b944e50700)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: fix indentation on create_manifest3
Alejandro Enedino Hernandez Samaniego [Wed, 5 Sep 2018 17:53:37 +0000 (10:53 -0700)] 
python3: fix indentation on create_manifest3

(From OE-Core rev: 76b4596c3782590bd27a7d46c2b64393c3a83944)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-manifest: Avoid duplicate modules
Alejandro Enedino Hernandez Samaniego [Wed, 5 Sep 2018 06:45:45 +0000 (23:45 -0700)] 
python3-manifest: Avoid duplicate modules

There was a bug where modules were being added twice to the
core package, this patches the manifest to reflect the fix on
the create_manifest script.

(From OE-Core rev: 9ddbff824052751b4d0bb30c453ecb5098d728c9)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: Clean up create manifest script
Alejandro Enedino Hernandez Samaniego [Wed, 5 Sep 2018 06:45:44 +0000 (23:45 -0700)] 
python3: Clean up create manifest script

This patch intends to clean up the whole create_manifest script/task
for python3.

This is an effort to make the code more human friendly and facilitate
adoption, it not only cleans up the code but it also improves comments,
it should also be easier to upgrade the manifest after each python3
upgrade now, with these fixes the transition to python 3.7 should be
seamless.

It fixes a rather harmless bug where module dependencies were being
added twice to the core package and adds tests and sqlite3-tests
as special packages since we want specific dependencies on those.
It also fixes a bug that happened on a few packages that
contained a directory with the same name as the module itself
e.g. asyncio, where the script avoided checking that module for
dependencies.

Lastly, it improves the output, it errors out if a module is found
on more than one package, which is what usually happens when
python upstream introduces a new file, hence why the current
manifest is unaware of, it is better to exit with an error because
otherwise the user wouldnt know if anything went wrong unless the output
of the script was checked manually.

(From OE-Core rev: 658042073cb58c58ac4db4ff13689d1ffd89b72e)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: Modify create_manifest to make it versionless
Alejandro Enedino Hernandez Samaniego [Wed, 5 Sep 2018 06:45:43 +0000 (23:45 -0700)] 
python3: Modify create_manifest to make it versionless

This patch improves the create_manifest script by making it
use PYTHON_MAJMIN instead of hard coded paths containing the
version number when looking at the necessary modules for
every package, the script should now be independent of the
python(3) version on which were working

(From OE-Core rev: b94af33b5ffdd62617cf69fca4d99e927447740a)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-manifest: Use PYTHON_MAJMIN instead of hard coded version
Alejandro Enedino Hernandez Samaniego [Wed, 5 Sep 2018 06:45:42 +0000 (23:45 -0700)] 
python3-manifest: Use PYTHON_MAJMIN instead of hard coded version

Currently the manifest contains hard coded paths with the version number,
e.g. python3.5, this patch changes the paths to use the variable
PYTHON_MAJMIN instead, this should make the python upgrades easier

(From OE-Core rev: a6fab3ca81e3dc6ee226840ed7e9f1cd21ecbc2a)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoprelink: Fix SRC_URI and branch
Khem Raj [Wed, 5 Sep 2018 22:28:20 +0000 (15:28 -0700)] 
prelink: Fix SRC_URI and branch

(From OE-Core rev: bd8470dcaebddf37bf889d3dffd3dcb53d367f23)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoprelink: Update to the latest version of prelink
Mark Hatle [Wed, 5 Sep 2018 16:30:40 +0000 (12:30 -0400)] 
prelink: Update to the latest version of prelink

The new version of prelink includes the fix for a segmentation fault due to
using e_shnum vs e_shstrndx.

In addition the following changes are incorporated:

    2018-08-29   Khem Raj <raj.khem@gmail.com>
* src/elf.h: Add RISC-V defines
* src/rtld/dl-tls.c: Add RISC-V support
* src/rtld/rtld.c: Add RISC-V support

    2018-08-29  Robert Yang  <liezhi.yang@windriver.com>
* src/dso.c: use ehdr.e_shstrndx as index

    2017-06-20  Andrew Stubbs  <ams@codesourcery.com>
* src/arch-x86_64.c (x86_64_prelink_conflict_rela): Also convert
R_X86_64_32 conflicts to R_X86_64_IRELATIVE for ifuncs.
* src/arch-x86_64.c (PL_ARCH(x32)): Set mmap_end to 0x60000000.

    2017-06-20  Joseph Myers  <joseph@codesourcery.com>
* src/rtld/rtld.c (load_ld_so_conf): Add argument use_x32.
(main): Update call to load_ld_so_conf.

    2017-06-20   Kyle Russell <bkylerussell@gmail.com>
* src/rtld/rtld.c: Add missing DT_NEEDED DSOs to needed_list

(From OE-Core rev: 1f0568c6b8982f814f630193fb5114db489afcaf)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoeglinfo: Upgrade contained waf version to 2.0.11 release
Khem Raj [Mon, 3 Sep 2018 19:18:47 +0000 (12:18 -0700)] 
eglinfo: Upgrade contained waf version to 2.0.11 release

Fixes build with python 3.7+ on build host

(From OE-Core rev: 3655743d0f37ced4323e84bfba5900bba0e9dea5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoserf: Fix Sconstruct build with python 3.7
Khem Raj [Mon, 3 Sep 2018 18:16:19 +0000 (11:16 -0700)] 
serf: Fix Sconstruct build with python 3.7

These patches will be needed to build serf on hosts with
python 3.7+

(From OE-Core rev: ab0be544b392bbd6cb1dc91edd5fe8563d7de393)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: server/process: Various server startup logging fixes
Richard Purdie [Tue, 4 Sep 2018 14:54:12 +0000 (15:54 +0100)] 
bitbake: server/process: Various server startup logging fixes

There were various problems in the server startup loggin:

a) stdout/stderr were not being flushed before forking which could potentially
   duplicate output

b) there were separate buffers for stdout/stderr leading to confusing logs
   where the entries could be reordered. This was particularly confusing
   due to the separator the logs use to idendify new messages

c) an fd wasn't being closed during server startup meaning if the
   server failed to start, the closed fd wasn't detected as it was held
   open by the other reference

d) If the pipe was detected as being closed, the code incorrectly retried
   server startup

e) The event code would remap stdout/stderr without flushing them, leading
   to lose log messages

(Bitbake rev: 0594faa0b52ce5dbd948d836d88617d38d9862d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: cooker.py: Fix incorrect bb files matched warning
Mark Hatle [Wed, 29 Aug 2018 14:52:17 +0000 (10:52 -0400)] 
bitbake: cooker.py: Fix incorrect bb files matched warning

In the case of a sublayer of an existing layer, where the sublayer and
main layer share a path, the system may not match the paths properly resulting
in:

    No bb files matched BBFILE_PATTERN_sublayer '^/path/main/sublayer'

because it has already matched the main layer.

Fix this issue by sorting the collection items based on the pattern, using
longest to shortest.  Obviously regex wildcards could still be an issue
but these are typically not used, so this simply fix should work in the
existing cases.

(Bitbake rev: 1787cef7221b88f6920ea70fadaffc117d84c7aa)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopoky-tiny: Switch to 4.18 kernels
Richard Purdie [Wed, 5 Sep 2018 14:28:28 +0000 (15:28 +0100)] 
poky-tiny: Switch to 4.18 kernels

(From meta-yocto rev: 2b2d41267bae85dc7bf85a3165c1a46781259000)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopopulate_base_sdk: Stop running gcc --version all the time
Richard Purdie [Tue, 4 Sep 2018 23:41:13 +0000 (00:41 +0100)] 
populate_base_sdk: Stop running gcc --version all the time

Running 'gcc --version' for every image recipe is slow and increases parsing
time/resource usage for no good reason. Only compute the value in when we're
really running the task/function.

(From OE-Core rev: bf49316bb9913b7c89de64d6a194be31aa66e16b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobinutils: Fix variable conflict
Richard Purdie [Wed, 5 Sep 2018 08:50:57 +0000 (09:50 +0100)] 
binutils: Fix variable conflict

A recent binutils patch added the LDGOLD variable but its already used
for controlling EXTRA_OECONF options for gold. Separate the two variables
to different names to avoid build warnings and confusion.

(From OE-Core rev: 713c83fd00ab16250f05b0c3933f0c8178b8a33e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: Merge two related patches together
Richard Purdie [Tue, 4 Sep 2018 11:59:01 +0000 (12:59 +0100)] 
gcc: Merge two related patches together

These patches may as well be merged together as they affect the same code
and things are clearer this way.

(From OE-Core rev: 7533c000183a2b447cbabd6ce1b8b75de55b63e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoos-release: fix to install in the expected location
Joshua Lock [Tue, 4 Sep 2018 15:50:00 +0000 (16:50 +0100)] 
os-release: fix to install in the expected location

os-release (5) recommends that the os-release file be installed in
/usr/lib/os-release and that /etc/os-release be a relative symlink to it.

(From OE-Core rev: 4feb8614ee25a3d3ceb7f5187120a1256a993155)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython: Run pybench once for optimisation task in pgo
Ross Burton [Mon, 3 Sep 2018 10:49:09 +0000 (11:49 +0100)] 
python: Run pybench once for optimisation task in pgo

There is no good reason to loop 10 times on the test since the profile
optimisation won't change between runs, we don't need/want a statistical
average. This is just burning cpu cycles, just make 1 run.

(From OE-Core rev: 78af3a3e6865cac8bc9fd881af6158ce5e21d4e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoscripts/autobuilder-worker-prereq-tests: Extend todo list
Richard Purdie [Thu, 30 Aug 2018 14:56:35 +0000 (15:56 +0100)] 
scripts/autobuilder-worker-prereq-tests: Extend todo list

Add a couple of missing items to the TODO list that this script needs to handle.

(From OE-Core rev: c6bc6d874ae43eb2808508b935f837c670c1d15e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: Put klogd/syslogd alternative links in syslog package
Richard Purdie [Wed, 5 Sep 2018 16:39:31 +0000 (17:39 +0100)] 
busybox: Put klogd/syslogd alternative links in syslog package

Currently these are in ${PN} and ${PN}-syslog may get replaced by
other packages but update-alternatives would error in the postinst
if other files were installed first. Avoid the problems by putting
the links in the correct package.

(From OE-Core rev: ef11c54ba99af261a70ec31091216cdd1556da24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: Sync arch and link locations with coreutils
Richard Purdie [Wed, 5 Sep 2018 14:59:24 +0000 (15:59 +0100)] 
busybox: Sync arch and link locations with coreutils

coreutils installs these into bindir, folllow its lead to avoid postinst
failures when installing coreutils and busybox together.

(From OE-Core rev: ed6e039bf9b16ea882995780425b33b84f9356cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: update to 1.29.2
Andrej Valek [Thu, 30 Aug 2018 16:02:44 +0000 (18:02 +0200)] 
busybox: update to 1.29.2

  - refresh busybox-udhcpc-no_deconfig.patch
  - remove obsolete patches which are included in this update
  - update defconfig
  - Add newly required virtual/crypt depends [RB]

(From OE-Core rev: b9c7fdd4b204ab1c2466e9ec5d933bbc635fcc4f)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomusl: Upgrade to 1.1.20
Khem Raj [Tue, 4 Sep 2018 21:12:45 +0000 (14:12 -0700)] 
musl: Upgrade to 1.1.20

All 1.1.20 Release Notes

https://git.musl-libc.org/cgit/musl/commit/?id=0fa1e638e87cf257e9f96b4019b2076afd674a19

ChangeLog for this change in OE

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=767f7a1091af3a3dcee2f7a49d0713359a81961c..0fa1e638e87cf257e9f96b4019b2076afd674a19

(From OE-Core rev: c2dfd3baa2e673d45505b8b23bbae251cfd844e9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl_1.1.1: Fix Musl build by disabling async during configure
Khem Raj [Tue, 4 Sep 2018 19:00:26 +0000 (12:00 -0700)] 
openssl_1.1.1: Fix Musl build by disabling async during configure

(From OE-Core rev: b011ae369de12bb54cd466d9f43139d9d2937383)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowpa-supplicant: fix CVE-2018-14526
Andrej Valek [Tue, 4 Sep 2018 15:48:06 +0000 (17:48 +0200)] 
wpa-supplicant: fix CVE-2018-14526

Ignore unauthenticated encrypted EAPOL-Key data in supplicant
processing. When using WPA2, these are frames that have the Encrypted
flag set, but not the MIC flag.

(From OE-Core rev: a5a07887e73ebf0aa6b3b1fa247e44743b39322e)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl: rename PV to 1.1.1~pre9 to avoid future versions from going backwards
Alexander Kanavin [Tue, 4 Sep 2018 14:42:45 +0000 (16:42 +0200)] 
openssl: rename PV to 1.1.1~pre9 to avoid future versions from going backwards

(From OE-Core rev: efa34c4c82e9e334d1f102b7729bed5f1500e6ae)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackagegroup-core-x11-sato: Make weak include for gst-examples
Khem Raj [Sat, 1 Sep 2018 08:01:01 +0000 (01:01 -0700)] 
packagegroup-core-x11-sato: Make weak include for gst-examples

gstreamer is not _yet_ ported to risc-v

(From OE-Core rev: 597b253c766013c5328f95ac226ef855926f7784)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: add noarch to buildarch_compat
Kai Kang [Tue, 4 Sep 2018 06:58:43 +0000 (14:58 +0800)] 
package_manager.py: add noarch to buildarch_compat

It fails to run rpmbuild to build a noarch package on target when it
contains 'BuildArch: noarch' in the spec file:

| error: No compatible architectures found for build

Add 'noarch' to buildarch_compat in configure file rpmrc to fix it.

(From OE-Core rev: 2bdddb458bcc779d595e972f60a719aeb1c1b6d5)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoiproute2: Upgrade 4.17.0 -> 4.18.0
Changhyeok Bae [Mon, 3 Sep 2018 04:05:53 +0000 (04:05 +0000)] 
iproute2: Upgrade 4.17.0 -> 4.18.0

(From OE-Core rev: 5fac36f035f45d353aba86d64c9a54933da1ab2d)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolttng-tools: add systemd support
Kai Kang [Mon, 3 Sep 2018 02:20:07 +0000 (19:20 -0700)] 
lttng-tools: add systemd support

Add systemd service file of lttng-tools from Fedora

ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide
/Everything/source/tree/Packages/l/lttng-tools-2.10.5-1.fc29.src.rpm

It requires kernel configs CONFIG_STAGING and CONFIG_LTTNG2 to be set.
But linux-yocto doesn't meet the requirement. So disable the service by
default.

(From OE-Core rev: 29bc046d705beb9dac2e70fa31358da7719ba7a4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocmake: Update 3.11.4 -> 3.12.1
Otavio Salvador [Thu, 30 Aug 2018 23:26:04 +0000 (20:26 -0300)] 
cmake: Update 3.11.4 -> 3.12.1

This updates CMake to the 3.12.1 stable release. All patches were
rebase on top of the new source file and all them applied without
changes.

The number of patches has changed as all them were applied on the Git
tree and re-exported, to avoid any fuzzy warnings.

License-Update: new contributor added in Copyright.txt

(From OE-Core rev: 439be401cd642937b45796489e8c10aa5238a963)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopango: upgrade
Ross Burton [Fri, 31 Aug 2018 13:41:36 +0000 (14:41 +0100)] 
pango: upgrade

(From OE-Core rev: 419e63fe1c69eef196f0e7c39ab1fc5b85692bb2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers: Add entry for fribidi
Richard Purdie [Wed, 5 Sep 2018 16:45:00 +0000 (17:45 +0100)] 
maintainers: Add entry for fribidi

(From OE-Core rev: 0f9e7cb8bd6042152e5f3f0a9786f5550d2c851f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>