]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agogstreamer1.0-plugins-ugly: upgrade 1.14.0 -> 1.14.1
Anuj Mittal [Fri, 25 May 2018 06:20:08 +0000 (14:20 +0800)] 
gstreamer1.0-plugins-ugly: upgrade 1.14.0 -> 1.14.1

Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 23d2fbc5d525b01f426a64055ff86ddc4f3c0026)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer1.0-plugins-bad: upgrade 1.14.0 -> 1.14.1
Anuj Mittal [Fri, 25 May 2018 06:20:07 +0000 (14:20 +0800)] 
gstreamer1.0-plugins-bad: upgrade 1.14.0 -> 1.14.1

Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 12ff23f94b43b190ea4f9392f7ba9592362a9c50)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer1.0-plugins-good: upgrade 1.14.0 -> 1.14.1
Anuj Mittal [Fri, 25 May 2018 06:20:06 +0000 (14:20 +0800)] 
gstreamer1.0-plugins-good: upgrade 1.14.0 -> 1.14.1

Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

(From OE-Core rev: 308a5be3dcd0373bd09db253c15dc39d39b6e48f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer1.0-plugins-base: upgrade 1.14.0 -> 1.14.1
Anuj Mittal [Fri, 25 May 2018 06:20:05 +0000 (14:20 +0800)] 
gstreamer1.0-plugins-base: upgrade 1.14.0 -> 1.14.1

Bugfixes only. Please see:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.1

Remove a backport patch and rebase one other patch.

(From OE-Core rev: aea86b875ebf9fbc767d231f87bd33aa9ab18efa)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer1.0: upgrade 1.14.0 -> 1.14.1
Anuj Mittal [Fri, 25 May 2018 06:20:04 +0000 (14:20 +0800)] 
gstreamer1.0: upgrade 1.14.0 -> 1.14.1

(From OE-Core rev: 82e2deb1eee76c10cf5f2785a8b0198276e0d854)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer: enable ptest support
Anuj Mittal [Fri, 25 May 2018 06:20:03 +0000 (14:20 +0800)] 
gstreamer: enable ptest support

Make sure that the tests are packaged and can be executed
when ptest is enabled. Also, remove build host specific references
from Makefile.

(From OE-Core rev: d283b0eb909c78b020794ba78e7ec64c3fbee86f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runtime/cases/rpm.py: change to use base-passwd-doc
Chen Qi [Thu, 14 Jun 2018 04:52:32 +0000 (12:52 +0800)] 
oeqa/runtime/cases/rpm.py: change to use base-passwd-doc

The test cases assume that rpm-doc is built out, as it says it its
comment. This is not always true. And it sometimes results in
following error.

  |     cls.tc.target.copyTo(test_file, dst)
  | UnboundLocalError: local variable 'test_file' referenced before assignment

Change to use base-passwd-doc, as this package is more likely to be
built out than rpm-doc.

(From OE-Core rev: 2e23543b48921182307065c1fa9e8b9d7fbb3cdc)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoxdg-utils: upgrade to 1.1.3
Maxin B. John [Tue, 12 Jun 2018 11:18:15 +0000 (14:18 +0300)] 
xdg-utils: upgrade to 1.1.3

1.1.2 -> 1.1.3

(From OE-Core rev: 749253756a376428a4e1d89ba7c441c947a8fde7)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobluez5: upgrade to 5.50
Maxin B. John [Tue, 12 Jun 2018 11:18:14 +0000 (14:18 +0300)] 
bluez5: upgrade to 5.50

Refresh the following patch:
        0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch

(From OE-Core rev: 4032fd3ae640da8076617403152a30841507db4f)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomc: upgrade to 4.8.21
Maxin B. John [Tue, 12 Jun 2018 11:18:12 +0000 (14:18 +0300)] 
mc: upgrade to 4.8.21

4.8.20 -> 4.8.21

(From OE-Core rev: e1d16cd44630a14e91ff792f4e97d788bb0f2740)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovte: upgrade to 0.52.2
Maxin B. John [Tue, 12 Jun 2018 11:18:11 +0000 (14:18 +0300)] 
vte: upgrade to 0.52.2

0.52.0 -> 0.52.2

(From OE-Core rev: 6054ac4d5924bb8ebf4df929f4d689764df5f38f)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk+3: upgrade to 3.22.30
Maxin B. John [Tue, 12 Jun 2018 11:18:09 +0000 (14:18 +0300)] 
gtk+3: upgrade to 3.22.30

3.22.29 -> 3.22.30

(From OE-Core rev: a9625b7b2e061c5be869040af41944908d4642ca)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk-icon-utils-native: upgrade to 3.22.30
Maxin B. John [Tue, 12 Jun 2018 11:18:08 +0000 (14:18 +0300)] 
gtk-icon-utils-native: upgrade to 3.22.30

 3.22.29 -> 3.22.30

(From OE-Core rev: 08a67f0b4eb07a006c30c7ba9a52fc453739e63e)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocronie: upgrade to 1.5.2
Maxin B. John [Tue, 12 Jun 2018 11:18:07 +0000 (14:18 +0300)] 
cronie: upgrade to 1.5.2

1.5.1 -> 1.5.2

(From OE-Core rev: ed376ab653dd7c0500184c7527085120b51448a9)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsoup-2.4: upgrade to 2.62.2
Maxin B. John [Tue, 12 Jun 2018 11:18:06 +0000 (14:18 +0300)] 
libsoup-2.4: upgrade to 2.62.2

2.62.0 -> 2.62.2

(From OE-Core rev: a0717d16d89ffc19c5ed5998a3b876fc023eb086)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibinput: upgrade to 1.11.0
Maxin B. John [Tue, 12 Jun 2018 11:18:05 +0000 (14:18 +0300)] 
libinput: upgrade to 1.11.0

1.9.4 -> 1.11.0

(From OE-Core rev: c17869ee01c423a089dfaef8895bb7ffec6a7d74)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoacpid: upgrade to 2.0.29
Maxin B. John [Tue, 12 Jun 2018 11:18:04 +0000 (14:18 +0300)] 
acpid: upgrade to 2.0.29

2.0.28 -> 2.0.29

(From OE-Core rev: 6dc9857562b87b690ffa4e4d9ff57a4e5de4b4be)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoOnly add uninative and checksum if inherited uninative class
Jeremy Puhlman [Wed, 25 Apr 2018 21:18:27 +0000 (14:18 -0700)] 
Only add uninative and checksum if inherited uninative class

The checksum value is only calculated if the uninative class is
inherited, so check for inherit before adding it to local.conf

(From OE-Core rev: 3b5b832589d943700b273e3a4d83561be0c47f36)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRemove libdir specification from xorgproto .pc files
Jeremy Puhlman [Wed, 13 Jun 2018 20:14:13 +0000 (13:14 -0700)] 
Remove libdir specification from xorgproto .pc files

(From OE-Core rev: 8b8eaac3ec9e6f12d78a0be5fa6300c4e58294b7)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu-extract-sdk: fix whitespace errors
Dennis Menschel [Wed, 13 Jun 2018 18:28:16 +0000 (20:28 +0200)] 
runqemu-extract-sdk: fix whitespace errors

Indentation using a mix of whitespaces and tabs has been unified in
favor of tabs.

(From OE-Core rev: 3827f1aa4a2bb433e445802c48e32f72932950e6)

Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu-extract-sdk: support tar.xz format
Dennis Menschel [Wed, 13 Jun 2018 18:28:15 +0000 (20:28 +0200)] 
runqemu-extract-sdk: support tar.xz format

As the format "tar.xz" is included in the IMAGE_TYPES bitbake variable
as defined in meta/classes/image_types.bbclass, it should also be
possible to extract a rootfs that has been built using that format.

(From OE-Core rev: f813ca7b085c7ddf76a34932e2b3f5bc3372b239)

Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodefault-versions.inc: use weak assignments to allow overwrite
Stefan Stanacar [Wed, 13 Jun 2018 19:56:03 +0000 (19:56 +0000)] 
default-versions.inc: use weak assignments to allow overwrite

default-versions.inc is included by defaultsetup.conf which in bitbake.conf
is included after local/machine/distro.conf.
If these are hard assignments distros can's overwrite them.

(From OE-Core rev: b9fb89fb7189e631b615868d567e1eab504ee3c2)

Signed-off-by: Stefan Stanacar <sstncr@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoMultilibize the UPDATERCPN variable
Jeremy Puhlman [Wed, 13 Jun 2018 19:53:43 +0000 (12:53 -0700)] 
Multilibize the UPDATERCPN variable

The audit package specifies the following:
UPDATERCPN = "auditd"

However because it is not multilibized, the value "auditd" is used to
search for the package to add the post install script too. In the mutlilib
alternate abi case, that package does not exist. It ends up assigning
the post install script to the lib32-audit-lic package, which
subsequently failes to execute the script due to the initscript it is
trying to turn on is not installed.

(From OE-Core rev: ce99653e1af50d9e8f070ca6ae810908c4c138c6)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: only use lists of commands in cross file if required
Ross Burton [Wed, 13 Jun 2018 11:50:45 +0000 (12:50 +0100)] 
meson: only use lists of commands in cross file if required

There's a bug in Meson[1] where it find_program("foo") will fail if foo is
defined in the cross file as a list.

This is causing the Meson build of libdrm to fail, but for this instance we can
work around the problem by only using lists in the cross file if there are
arguments, and just using a string if there are not.

[1] https://github.com/mesonbuild/meson/issues/3737

(From OE-Core rev: 7fd8bc469c2caacc1c2021bd0aa83dd6da7fe1e7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodnf: default to disable systemd units
Chen Qi [Wed, 13 Jun 2018 07:58:25 +0000 (15:58 +0800)] 
dnf: default to disable systemd units

The services and timers are not useful if a repo is not configured.
In OE, we default to have no repo configured. So we default to disable
these units.

The problem was found by the test_systemd_failed runtime test case.
dnf-makecache.service is found to fail. This is due to lack of repo.
Note that as this service is started by the dnf-makecache.timer, it's
possible that test_systemd_failed passes in case the timer is not started
yet.

(From OE-Core rev: c017f5528d1ae6316c9434ffd8702665bfe069f9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runtime/cases/parselogs.py: ignore a message from watchdog
Chen Qi [Wed, 13 Jun 2018 07:58:24 +0000 (15:58 +0800)] 
oeqa/runtime/cases/parselogs.py: ignore a message from watchdog

The following message from watchdog is not an error.

  "error retry time-out = 60 seconds"

Checking watchdog's source codes, we have:

  src/watchdog.c: log_message(LOG_INFO, "error retry time-out = %d seconds", retry_timeout);

It's clear this is an info message, so parselogs should ignore it.

(From OE-Core rev: c90dff78310ab1517555c4df39b3e2d2f59ff06d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowatchdog: fix init script for sysvinit
Chen Qi [Wed, 13 Jun 2018 07:58:23 +0000 (15:58 +0800)] 
watchdog: fix init script for sysvinit

The current init script is installed from source with redhat style.
It does not get configuration from /etc/default/watchdog. We should use
debian style init script.

Write our own script just like what wd_keepalive does.
Also, in the init script, we check the existence of /dev/watchdog to
determine whether to start the daemon or not.

(From OE-Core rev: a31f8dd34e8ea34dfb087ed464575aa390ece09b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowatchdog: make init script start after syslog
Chen Qi [Wed, 13 Jun 2018 07:58:22 +0000 (15:58 +0800)] 
watchdog: make init script start after syslog

We need to make sure logs are not lost. As long as there's no
strong and vaild reason, we should make daemons start after syslog.

As a side effect, we could check the logs to see if there are
some potential problem. In OE, the 'parselogs' test case could
do it automatically.

(From OE-Core rev: 41e4d728ef92586e2714fa0c136b838c3fda051e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowatchdog: disable systemd services by default
Chen Qi [Wed, 13 Jun 2018 07:58:21 +0000 (15:58 +0800)] 
watchdog: disable systemd services by default

systemd has internal support for watchdog. See the RuntimeWatchdogSec
in /etc/systemd/system.conf.

We'd better just disable this service by default. If users want to use
watchdog, consider using the systemd one.

(From OE-Core rev: 183c9125e78ae1035894600a66b4ea1fa6a3a532)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowatchdog: remove the useless watchdog-conf.patch
Chen Qi [Wed, 13 Jun 2018 07:58:20 +0000 (15:58 +0800)] 
watchdog: remove the useless watchdog-conf.patch

This patch modifies watchdog.conf file. But this file is deliberately
deleted in do_install. The current mechanism in OE is to use another
recipe watchdog-conf to handle watchdog configuration. So the patch
is really useless.

(From OE-Core rev: 80638247143b15a5643f9fcc116d7bc7dcbf3496)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runtime/cases/parselogs.py: extend common_errors list
Chen Qi [Wed, 13 Jun 2018 07:58:19 +0000 (15:58 +0800)] 
oeqa/runtime/cases/parselogs.py: extend common_errors list

Add the following line to common_errors list.

  Failed to read /var/lib/nfs/statd/state: Success

This message is not harmful, it does not result in rpc.statd starting
failure.

(From OE-Core rev: 0f2c39149941d95fa979ec675f9dc25655886e2c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: add nativesdk support
Mikko Rapeli [Wed, 13 Jun 2018 07:15:56 +0000 (10:15 +0300)] 
openssh: add nativesdk support

And use bitbake variables for install paths to fix nativesdk-openssh
compilation.

(From OE-Core rev: 70470dfa88338cae06670195bb7009cb13098ac2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopopulate_sdk_ext.bbclass: fix corebase identification
Damien Riegel [Sat, 16 Jun 2018 00:18:38 +0000 (20:18 -0400)] 
populate_sdk_ext.bbclass: fix corebase identification

When generating the extended SDK, there is a copy step where this class
goes through the layers and other stuff that have been copied to
generate the SDK. The corebase; ie. the folder that contains the core
layer 'meta' is treated in a special way. Unfortunately in our tree, we
have:

  sources/meta/meta
           |     `- core layer
           `------- corebase

In populate_sdk_ext's copy_buildsystem, the heuristic to determine which
element of the list returned by copy_bitbake_and_layers is corebase is
fooled by such layout.

In copy_bitbake_and_layers, corebase is already handled specifically and
reliably, so we should let that function tell us which folder is
corebase instead of trying to determine it.

To do so, change the return type of copy_bitbake_and_layers to a tuple
that contains (corebase, copied_layers). It also simplifies the code on
the caller side.

(From OE-Core rev: 5368bc5d0d3606198b93e877bcafcd77bb5f4fd1)

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorsync: merge rsync.inc into the rsync recipe
Andre McCurdy [Fri, 15 Jun 2018 18:47:09 +0000 (11:47 -0700)] 
rsync: merge rsync.inc into the rsync recipe

There's only one user of rsync.inc (meta-gplv2 has its own copy), so
merge the .inc file into the rsync recipe.

(From OE-Core rev: 4e42ad44f1df510a527d199b6ec41541f8939654)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosqlite3: Merge/simplify CFLAGS
Richard Purdie [Sat, 16 Jun 2018 11:36:09 +0000 (12:36 +0100)] 
sqlite3: Merge/simplify CFLAGS

An earlier version of a change was merged from S. Lockwood-Childs
<sjl@vctlabs.com> which made the CFLAGS consistent across native,
nativesdk and target cases. This syncs with a later verison of the
patch to remove duplicate CFLAGS settings and simplify the recipe.

(From OE-Core rev: 604777acfc54d285f315b622bd147ed02d55d6fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage: Add DTBO support for configurations
Alex Kiernan [Sat, 16 Jun 2018 09:28:53 +0000 (09:28 +0000)] 
kernel-fitimage: Add DTBO support for configurations

When generating overlay DTB configuration sections, U-Boot doesn't want
the kernel specified again as we already have that in our base DTB. Add
support for this to allow bootm to process overlay configuration sections.

(From OE-Core rev: c0db9776beb4f519079a554a733353c368739dcf)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage: Allow setting of DTB/DTBO relocation address
Alex Kiernan [Sat, 16 Jun 2018 09:28:52 +0000 (09:28 +0000)] 
kernel-fitimage: Allow setting of DTB/DTBO relocation address

Introduce UBOOT_DTB_LOADADDRESS and UBOOT_DTBO_LOADADDRESS so that you
can set where U-Boot loads full and overlay DTBs. This is required when
using bootm's overlay support to construct the final DTB.

(From OE-Core rev: 05d2230db1d7379494814407fc0d79d7e755d89e)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-8: Fix spurious mcpu/march conflict for xscale
Khem Raj [Fri, 15 Jun 2018 15:08:16 +0000 (08:08 -0700)] 
gcc-8: Fix spurious mcpu/march conflict for xscale

(From OE-Core rev: 00808545041750698f710ef4e0345c80221373b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc8: drop stray uClibc specific patch
Andre McCurdy [Fri, 15 Jun 2018 15:08:15 +0000 (08:08 -0700)] 
gcc8: drop stray uClibc specific patch

The patch was previously removed for gcc7 but came back with gcc8.

  http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87

(From OE-Core rev: 5f1b9128bd8693b2309c07cfc2de7b8f77c34da1)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosite.conf.sample: document oe-git-proxy required tools for HOSTTOOLS
Leonardo Sandoval [Thu, 7 Jun 2018 19:14:00 +0000 (14:14 -0500)] 
site.conf.sample: document oe-git-proxy required tools for HOSTTOOLS

The script oe-git-proxy uses some tools that may not be included
on HOSTTOOLS, thus add the proper documentation.

(From meta-yocto rev: 737702c175691db679d513a05b1800a14da35c74)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: runqueue.py: Initial implementation of per task process limits
Mark Hatle [Mon, 14 May 2018 14:21:39 +0000 (10:21 -0400)] 
bitbake: runqueue.py: Initial implementation of per task process limits

On high core machines, in do_fetch, it is possible to DDoS your own machine.
A method to limit any arbitrary task type to a certain number of simultaneous
threads is needed.  (Similar to how BB_NUMBER_THREADS works in the general
case.)  The format of this new limitation is:

    do_fetch[number_threads] = "2"

This should be set globally.  If it is set in individual recipes it could
result in unpredictable behavior.

Note: a value for number_threads > BB_NUMBER_THREADS will have no effect.

(Bitbake rev: 055865047c63b9c3b213b47a1884924ce0adeda0)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: runqueue.py: Minor cleanup for RunQueueStats and users
Mark Hatle [Mon, 14 May 2018 14:21:38 +0000 (10:21 -0400)] 
bitbake: runqueue.py: Minor cleanup for RunQueueStats and users

The RunQueueStats:taskCompleted and RunQueueStats:taskSkipped can take
multiple arguments.  However, nowehere in bitbake are multiple arguments used.
Change this to match the behavior of the other APIs where it needs to be
called once for each task.

Additionally, these two functions were usually called in tandem, however in
the wrong order.  It really doesn't matter as there is no specific preemption
point between the calls.  But the taskSkipped should be called first to
increment the 'active' count, and then taskCompleted called to decrement it.

(Bitbake rev: 26d5ea9bb892bd6a2e1fd29a9023e0b0644edc16)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD
Andre McCurdy [Tue, 5 Jun 2018 19:13:50 +0000 (12:13 -0700)] 
bitbake: fetch2: unify the way fetchers determine DL_DIR and FETCHCMD

Currently there is quite some variation between the fetchers in terms
of how they determine the subdirectory within DL_DIR and the base
fetch command to run. Some rely on variables being set externally
(e.g. from bitbake.conf in oe-core), some respect these external
variables but provide fallback defaults and some use only hardcoded
internal values. Try to unify the approach used across the various
fetchers.

(Bitbake rev: efd5e35af4b08501c67e8b30f30d9457f6fdf610)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoalsa-tools: rewrite packaging
Ross Burton [Mon, 11 Jun 2018 20:38:16 +0000 (21:38 +0100)] 
alsa-tools: rewrite packaging

alsa-tools is actually a collection of 20 separate tools, each with their own
configure scripts.  The dependencies are varied, old, and estoric (FLTK, GTK+ 1, 2,
and 3, PyGTK 2, Qt3).

Instead of maintaining patches to try and pick a subset that builds, use
PACKAGECONFIG and some magic to build what the user requests.

By default we build all the tools which have no dependencies, and the tools
which need GTK+ 2 or GTK+ 3 if the relevant DISTRO_FEATURES are enabled.

Add a patch to fix the build of ld10k1 with musl.

The ncurses build dependency doesn't seem to be checked for, so remove that.

(From OE-Core rev: 83c9405df5748744ef673ac8757bb89d7050ad8d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorootfs-postcommands.bbclass: drop obsolete sshd UseDNS rootfs postprocessing
Andre McCurdy [Thu, 7 Jun 2018 18:48:40 +0000 (11:48 -0700)] 
rootfs-postcommands.bbclass: drop obsolete sshd UseDNS rootfs postprocessing

The sshd UseDNS option has defaulted to "no" since openssh 6.8p1,
so it's no longer necessary to postprocess the rootfs to force the
option:

  https://www.openssh.com/txt/release-6.8

(From OE-Core rev: 0cb4f11614bd3b17db8e6b3516761193cd45d082)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: only create sshd host keys which have been enabled
Andre McCurdy [Thu, 7 Jun 2018 18:48:39 +0000 (11:48 -0700)] 
openssh: only create sshd host keys which have been enabled

Previously sshd_check_keys would create a full set of all possible
sshd host keys, even if sshd_config has been set to only enable
certain key types.

Update sshd_check_keys to only create keys which have been enabled in
sshd_config (with a fallback to creating a full set of key types if
no HostKey options are defined, as before).

(From OE-Core rev: 2303d795ae96f1a60caf145a0ddf100e89c4b5b0)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: sync local ssh_config + sshd_config files with upstream 7.7p1
Andre McCurdy [Thu, 7 Jun 2018 18:48:38 +0000 (11:48 -0700)] 
openssh: sync local ssh_config + sshd_config files with upstream 7.7p1

Changes are mostly related to the removal of support for SSH v.1
protocol, which was dropped from openssh sshd in 7.4p1:

  https://www.openssh.com/txt/release-7.4

(From OE-Core rev: b81389c50e0d191e31f71af82d86bfbb37b83acc)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: minor indent cleanup for sshd init script
Andre McCurdy [Thu, 7 Jun 2018 18:48:37 +0000 (11:48 -0700)] 
openssh: minor indent cleanup for sshd init script

The openssh sshd init script contains a mix of indent styles, mostly
inherited from the Debian script from which it is derived. Leave the
indent from Debian as-is, but for lines which are OE specific (e.g.
where Debian's log_daemon_msg helper has been replaced with echo)
make the indent consistent with surrounding lines.

(From OE-Core rev: 68fb7d3b06887e0db3eef0ab231ced37cfa4894c)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: drop RCONFLICTS for openssh-keygen
Andre McCurdy [Thu, 7 Jun 2018 18:48:36 +0000 (11:48 -0700)] 
openssh: drop RCONFLICTS for openssh-keygen

The "ssh-keygen" package no longer seems to be provided by any recipe
in oe-core or meta-oe, so there's no clear reason for the
openssh-keygen package to conflict with it.

(From OE-Core rev: 0c5567847edba6b5ab24ae505d16375397cf4b40)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: stop adding -D__FILE_OFFSET_BITS=64 to CFLAGS
Andre McCurdy [Thu, 7 Jun 2018 18:48:34 +0000 (11:48 -0700)] 
openssh: stop adding -D__FILE_OFFSET_BITS=64 to CFLAGS

Openssh takes care of enabling large-file support automatically via
the AC_SYS_LARGEFILE in the configure.ac, so additional help from the
recipe is not required.

Even if it were once required, defining __FILE_OFFSET_BITS (ie with
double leading underscores) looks like a typo and probably never had
any effect anyway?

(From OE-Core rev: 37b1a7bada267b89094ce0c3eb81b1de9f04df8e)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogoarch.bbclass: set SECURITY_CFLAGS for mips64
Kai Kang [Thu, 14 Jun 2018 06:18:03 +0000 (14:18 +0800)] 
goarch.bbclass: set SECURITY_CFLAGS for mips64

When include conf/distro/include/security_flags.inc, NOPIE flags are
still required for mips64 target builds. Otherwise it fails to build
packages such as glide which inherit go.bbclass:

| .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/recipe-sysroot-native/usr/bin/mips64-wrs-linux/../../libexec/mips64-wrs-linux/
| gcc/mips64-wrs-linux/7.3.0/ld: .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/go-tmp/go-link-518447869/go.o:
| relocation r_mips_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC`

Use override 'mipsarch' to set SECURITY_CFLAGS for both mips and mips64.

(From OE-Core rev: 98b24e9268dc444356ce8bd9ddfec6adcce5e02a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-8: enable build-id in gcc-cross-initial
Richard Purdie [Fri, 15 Jun 2018 10:10:31 +0000 (11:10 +0100)] 
gcc-8: enable build-id in gcc-cross-initial

Apply patch from Taras Kondratiuk <takondra@cisco.com> to gcc 8.x too.

Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.

Build-id is a useful feature, so enable it for gcc-cross-initial too.

(From OE-Core rev: f24308c95853bec5cfc9f0794b111c6afecbe768)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: enable build-id in gcc-cross-initial
Taras Kondratiuk [Sat, 3 Feb 2018 02:10:43 +0000 (18:10 -0800)] 
gcc: enable build-id in gcc-cross-initial

Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.

Build-id is a useful feature, so enable it for gcc-cross-initial too.

(From OE-Core rev: ba69701dac785a220feffd6118718b1c9e733548)

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibdrm: drop uclibc-specific patch
Ross Burton [Tue, 12 Jun 2018 15:27:50 +0000 (16:27 +0100)] 
libdrm: drop uclibc-specific patch

This patch isn't needed for musl or glibc, so drop it.

(From OE-Core rev: 46275ed3de30e6095b0d7ef71aad842e5ea9fe30)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosend-error-report: decode response from server
Robert Yang [Tue, 12 Jun 2018 08:39:17 +0000 (16:39 +0800)] 
send-error-report: decode response from server

Fixed:
b'Your entry can be found here: http://<snip>'

Now looks like:
Your entry can be found here: http://<snip>

(From OE-Core rev: 4510973fe12a61c21e12b46b8315c56f91eff5b7)

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 agoltp: fix CVE-2017-5669 test case
Naresh Kamboju [Tue, 12 Jun 2018 07:34:14 +0000 (13:04 +0530)] 
ltp: fix CVE-2017-5669 test case

Adding CVE-2017-5669 test fix patch which is accepted upstream in LTP repo.

Ref:
cve-2017-5669: shmat() for 0 (or <PAGESIZE with RND flag) has to fail with REMAPs
https://github.com/linux-test-project/ltp/pull/324

Upstream-Status: Accepted [https://github.com/linux-test-project/ltp/pull/324]
(From OE-Core rev: e356cb7e7bfb407c2f3a1bd0f28b5f14beaff882)

Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoliberror-perl: upgrade 0.17025 -> 0.17026
Tim Orling [Tue, 12 Jun 2018 05:31:07 +0000 (22:31 -0700)] 
liberror-perl: upgrade 0.17025 -> 0.17026

* Upstream release notes:
"
May 23 2018 <shlomif@shlomifish.org> (Shlomi Fish)

  Error.pm #0.17026
  - Convert to Dist-Zilla.
"

* Tested on qemux86: all tests pass

(From OE-Core rev: 8a5d5a8422239d45aba73595ee2a2120adf93c84)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers: add Andrej Valek as busybox maintainer
Ross Burton [Tue, 12 Jun 2018 09:32:40 +0000 (10:32 +0100)] 
maintainers: add Andrej Valek as busybox maintainer

Andrej has kindly stepped up as the busybox maintainer.

(From OE-Core rev: 9102319b85ed097fc63c0b56e3b9242be28ec5ab)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: remove myself as maintainer.
Armin Kuster [Mon, 11 Jun 2018 22:03:20 +0000 (15:03 -0700)] 
busybox: remove myself as maintainer.

(From OE-Core rev: ee4ebba0b4fc1e5c65509170794f79715bc0652f)

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 agopopt: update SRC_URI
Armin Kuster [Mon, 11 Jun 2018 17:22:57 +0000 (10:22 -0700)] 
popt: update SRC_URI

It appears the rpm5.org has been down for some time, switch to fossies

WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL http://rpm5.org/files/popt/popt-1.16.tar.gz, attempting MIRRORS if available

(From OE-Core rev: 347ee336dcc94e6fa4e4788117013615b90abd70)

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 agoxinetd: Fix systemd service for systemd>237
Ricardo Ribalda Delgado [Mon, 11 Jun 2018 08:05:04 +0000 (10:05 +0200)] 
xinetd: Fix systemd service for systemd>237

SystemD 237 implements a stricted PIDfile handling that breaks several
daemons [1].

Change the way we start xinetd, mimicing other distros [2].

Fixes:
root@qt5122:~# journalctl -u xinetd
-- Logs begin at Fri 2018-05-25 14:33:29 UTC, end at Mon 2018-06-11 07:33:08 UTC. --
May 25 14:33:31 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
May 25 14:33:31 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:27:24 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.
Jun 11 07:31:38 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
Jun 11 07:31:38 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:33:08 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.

[1]: https://github.com/systemd/systemd/issues/8085
[2]: https://github.com/felixonmars/archlinux-community/commit/e49040636737fdb09031e75ec4d73a580f80676b

(From OE-Core rev: eea25f03e4c46cfe0d05df46f8f50e1389179c80)

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake-blayers/create: add version for example recipe
Anuj Mittal [Mon, 11 Jun 2018 01:52:06 +0000 (09:52 +0800)] 
bitbake-blayers/create: add version for example recipe

Add version field in recipe name for example recipe created by
bitbake-layers.

Fixes [YOCTO #12767]

(From OE-Core rev: c62f6b9643d31b465ea0e919882e411a5ed35c56)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agouboot-extlinux-config.bbclass: Add baudrate in console bootparam
Otavio Salvador [Fri, 8 Jun 2018 14:03:30 +0000 (11:03 -0300)] 
uboot-extlinux-config.bbclass: Add baudrate in console bootparam

By default, we ought to use console="${console},${baudrate}" as
console bootparam as commonly it is left to be passed with the
bootargs.

(From OE-Core rev: 2ce3534b2011cf5516780c9fd7e00bd107619adc)

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 agotrace-cmd: add PACKAGECONFIG for audit
Dengke Du [Fri, 8 Jun 2018 01:18:32 +0000 (09:18 +0800)] 
trace-cmd: add PACKAGECONFIG for audit

(From OE-Core rev: f7d62fff09b033b6eee7251a133d05c24c55769e)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc: fix CVE-2017-18269 and CVE-2018-11236
Zhixiong Chi [Thu, 7 Jun 2018 10:01:53 +0000 (03:01 -0700)] 
glibc: fix CVE-2017-18269 and CVE-2018-11236

Backport two CVE patches from the upstream
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=summary
commit 5460617d1567657621107d895ee2dd83bc1f88f2
commit cd66c0e584c6d692bc8347b5e72723d02b8a8ada

(From OE-Core rev: 398ac946745bbfad55deb382aeafec0be3298819)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoman-pages: inherit manpages
Kai Kang [Thu, 7 Jun 2018 09:02:00 +0000 (02:02 -0700)] 
man-pages: inherit manpages

Inherit manpages to update manual file index caches after installation
for man-pages.

(From OE-Core rev: 72e5e124e565c5a72771c7325a783011aedcab96)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomanpages.bbclass: Update RDEPENDS and post install scripts
Kai Kang [Thu, 7 Jun 2018 09:01:59 +0000 (02:01 -0700)] 
manpages.bbclass: Update RDEPENDS and post install scripts

If a package installs manual files, it should update manual index cache
after its installation. Add package 'man-db' to RDEPENDS which contains
command 'mandb' to update the cache. And do the update in the post
install scripts.

(From OE-Core rev: 078900f2416202b677471b10b69c8defb0f14c8d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocpio: fix CVE-2016-2037
Andre McCurdy [Fri, 25 May 2018 00:14:19 +0000 (17:14 -0700)] 
cpio: fix CVE-2016-2037

"The cpio_safer_name_suffix function in util.c in cpio 2.11 allows
remote attackers to cause a denial of service (out-of-bounds write)
via a crafted cpio file."

  https://nvd.nist.gov/vuln/detail/CVE-2016-2037

Note that there appear to be two versions of this fix. The original
patch posted to the bug-cpio mailing list [1] is used by Debian [2],
but apparently causes regression [3]. The patch accepted to the
upstream git repo [4] seems to be the most complete fix.

  [1] https://lists.gnu.org/archive/html/bug-cpio/2016-01/msg00005.html
  [2] https://security-tracker.debian.org/tracker/CVE-2016-2037
  [3] https://www.mail-archive.com/bug-cpio@gnu.org/msg00584.html
  [4] http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=d36ec5f4e93130efb24fb9678aafd88e8070095b

(From OE-Core rev: f170288ac706126e69a504a14d564b2e5c3513e4)

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 agocpio: rely on texinfo.bbclass for texinfo-native dependency
Andre McCurdy [Fri, 25 May 2018 00:14:18 +0000 (17:14 -0700)] 
cpio: rely on texinfo.bbclass for texinfo-native dependency

(From OE-Core rev: 7dad119dd0ee82b14a82b2a0b5a89f790e3bc007)

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 agocpio: move contents of cpio_v2.inc into the cpio recipe
Andre McCurdy [Fri, 25 May 2018 00:14:17 +0000 (17:14 -0700)] 
cpio: move contents of cpio_v2.inc into the cpio recipe

Merge contents of cpio_v2.inc into the only recipe which uses it.

(From OE-Core rev: 162ff3871779d646dadc7e7287f4667641d6e612)

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 agoqemu: don't inherit autotools
Ross Burton [Mon, 11 Jun 2018 10:44:33 +0000 (11:44 +0100)] 
qemu: don't inherit autotools

qemu doesn't use autotools, so don't inherit it and just call 'make install'
directly.

No need to alter makefiles anymore, as they appear to respect CFLAGS now.

Remove a chmod of beginend_funcs.sh (a file we patched in, and removed,
many years ago).

(From OE-Core rev: b52a9d108d72ebdf93f2dc51aa6f26ccc890d451)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowayland: fix upstream release checking
Ross Burton [Fri, 8 Jun 2018 13:50:27 +0000 (14:50 +0100)] 
wayland: fix upstream release checking

Wayland has moved to GitLab with the result that /releases/ no longer returns a
directory listing, so the upgrade detection doesn't work.

The upgrade detection can scan releases.html just as well, so tell it to look
there.

(From OE-Core rev: 8befb09eb28bb6d8884d2052cd63c2c319eceed1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicecc-toolchain: Remove environment setup
Joshua Watt [Wed, 6 Jun 2018 15:24:44 +0000 (10:24 -0500)] 
icecc-toolchain: Remove environment setup

The handling of the environment setup was moved to the post-relocate
script handler, and so is no longer necessary in the setup script

(From OE-Core rev: 710b93a24df6372abd6d7aa0ede8750cf4bf88b4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: allow setting time-epoch to epoch
Dan McGregor [Wed, 6 Jun 2018 15:21:19 +0000 (09:21 -0600)] 
systemd: allow setting time-epoch to epoch

systemd by default sets the system time at boot to the date of its NEWS
file. It provides the option to change that at build time, and some
projects need to come up at a particular date if no RTC is present.

Provide the option to set the time at boot to the epoch instead of the
date of the NEWS file.

(From OE-Core rev: bf1847cd369fe72b8f8e04e2661bb7d2d3524ea2)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoAdd license file EPL-2.0
Nicola Lunghi [Wed, 6 Jun 2018 13:23:39 +0000 (14:23 +0100)] 
Add license file EPL-2.0

it is from:

https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt

And add 'EPL-2.0' to SRC_DISTRIBUTE_LICENSES.

(From OE-Core rev: f045b3d2c62c70a87277596d20bdb8830faa2963)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorpcbind: add option to make user able to use fixed port number
Li Wang [Wed, 6 Jun 2018 02:54:45 +0000 (10:54 +0800)] 
rpcbind: add option to make user able to use fixed port number

Add option "-p" to specify fixed port number

(From OE-Core rev: f6f3f7388cefb2833b4240c2c9ddbf8bd201bc61)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowpa-supplicant: fix the bug for PATCHTOOL = "patch"
Hong Liu [Tue, 5 Jun 2018 08:10:56 +0000 (16:10 +0800)] 
wpa-supplicant: fix the bug for PATCHTOOL = "patch"

When switch PATCHTOOL to patch, applying 'key-replay-cve-multiple.patch' failed:

checking file src/ap/ieee802_11.c
checking file src/ap/wpa_auth.c
checking file src/ap/wpa_auth.h
checking file src/ap/wpa_auth_ft.c
checking file src/ap/wpa_auth_i.h
checking file src/common/wpa_common.h
checking file src/rsn_supp/wpa.c
checking file src/rsn_supp/wpa_i.h
checking file src/rsn_supp/wpa.c
Hunk #1 FAILED at 709.
Hunk #2 FAILED at 757.
Hunk #3 succeeded at 840 (offset -12 lines).
Hunk #4 FAILED at 868.
Hunk #5 FAILED at 900.
Hunk #6 FAILED at 924.
Hunk #7 succeeded at 1536 (offset -38 lines).
Hunk #8 FAILED at 2386.
Hunk #9 FAILED at 2920.
Hunk #10 succeeded at 2940 (offset -46 lines).
Hunk #11 FAILED at 2998.
8 out of 11 hunks FAILED
checking file src/rsn_supp/wpa_i.h
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED
checking file src/common/wpa_common.h
Hunk #1 succeeded at 215 with fuzz 1.
checking file src/rsn_supp/wpa.c
checking file src/rsn_supp/wpa_i.h
checking file src/ap/wpa_auth.c
Hunk #1 succeeded at 1898 (offset -3 lines).
Hunk #2 succeeded at 2470 (offset -3 lines).
checking file src/rsn_supp/tdls.c
checking file wpa_supplicant/wnm_sta.c
checking file src/rsn_supp/wpa.c
Hunk #1 succeeded at 2378 (offset -62 lines).
checking file src/rsn_supp/wpa_ft.c
checking file src/rsn_supp/wpa_i.h
Hunk #1 succeeded at 123 (offset -5 lines).

So split the wpa-supplicant/key-replay-cve-multiple to 8 patches.

(From OE-Core rev: 4e9bc513c22b9a52c48588ef276e2ab7f7781526)

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 agonettle: do the multilib_header magic for nettle-stdint.h and version.h
Changqing Li [Tue, 5 Jun 2018 07:58:36 +0000 (15:58 +0800)] 
nettle: do the multilib_header magic for nettle-stdint.h and version.h

add multilib support for this receipe, or it will conflicts in mutlilib setting

(From OE-Core rev: ea618e061fa190e4ae647da6466d074b49940395)

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 agocpan_build.bbclass: tell Module::Build the replacement
Jens Rehsack [Mon, 28 May 2018 18:55:09 +0000 (20:55 +0200)] 
cpan_build.bbclass: tell Module::Build the replacement

Instead of patching Module::Build, maybe Module::Build::Tiny and all other
similar tools, use the official way to tell them which is the target perl
on target.

(From OE-Core rev: f3925216b06ff7fbe21989210f8eb11e16be6631)

(From OE-Core rev: 306435507c4790ec44f30cd3c7fa7d340b441ec4)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocmake: fix Upstream-Status tag spelling
Ross Burton [Fri, 8 Jun 2018 13:00:25 +0000 (14:00 +0100)] 
cmake: fix Upstream-Status tag spelling

(From OE-Core rev: a734431a7ce36a679dff81822c2fba6f07a09e88)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoattr/acl: disable make clean
Ross Burton [Wed, 6 Jun 2018 10:20:43 +0000 (11:20 +0100)] 
attr/acl: disable make clean

These packages use hand-grown makefiles which don't handle cleans as they can
invoke /usr/bin/gmake directly which may not exist.  Until new upstream releases
are made (which have ported to automake) set CLEANBROKEN to work around this.

[ YOCTO #12775 ]

(From OE-Core rev: eb924bc684f92fc2d806715872667f241e54b365)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglib: add PACKAGECONFIG for libelf
Ross Burton [Thu, 7 Jun 2018 09:47:59 +0000 (10:47 +0100)] 
glib: add PACKAGECONFIG for libelf

gresource-tool has optional support for using libelf to extract resources from
ELF files, so add a PACKAGECONFIG in case someone wants this.

(From OE-Core rev: 93f08a036343d4df1aefe9793a7a9ab5b296f5b5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysklogd: fix typo in RCONFLICTS
Chen Qi [Wed, 23 May 2018 02:39:07 +0000 (10:39 +0800)] 
sysklogd: fix typo in RCONFLICTS

It should be RCONFLICTS_${PN} instead of RCONFLICTS_${PN}-syslog.
There's no ${PN}-syslog package.

(From OE-Core rev: 840d04182bc71ae3f6f562f668b9900c5625e1aa)

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 agoboost: Improve reproducibility
Mingli Yu [Fri, 15 Jun 2018 08:35:05 +0000 (16:35 +0800)] 
boost: Improve reproducibility

Set .file section explicitly for .S files to avoid
the linker introduces the host path in symbols for
object files whose source file is .S
Otherwise, there is a host path in the symbols as
below:
$ readelf --wide --symbols /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/libboost_context.so.1.67.0
42: 0000000000000000 0 FILE LOCAL DEFAULT ABS /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/asm/make_x86_64_sysv_elf_gas.o

[YOCTO #12708]

(From OE-Core rev: 5d785dadf2bd35f4ae7304ab927fda10368377ce)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosqlite3: consistent set of features for nativesdk
S. Lockwood-Childs [Fri, 15 Jun 2018 07:56:18 +0000 (00:56 -0700)] 
sqlite3: consistent set of features for nativesdk

Enable use of pread() and enable column metadata API for nativesdk builds.
This brings nativesdk in line with target and native builds.

(From OE-Core rev: 7c8b85e1c3d852975cd5961a297aa939bf4c7fe7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocoreutils: fix nativesdk install failure
S. Lockwood-Childs [Fri, 15 Jun 2018 07:54:33 +0000 (00:54 -0700)] 
coreutils: fix nativesdk install failure

The change "fix hostname conflict with other packages" moved the
hostname util to the list of base_bindir_progs, so do_install_append()
now expects hostname to have been built.

coreutils do_install_append() is shared between target and nativesdk
builds (though not used by native build, see comment) so hostname should
be enabled to build on both of them.

(From OE-Core rev: 57f1f5708306a6121b1172c5163c6566d5bcb89c)

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoltp: set -fomit-frame-pointer explicitly for x86-64
Mingli Yu [Fri, 15 Jun 2018 09:28:01 +0000 (17:28 +0800)] 
ltp: set -fomit-frame-pointer explicitly for x86-64

Since ltp contains x86-64 assembler which uses the
frame-pointer register, it will trigger below error
when build ltp with -fno-omit-frame-pointer on
x86-64.
| cve-2015-3290.c: In function 'child_thread':
| cve-2015-3290.c:416:1: error: bp cannot be used in asm here

And there is also some comment as below in the source
file ltp/20180515-r0/git/testcases/cve/cve-2015-3290.c
* Build with -O2.  Don't use -fno-omit-frame-pointer.

So explicitly set -fomit-frame-pointer on x86-64 for
compiler to fix the above build error.

(From OE-Core rev: 3084ff86d61b54011e0647ee17cbba521bafc9df)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotclibc-newlib: Adds a new TCLIBC variant to build with newlib as C library
Alejandro Enedino Hernandez Samaniego [Fri, 27 Apr 2018 20:21:20 +0000 (13:21 -0700)] 
tclibc-newlib: Adds a new TCLIBC variant to build with newlib as C library

This patch adds the posibility to build using TCLIBC=newlib.

It allows users to build baremetal applications with the use of a
C library.

Newlib is a lightweight C library meant to be used on embedded systems,
it is meant to be easily portable for new platforms and to provide
basic functionality on them, by design, it provides stubs for some of
these core functions declared as weak, so they can be built correctly
and then linked against some other library which provides specifics
about the platform being used if need be, libgloss takes care of these
in some cases, but it can also be extended, this patch also allows the
user to easily add other libraries to it by adding them to
NEWLIB_EXTENDED for this specific reason.

(From OE-Core rev: 9f0570351a7b0877aa50efff5fe9a9ef368cb38f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinsane.bbclass: Adds powerpc to elf headers machine dictionary
Alejandro Enedino Hernandez Samaniego [Fri, 4 May 2018 19:57:41 +0000 (12:57 -0700)] 
insane.bbclass: Adds powerpc to elf headers machine dictionary

This patch adds makes it possible to build elf for powerpc by adding
this combination to the elf headers machine dictionary, this can be
useful when trying to build baremetal applications where the TARGET_OS=elf

(From OE-Core rev: 6f7ef4f6049fa8f2a8e17abfcf53ccbc22394088)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonewlib: Adds newlib and libgloss recipes
Alejandro Enedino Hernandez Samaniego [Tue, 27 Mar 2018 00:20:25 +0000 (17:20 -0700)] 
newlib: Adds newlib and libgloss recipes

Newlib is a C library that is intended to be used on embedded systems.
It is a conglomeration of several library parts, all under free software
licenses that make them easily usable on embedded products.

Newlib provides a C library alternative that can run on baremetal, mainly
for resource constrained devices.

Libgloss is the BSP part of the C library, which can be easily modified
to port for new hardware platforms.

(From OE-Core rev: fe490ff829440b94124317759d856e2e2daf5047)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoyocto-uninative: Update to version 2.1
Richard Purdie [Fri, 15 Jun 2018 07:51:07 +0000 (07:51 +0000)] 
yocto-uninative: Update to version 2.1

This fixes issues with fontforge-native.

(From OE-Core rev: cec85a6fcadc24fd266fa34631cb095e0a773c1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Updated the note in Eclipse configuration section
Scott Rifenbark [Thu, 14 Jun 2018 18:46:31 +0000 (11:46 -0700)] 
sdk-manual: Updated the note in Eclipse configuration section

Using consistent wording.

(From yocto-docs rev: fad0230d99259aa94ef3d8db30bc81394b8da4ac)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Updated step to install Oxygen
Scott Rifenbark [Thu, 14 Jun 2018 17:43:12 +0000 (10:43 -0700)] 
sdk-manual: Updated step to install Oxygen

The step describes the installation process and the intial launch
process.  No information exists for describing how you launch
Oxygen from outside the install process.  I added a note that
tells where the "eclipse" binary is installed and an example
line to invoke it.

(From yocto-docs rev: dc59410caf18e36497d70ea3c877b4f82f620e2c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Removed superfluous text from Step 5 of the flow.
Scott Rifenbark [Thu, 14 Jun 2018 17:16:09 +0000 (10:16 -0700)] 
sdk-manual: Removed superfluous text from Step 5 of the flow.

(From yocto-docs rev: 3df35b5f313da7d2394c75ac6924f1add7f2af71)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Updated workflow step on getting the image
Scott Rifenbark [Thu, 14 Jun 2018 17:12:22 +0000 (10:12 -0700)] 
sdk-manual: Updated workflow step on getting the image

Provided better instructions and accounted for the fact that it
is just this workflow here that is assuming the need for a
YP-built image.

(From yocto-docs rev: a05091768c914817ed262b15d39e7c9b54a5b863)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Updates to Eclipse Workflow section
Scott Rifenbark [Thu, 14 Jun 2018 16:52:03 +0000 (09:52 -0700)] 
sdk-manual: Updates to Eclipse Workflow section

Updated the "Workflow Using Eclipse" section head to not match so
closely the "Working With Eclipse" section heading.  TOC appeared
funny.

Also, updated the step 1 to be more accurate regarding the real
need of having a YP build host and where to go to get information
on setting it up.

(From yocto-docs rev: 1cbca098a2f793bd86b6f73d3d35ce79bdf639f0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Small edits correcting bits and pieces in Eclipse chapter.
Scott Rifenbark [Wed, 13 Jun 2018 21:43:42 +0000 (14:43 -0700)] 
sdk-manual: Small edits correcting bits and pieces in Eclipse chapter.

(From yocto-docs rev: 3ef3a4c7f424d0f16ab3e8093372210fa2c58be0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Edits to the Oxygen section
Scott Rifenbark [Wed, 13 Jun 2018 21:14:16 +0000 (14:14 -0700)] 
sdk-manual: Edits to the Oxygen section

Found several items that were slightly off after working through the
procedure.  Updates to bring it into line with reality.

(From yocto-docs rev: 0f34afe3c37dedda28a1a5714703787a5dfe649d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Updated the "Makefile-Based Projects" section.
Scott Rifenbark [Thu, 7 Jun 2018 22:02:37 +0000 (15:02 -0700)] 
sdk-manual: Updated the "Makefile-Based Projects" section.

Expanded this section to contain a figure of the flow and an
example that showcases the ways to override and use SDK
environment and Makefile variables.

(From yocto-docs rev: 834c059c1df4e8328248ea86fa23ca9a397351fa)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk-manual: Created a new Makefile flow diagram
Scott Rifenbark [Thu, 7 Jun 2018 22:01:18 +0000 (15:01 -0700)] 
sdk-manual: Created a new Makefile flow diagram

The Makefile-Based Projects section was expanded to add a useful
example and figure.  Added this figure to the sdk-manual and
mega-manual figures folders.

Updated the Makefile to include the new figure as part of the
tar files for each manual.

(From yocto-docs rev: 6261cb55b6393e0d5dce91cdb7c8e6e83849ec0c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>