]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agodbus: update dbus-1.init to reflect new PID file
Tom Benn [Thu, 17 Oct 2019 10:20:04 +0000 (10:20 +0000)]
dbus: update dbus-1.init to reflect new PID file

The PID file referenced in dbus-1.init script was out of date and no longer existed. This meant that dbus could not be restarted via init.d without force removing the old PID file.

Signed-off-by: fridgecow <fridgecow@fb.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibgcrypt: fix CVE-2019-12904
Yi Zhao [Tue, 15 Oct 2019 07:42:12 +0000 (15:42 +0800)]
libgcrypt: fix CVE-2019-12904

In Libgcrypt 1.8.4, the C implementation of AES is vulnerable to a
flush-and-reload side-channel attack because physical addresses are
available to other processes. (The C implementation is used on platforms
where an assembly-language implementation is unavailable.)

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2019-12904

Patches from:
https://github.com/gpg/libgcrypt/commit/1374254c2904ab5b18ba4a890856824a102d4705
https://github.com/gpg/libgcrypt/commit/daedbbb5541cd8ecda1459d3b843ea4d92788762
https://github.com/gpg/libgcrypt/commit/a4c561aab1014c3630bc88faf6f5246fee16b020

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython: Fix CVE-2019-10160
Changqing Li [Thu, 10 Oct 2019 09:02:51 +0000 (17:02 +0800)]
python: Fix CVE-2019-10160

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobluez5: refresh upstreamed patches
Ross Burton [Wed, 9 Oct 2019 15:19:13 +0000 (16:19 +0100)]
bluez5: refresh upstreamed patches

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooeqa/selftest: use specialist assert* methods
Ross Burton [Wed, 9 Oct 2019 11:16:11 +0000 (12:16 +0100)]
oeqa/selftest: use specialist assert* methods

5 years agoruby: some ptest fixes
André Draszik [Tue, 1 Oct 2019 14:29:56 +0000 (15:29 +0100)]
ruby: some ptest fixes

* the (new?) ruby expects some additional compiled libraries
  to run, so we need to copy them as part of ptest.
  Fixes errors like:
  # ruby ./runner.rb ./-ext-/vm/test_at_exit.rb
  Run options:

  # Running tests:

  [1/1] TestVM#test_at_exit = 0.06 s
    1) Failure:
  TestVM#test_at_exit [/usr/lib/ruby/ptest/test/-ext-/vm/test_at_exit.rb:7]:

  1. [1/2] Assertion for "stdout"
     | <["begin", "end"]> expected but was
     | <[]>.

  2. [2/2] Assertion for "stderr"
     | <[]> expected but was
     | <["-:1:in `require': cannot load such file -- -test-/vm/at_exit (LoadError)",
     |  "\tfrom -:1:in `<main>'"]>.

* the 'erb' test can't find the erb binary, as we're not
  running this from within the build directory

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoicecc: Export ICECC_CC and friends via wrapper-script
Douglas Royds via Openembedded-core [Tue, 1 Oct 2019 04:20:18 +0000 (17:20 +1300)]
icecc: Export ICECC_CC and friends via wrapper-script

By exporting ICECC_CC, ICECC_CXX, and ICECC_VERSION in a wrapper-script,
and putting this wrapper-script in the PATH, the Makefiles generated by CMake or
the autotools are able to function correctly outside of bitbake.
This provides a convenient developer workflow in which the
modify-compile-unittest cycle can happen directly in the ${B} directory.

The `rm -f $ICE_PATH/$compiler` line is transitional,
and can go at some later date (October 2020 or later, perhaps).

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoruby: update to v2.6.4
André Draszik [Tue, 1 Oct 2019 09:54:52 +0000 (10:54 +0100)]
ruby: update to v2.6.4

Most patches had to be refreshed

Note that we can now drop
    EXTRA_AUTORECONF += "--exclude=aclocal"
from the recipe, as ruby upstream now fully supports
runnning aclocal:
    https://github.com/ruby/ruby/pull/1793/commits/df9bf70cd2275a3ddc3108f392214fcc4a9b0859
    https://github.com/ruby/ruby/commit/ec43478f34de262ebdd2922c488e265344b489c3

Also note that 'created.rid' is not being installed
anymore since v2.6.0

While additional LICENSEs were added to the recipe,
they should always have been mentioned in this recipe,
i.e. the license checksum was updated only because:
    * URLs were updated
    * new imported components were mentioned (with no new licenses)
    * formatting was changed
    * dates were updated

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoopenssl: make OPENSSL_ENGINES match install path
George McCollister [Wed, 25 Sep 2019 11:52:59 +0000 (06:52 -0500)]
openssl: make OPENSSL_ENGINES match install path

Set OPENSSL_ENGINES to the path where engines are actually installed.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoe2fsprogs:upgrade 1.45.3 -> 1.45.4
Zang Ruochen [Wed, 25 Sep 2019 08:04:44 +0000 (16:04 +0800)]
e2fsprogs:upgrade 1.45.3 -> 1.45.4

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodevtool: add ssh key option to deploy-target param
Eduardo Abinader [Mon, 5 Aug 2019 12:20:38 +0000 (14:20 +0200)]
devtool: add ssh key option to deploy-target param

Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoell: update to 0.23
Oleksandr Kravchuk [Sun, 22 Sep 2019 23:13:17 +0000 (01:13 +0200)]
ell: update to 0.23

Changelog:
- Add support for checking if uintset is empty.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocmake.bbclass: add HOSTTOOLS_DIR to CMAKE_FIND_ROOT_PATH
Michael Ho [Wed, 14 Aug 2019 15:05:15 +0000 (17:05 +0200)]
cmake.bbclass: add HOSTTOOLS_DIR to CMAKE_FIND_ROOT_PATH

The find_program command will fail if it is used on a tool that is listed in
ASSUME_PROVIDED. This is because these tools are in the hosttools directory
which is not listed in CMAKE_FIND_ROOT_PATH so cmake will not find them.

Adding the directory HOSTTOOLS_DIR to the CMAKE_FIND_ROOT_PATH variable fixes
the initial issue of needing to search for tools in ASSUME_PROVIDED.

Note that this change alone does not fix the issue because find_program will
by default only look into the subdirectories bin and usr/bin under the paths
in CMAKE_FIND_ROOT_PATH to find the programs and the hosttools directory has
instead the symlinks directly present without these subdirectories.

Set CMAKE_PROGRAM_PATH to by default include the root directory so
find_program can search the hosttools directory without needing the prefix
directories.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobison:upgrade 3.4.1 -> 3.4.2
Zang Ruochen [Thu, 19 Sep 2019 02:41:04 +0000 (10:41 +0800)]
bison:upgrade 3.4.1 -> 3.4.2

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodevtool: Add --remove-work option for devtool reset command
Sai Hari Chandana Kalluri [Fri, 4 Oct 2019 22:52:29 +0000 (15:52 -0700)]
devtool: Add --remove-work option for devtool reset command

Enable --remove-work option for devtool reset command that allows user
to clean up source directory within workspace.

Currently devtool reset command only removes recipes and user is forced
to manually remove the sources directory within the workspace before
running devtool modify again.

Using devtool reset -r or devtool reset --remove-work option, user can
cleanup the sources directory along with the recipe instead of manually
cleaning it.

syntax: devtool reset -r <recipename>
    Ex: devtool reset -r zip

devtool finish -r <recipename> <layer-name>
    Ex: devtool finish -r zip meta-yocto-bsp

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython3: ensure that all forms of python3-config are in python3-dev
Ross Burton [Thu, 17 Oct 2019 11:29:43 +0000 (12:29 +0100)]
python3: ensure that all forms of python3-config are in python3-dev

In multilib builds python3-config gets renamed to eg python3-config-lib64 but
this ends up being packaged in python3-core not python3-dev.

The manifest uses an extended glob to package all python* binaries that are not
python-config into python3-core:

            "${bindir}/python*[!-config]",

However, this doesn't do what was intended, as [] is a range match.

Replace the globs with more verbose but precise matches, and clear out
FILES_${PN} to ensure that new binaries don't end up in ${PN} (which shouldn't
exist).

[ YOCTO #13592 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython3: alternative name is python3-config not python-config
Ross Burton [Thu, 17 Oct 2019 11:29:42 +0000 (12:29 +0100)]
python3: alternative name is python3-config not python-config

With python3-config using the 'python-config' name, it's possible for
python-config to point at python3-config, which is obviously wrong.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agotinderclient: Drop obsolete class
Richard Purdie [Mon, 21 Oct 2019 11:40:35 +0000 (12:40 +0100)]
tinderclient: Drop obsolete class

This was used for build result reporting back in the OE-Classic days. Its
not been touched in years, isn't used as far as I know and can be removed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-native: Remove debug.patch
Max Tomago [Tue, 15 Oct 2019 16:37:44 +0000 (17:37 +0100)]
python-native: Remove debug.patch

It doesn't look like it should be there.

Signed-off-by: Max Tomago <max.tomago@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoaspell: upgrade from 0.60.7 to 0.60.8
Trevor Gamblin [Wed, 16 Oct 2019 13:23:21 +0000 (06:23 -0700)]
aspell: upgrade from 0.60.7 to 0.60.8

New version fixes CVE-2019-17544 as well as various other bugs.

CVE: CVE-2019-17544

RP: Added tweak to fix meta-selftest
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd.bbclass: enable all services specified in ${SYSTEMD_SERVICE}
Mikko Rapeli [Thu, 17 Oct 2019 07:31:58 +0000 (10:31 +0300)]
systemd.bbclass: enable all services specified in ${SYSTEMD_SERVICE}

This has been the traditional way of enabling systemd services.
It may conflict with presets feature, but other layers, image classes
and recipes add services to be enabled using SYSTEMD_SERVICE
variable also with read-only rootfs, e.g. IMAGE_FEATURES has
stateless-rootfs and systemd_preset_all task is not executed.

Fixes startup of custom services from our recipes using custom
image classes with various BSP layers. In the worst case even
serial console getty service wasn't starting due to dependency
no not enabled services.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Fix CVE-2019-12068
Changqing Li [Thu, 17 Oct 2019 02:52:27 +0000 (10:52 +0800)]
qemu: Fix CVE-2019-12068

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/systemd: skip unit enable/disable on read-only-rootfs
André Draszik [Thu, 17 Oct 2019 09:28:02 +0000 (10:28 +0100)]
oeqa/runtime/systemd: skip unit enable/disable on read-only-rootfs

This doesn't work on read-only-rootfs:
    AssertionError: 1 != 0 : SYSTEMD_BUS_TIMEOUT=240s systemctl disable avahi-daemon.service
    Failed to disable unit: File /etc/systemd/system/multi-user.target.wants/avahi-daemon.service: Read-only file system

This patch does two things:
1) Decorate the existing test to be skipped if the rootfs is
   read-only
2) add a new test to be executed only if the rootfs is
   read-only. This new test remounts the rootfs read-write
   before continuing to execute the existing test, making
   sure to clean up correctly after itself (remount r/o
   again).

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/opkg: skip install on read-only-rootfs
André Draszik [Wed, 16 Oct 2019 09:18:24 +0000 (10:18 +0100)]
oeqa/runtime/opkg: skip install on read-only-rootfs

Images can have package management enabled, but be
generally running as read-only. In this case, the
test fails at the moment with various errors due to
that.

Use the new @skipIfFeature decorator to also skip
this test in that case.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core/decorator: add skipIfFeature
André Draszik [Wed, 16 Oct 2019 09:18:23 +0000 (10:18 +0100)]
oeqa/core/decorator: add skipIfFeature

skipIfFeature will skip a test if a given DIST_FEATURE
or IMAGE_FEATURE is enabled.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/df: don't fail on long device names
André Draszik [Wed, 16 Oct 2019 09:18:22 +0000 (10:18 +0100)]
oeqa/runtime/df: don't fail on long device names

When device names are long (more than 20 characters), the
df test will fail with an exception:
    self.assertTrue(int(output)>5120, msg=msg)
    ValueError: invalid literal for int() with base 10: ''
at least when busybox is in use.

The reason is that busybox breaks the line in that case:
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02
                           1998672     87024   1790408   5% /
and the code tries to extract the fourth field from the
second line, which is empty of course.

df can be told not to break lines, though, using the -P
flag, which turns on the POSIX output format, and is
supported by busybox df and coreutils df:
    Filesystem           1024-blocks    Used Available Capacity Mounted on
    /dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02   1998672     87024   1790408   5% /

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotestimage.bbclass: enable ssh agent forwarding
André Draszik [Wed, 16 Oct 2019 09:18:21 +0000 (10:18 +0100)]
testimage.bbclass: enable ssh agent forwarding

Some targets might use ssh to do their power- or serial-
control. In that case, ssh might need access to the
ssh agent, or otherwise won't work.

So export it into the environment.

Note that the (old) oeqa/controllers/masterimage.py
tries to do that as well by exporting all of BB_ORIGENV
into the test environment. Here in testimage.bbclass we
are a bit more strict and only pass the ssh related
environment variables.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotestimage.bbclass: support hardware-controlled targets
André Draszik [Wed, 16 Oct 2019 09:18:20 +0000 (10:18 +0100)]
testimage.bbclass: support hardware-controlled targets

Since the introduction of the new runtime framework for target
testing in commit 2aa5a4954d76
("testimage.bbclass: Migrate class to use new runtime framework")
commit 3857e5c91da6 in poky.git, target controllers have no
access to the global datastore 'd' anymore.

This makes it impossible for a specific OEQA (hardware)
controller to access documented properties like
TEST_POWERCONTROL_CMD, TEST_SERIALCONTROL_CMD, etc,
meaning it's impossible for those controllers to actually
control the hardware.

To solve this, simply add those documented variables into
the target_kwargs[].

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogawk: add PACKAGECONFIG for readline
Ross Burton [Thu, 17 Oct 2019 11:29:45 +0000 (12:29 +0100)]
gawk: add PACKAGECONFIG for readline

Add a PACKAGECONFIG so that readline can be disabled if desired.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: -dev should depend on distutils
Ross Burton [Thu, 17 Oct 2019 11:29:44 +0000 (12:29 +0100)]
python3: -dev should depend on distutils

python3-config uses distutils:

Traceback (most recent call last):
  File "/usr/bin/python3-config", line 9, in <module>
    from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'

Add the dependency so that distutils is always present.

[ YOCTO #13592 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoi2c-tools: Add missing RDEPEND
Ricardo Ribalda Delgado [Thu, 17 Oct 2019 14:16:19 +0000 (16:16 +0200)]
i2c-tools: Add missing RDEPEND

Fixes:
 # decode-dimms
Can't locate Carp.pm in @INC (you may need to install the Carp module) (@INC contains: /usr/lib/perl5/site_perl/5.28.1/x86_64-linux /usr/lib/perl5/site_perl/5.28.1 /usr/lib/perl5/vendor_perl/5.28.1/x86_64-linux /usr/lib/perl5/vendor_perl/5.28.1 /usr/lib/perl5/5.28.1/x86_64-linux /usr/lib/perl5/5.28.1 .) at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
Compilation failed in require at /usr/lib/perl5/5.28.1/x86_64-linux/POSIX.pm line 505.
Compilation failed in require at /usr/bin/decode-dimms line 41.
BEGIN failed--compilation aborted at /usr/bin/decode-dimms line 41.
root@qt5222:~# apt-get install perl-module-carp

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofile: explicitly disable seccomp
Ross Burton [Fri, 18 Oct 2019 11:28:19 +0000 (12:28 +0100)]
file: explicitly disable seccomp

file will automatically enable seccomp if the seccomp headers are available, but
the build will fail on Opensuse Tumbleweed because the include paths are wrong.

Enabling seccomp is a bad idea because it interacts badly with pseudo (causing
build failures), so explicitly and globally disable seccomp.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/rawcopy: Support files in sub-directories
Eugene Smirnov [Fri, 18 Oct 2019 11:16:14 +0000 (13:16 +0200)]
wic/rawcopy: Support files in sub-directories

If the source file is located in a subdirectory of DEPLOY_DIR
rawcopy will currently fail in sparse_copy function on
open(dst_fname, 'wb'), as the parent directory for destination
file does not exist.

This patch helps to avoid that by recursively creating
parent directories.

Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: fix CVE-2019-16905
Hongxu Jia [Fri, 18 Oct 2019 07:10:01 +0000 (15:10 +0800)]
openssh: fix CVE-2019-16905

Backport a patch from upstream to fix CVE-2019-16905
https://github.com/openssh/openssh-portable/commit/a546b17bbaeb12beac4c9aeed56f74a42b18a93a

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agouninative: check .done file instead of tarball
Stefan Agner [Fri, 11 Oct 2019 09:06:59 +0000 (11:06 +0200)]
uninative: check .done file instead of tarball

In case multiple builds share UNINATIVE_DLDIR's location, one build
might be in the process of downloading the tarball while another is
just checking whether the tarball exists. Check for the done file
instead and rely on the fetchers lockfile mechanism in case two
builds are running.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosanity: check the format of SDK_VENDOR
Ross Burton [Mon, 14 Oct 2019 11:42:57 +0000 (12:42 +0100)]
sanity: check the format of SDK_VENDOR

If SDK_VENDOR isn't formatted as -foosdk and is instead for example -foo-sdk
then the triple that are constructed are not in fact triples, which results in
mysterious compile errors.

Check in sanity.bbclass so this failure is detected early.

[ YOCTO #13573 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsdl2: fix CVE-2019-13616
Yi Zhao [Mon, 14 Oct 2019 06:43:15 +0000 (14:43 +0800)]
libsdl2: fix CVE-2019-13616

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2019-13616

Patch from:
https://hg.libsdl.org/SDL/rev/e7ba650a643a

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemuriscv64: Build smode U-Boot
Alistair Francis [Tue, 15 Oct 2019 00:43:17 +0000 (17:43 -0700)]
qemuriscv64: Build smode U-Boot

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot: Bump from 2019.07 to 2019.10
Alistair Francis [Tue, 15 Oct 2019 00:43:16 +0000 (17:43 -0700)]
u-boot: Bump from 2019.07 to 2019.10

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopensbi: Bump from 0.4 to 0.5
Alistair Francis [Tue, 15 Oct 2019 00:42:19 +0000 (17:42 -0700)]
opensbi: Bump from 0.4 to 0.5

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez5: Fix for --enable-btpclient
Robert Yang [Tue, 15 Oct 2019 03:08:12 +0000 (11:08 +0800)]
bluez5: Fix for --enable-btpclient

Fixed:
PACKAGECONFIG_append_pn-bluez5 = ' btpclient'

$ bitbake bluez5
btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: fix CVE-2019-16167
Wenlin Kang [Tue, 15 Oct 2019 07:27:43 +0000 (15:27 +0800)]
sysstat: fix CVE-2019-16167

This commit is another part of CVE-2019-16167, please see
https://github.com/sysstat/sysstat/issues/232.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobase.bbclass: add dependency on pseudo from do_prepare_recipe_sysroot
Mattias Hansson [Tue, 15 Oct 2019 08:00:15 +0000 (10:00 +0200)]
base.bbclass: add dependency on pseudo from do_prepare_recipe_sysroot

do_prepare_recipe_sysroot may perform groupadd, which requires pseudo.
However, do_prepare_recipe_sysroot does not depend on pseudo explicitly,
which sometimes causes a build error when building a recipe that adds
groups.

This issue only occurs when executing do_prepare_recipe_sysroot for a
recipe that adds groups before finishing a task that depends on pseudo
for a recipe that doesn't add groups.

Signed-off-by: Mattias Hansson <mattihn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: Fix build with clang compiler
Khem Raj [Sun, 13 Oct 2019 00:51:17 +0000 (17:51 -0700)]
glib-2.0: Fix build with clang compiler

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agollvm: Update to 9.0.0
Khem Raj [Sun, 29 Sep 2019 18:13:28 +0000 (11:13 -0700)]
llvm: Update to 9.0.0

libOptRemarks has been renamed as libRemarks
RISC-V backend is now supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiso-codes:upgrade 4.3 -> 4.4
Zang Ruochen [Mon, 7 Oct 2019 06:23:08 +0000 (14:23 +0800)]
iso-codes:upgrade 4.3 -> 4.4

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofribidi:upgrade 1.0.5 -> 1.0.7
Zang Ruochen [Mon, 7 Oct 2019 06:11:25 +0000 (14:11 +0800)]
fribidi:upgrade 1.0.5 -> 1.0.7

-fribidi/meson.patch
 Removed since this is included in 1.0.7.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxfont2:upgrade 2.0.3 -> 2.0.4
Zang Ruochen [Mon, 7 Oct 2019 05:42:33 +0000 (13:42 +0800)]
libxfont2:upgrade 2.0.3 -> 2.0.4

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomsmtp:upgrade 1.8.5 -> 1.8.6
Zang Ruochen [Mon, 7 Oct 2019 05:06:26 +0000 (13:06 +0800)]
msmtp:upgrade 1.8.5 -> 1.8.6

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo:upgrade 1.10.5 -> 1.10.6
Zang Ruochen [Mon, 7 Oct 2019 03:34:23 +0000 (11:34 +0800)]
librepo:upgrade 1.10.5 -> 1.10.6

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoexpat:upgrade 2.2.8 -> 2.2.9
Zang Ruochen [Mon, 7 Oct 2019 03:11:04 +0000 (11:11 +0800)]
expat:upgrade 2.2.8 -> 2.2.9

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognu-efi: Do not use gcc-only options when building with clang
Khem Raj [Mon, 7 Oct 2019 01:40:12 +0000 (18:40 -0700)]
gnu-efi: Do not use gcc-only options when building with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpcap: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:35 +0000 (13:08 +0000)]
libpcap: Clarify BSD license variant

The License of libpcap is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agop11-kit: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:44 +0000 (13:08 +0000)]
p11-kit: Clarify BSD license variant

The license of p11-kit is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpcre: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:44 +0000 (13:08 +0000)]
libpcre: Clarify BSD license variant

The license of the two libraries are BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibwebp: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:44 +0000 (13:08 +0000)]
libwebp: Clarify BSD license variant

The license of libwebp is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agospeexdsp: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:43 +0000 (13:08 +0000)]
speexdsp: Clarify BSD license variant

The license of speexdsp is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agospeex: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:43 +0000 (13:08 +0000)]
speex: Clarify BSD license variant

The license of speex is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtheora: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:42 +0000 (13:08 +0000)]
libtheora: Clarify BSD license variant

The license of libtheora is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibvorbis: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:42 +0000 (13:08 +0000)]
libvorbis: Clarify BSD license variant

The license of libvorbis is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibogg: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:42 +0000 (13:08 +0000)]
libogg: Clarify BSD license variant

The license of libogg is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxpm: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:41 +0000 (13:08 +0000)]
libxpm: Clarify BSD license variant

The license of libxpm is MIT.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcp-wrappers: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:41 +0000 (13:08 +0000)]
tcp-wrappers: Clarify BSD license variant

The license of tcp-wrappers is BSD-1-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorpcbind: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:40 +0000 (13:08 +0000)]
rpcbind: Clarify BSD license variant

The license of rpcbind is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolighttpd: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:40 +0000 (13:08 +0000)]
lighttpd: Clarify BSD license variant

The license of lighttpd is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopbzip2: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:40 +0000 (13:08 +0000)]
pbzip2: Clarify BSD license variant

The license of pbzip2 is BSD-4-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibarchive: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:39 +0000 (13:08 +0000)]
libarchive: Clarify BSD license variant

The license of libarchive is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtirpc: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:39 +0000 (13:08 +0000)]
libtirpc: Clarify BSD license variant

The license of libtirpc is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-smmap: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:38 +0000 (13:08 +0000)]
python-smmap: Clarify BSD license variant

The license of python-smmap is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-async: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:38 +0000 (13:08 +0000)]
python-async: Clarify BSD license variant

The license of python-async is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofile: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:37 +0000 (13:08 +0000)]
file: Clarify BSD license variant

The license of file is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoflex: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:37 +0000 (13:08 +0000)]
flex: Clarify BSD license variant

The license of flex is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocmake: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:37 +0000 (13:08 +0000)]
cmake: Clarify BSD license variant

The license of cmake is BSD-3-Clause

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowpa-supplicant: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:36 +0000 (13:08 +0000)]
wpa-supplicant: Clarify BSD license variant

The license of wpa-supplicant is BSD-3-Clause

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoovmf: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:36 +0000 (13:08 +0000)]
ovmf: Clarify BSD license variant

The license of ovmf is BSD-2-Clause

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosqlite3:upgrade 3.29 -> 3.30
Zang Ruochen [Wed, 9 Oct 2019 01:53:04 +0000 (09:53 +0800)]
sqlite3:upgrade 3.29 -> 3.30

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodbus: Change path of system_bus_socket from /var/run/dbus/ to /run/dbus/
Peiran Hong [Tue, 8 Oct 2019 15:33:31 +0000 (11:33 -0400)]
dbus: Change path of system_bus_socket from /var/run/dbus/ to /run/dbus/

Fixed a warning message during startup caused by referencing the legacy
directory /var/run instead of /run. An extra parameter is passed to the
configure script to achiveve this. Upstream cannot provide a fix due to
another Linux distribution (Slackware) uses /var/run and /run as
different directories.

Refer to https://gitlab.freedesktop.org/dbus/dbus/issues/282 for
details.

Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: Remove disabling of high resolution timer
Joerg Vehlow [Fri, 11 Oct 2019 06:03:57 +0000 (08:03 +0200)]
runqemu: Remove disabling of high resolution timer

The option 'highres=off' sneaked itself into the runqemu script for all
configurations, where the root filesystem type is not 'cpio' or 'cpio.gz'.
See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13590

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa: add missing description in recipes-extended
Maxime Roussin-Bélanger [Fri, 11 Oct 2019 04:13:59 +0000 (00:13 -0400)]
meta: add missing description in recipes-extended

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: update homepage and bugtracker
Maxime Roussin-Bélanger [Fri, 11 Oct 2019 04:13:58 +0000 (00:13 -0400)]
shadow: update homepage and bugtracker

The previous homepage and issue tracker is no longer available.

Remove some trailing whitespace

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocreaterepo-c: upgrade to 0.15.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:54 +0000 (13:47 +0200)]
createrepo-c: upgrade to 0.15.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibmodulemd: remove the recipe
Alexander Kanavin [Fri, 11 Oct 2019 11:47:53 +0000 (13:47 +0200)]
libmodulemd: remove the recipe

Version 2 of the recipe is not actually required by anything; the
lidmodulemd dependency in createrepo-c is optional, and the
libmodulemd feature is not used in YP.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibmodulemd-v1: introduce the recipe
Alexander Kanavin [Fri, 11 Oct 2019 11:47:52 +0000 (13:47 +0200)]
libmodulemd-v1: introduce the recipe

Upstream has split version 1 of the libmodulemd recipe into
its own branch and removed version 1 from the master
branch and 2.x releases; as libdnf requires v1 of libmodulemd,
this commit introduces a v1-specific revipe.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: update to 0.52.0
Alexander Kanavin [Fri, 11 Oct 2019 11:47:51 +0000 (13:47 +0200)]
meson: update to 0.52.0

Drop backported patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovala: upgrade 0.44.7 -> 0.46.3
Alexander Kanavin [Fri, 11 Oct 2019 11:47:50 +0000 (13:47 +0200)]
vala: upgrade 0.44.7 -> 0.46.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agop11-kit: upgrade 0.23.16.1 -> 0.23.18.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:49 +0000 (13:47 +0200)]
p11-kit: upgrade 0.23.16.1 -> 0.23.18.1

Drop the patch that has been merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agompg123: upgrade 1.25.11 -> 1.25.12
Alexander Kanavin [Fri, 11 Oct 2019 11:47:48 +0000 (13:47 +0200)]
mpg123: upgrade 1.25.11 -> 1.25.12

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsecret: upgrade 0.19.0 -> 0.19.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:47 +0000 (13:47 +0200)]
libsecret: upgrade 0.19.0 -> 0.19.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibdazzle: upgrade 3.32.3 -> 3.34.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:46 +0000 (13:47 +0200)]
libdazzle: upgrade 3.32.3 -> 3.34.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogtk-doc: upgrade 1.31 -> 1.32
Alexander Kanavin [Fri, 11 Oct 2019 11:47:45 +0000 (13:47 +0200)]
gtk-doc: upgrade 1.31 -> 1.32

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: update 2.24.4 -> 2.26.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:44 +0000 (13:47 +0200)]
webkitgtk: update 2.24.4 -> 2.26.1

Drop patches:
- 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch - this
has been a pain to rebase for a while as upstream keeps shifting and
changing the code that needs to be modified. If the issue the patch
is addressing is still relevant, please work with upstream to fix it
at the source

- 0001-gstreamer-add-a-missing-format-string.patch, narrowing.patch
are integrated upstream

- detect-gstreamer-gl.patch is adjusting something that is better done
from the yocto package configuration

Add an option to disable an enabled-by-default sandbox that requires
a component that oe-core does not have.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoepiphany: upgrade 3.32.4 -> 3.34.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:43 +0000 (13:47 +0200)]
epiphany: upgrade 3.32.4 -> 3.34.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-networking: update to 2.62.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:41 +0000 (13:47 +0200)]
glib-networking: update to 2.62.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: upgrade to 2.62.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:40 +0000 (13:47 +0200)]
glib-2.0: upgrade to 2.62.1

Drop backported 0001-meson-do-a-build-time-check-for-strlcpy-before-attem.patch
and 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch where
upstream has removed the problematic bit.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogobject-introspection: update to 1.62.0
Alexander Kanavin [Fri, 11 Oct 2019 11:47:39 +0000 (13:47 +0200)]
gobject-introspection: update to 1.62.0

Upstream has removed autotools support entirely, so we can drop
the chunks of patches that touch it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: unset another environment variable for 'egl-headless'
Alexander Kanavin [Fri, 11 Oct 2019 11:47:38 +0000 (13:47 +0200)]
runqemu: unset another environment variable for 'egl-headless'

Some host distributions (opensuse for example) are using 'pkgconf',
which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR
to every directory from the .pc file.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa: simplify over descriptive descriptions in devtools
Maxime Roussin-Bélanger [Wed, 9 Oct 2019 02:08:48 +0000 (22:08 -0400)]
meta: simplify over descriptive descriptions in devtools

fix commandline -> command-line typo.
according to:
    https://en.wikipedia.org/wiki/Command-line_interface
    https://wiki.debian.org/Apt

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: CVE-2019-16056
Chen Qi [Wed, 9 Oct 2019 08:36:39 +0000 (16:36 +0800)]
python3: CVE-2019-16056

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython: CVE-2019-16056
Chen Qi [Wed, 9 Oct 2019 08:36:40 +0000 (16:36 +0800)]
python: CVE-2019-16056

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicense_image.bbclass: check and reject packages which have incompatible licenses
Alexander Kanavin [Thu, 10 Oct 2019 11:18:48 +0000 (13:18 +0200)]
license_image.bbclass: check and reject packages which have incompatible licenses

The use case is setting INCOMPATIBLE_LICENSE per image,
rather than as an awkward, and too strict global setting.

This for example would allow building development images with gplv3 tools,
but production images without them, and checking that nothing gpl3-licensed
gets into the latter.

Examples are provided via the selftest: four scenarios are tested:

- bash is added to the image, with a default gpl3 license; this is rejected
- bash is added to the image, with a "gpl3 & other" license; this is also rejected
- bash is added to the image, with a "gpl3 | other" license; this is accepted, but
only 'other' is added to the license manifest (this was already handled correctly
previously).
- bash is added to the image with a default gpl3 license, and is additionally
whitelisted for that image; this is accepted.

Eventually, this would allow deprecating the meta-gplv2 layer, while still
enforcing the no-gpl3 rule where possible and needed.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>