]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agometa/recipes-extended: Add HOMEPAGE / DESCRIPTION
Dorinda [Wed, 3 Mar 2021 02:01:52 +0000 (03:01 +0100)]
meta/recipes-extended: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa-skeleton: Add HOMEPAGE / DESCRIPTION
Dorinda [Wed, 3 Mar 2021 02:01:51 +0000 (03:01 +0100)]
meta-skeleton: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-rt: Add HOMEPAGE / DESCRIPTION
Dorinda [Wed, 3 Mar 2021 02:01:50 +0000 (03:01 +0100)]
meta/recipes-rt: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoshadow: whitelist CVE-2013-4235
Purushottam Choudhary [Wed, 3 Mar 2021 10:50:38 +0000 (16:20 +0530)]
shadow: whitelist CVE-2013-4235

This CVE is about TOCTOU (time-of-check time-of-use)
race condition when copying and removing directory trees
which had very low severity problem and marked as closed
and won't fix. Therefore whitelisted CVE-2013-4235.
Master, gatesgarth and dunfell all have shadow version 4.81.
Hence, this is applicable for master, gatesgarth and dunfell.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=884658
Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovala: upgrade 0.50.3 -> 0.50.4
Wang Mingyu [Thu, 4 Mar 2021 00:30:26 +0000 (08:30 +0800)]
vala: upgrade 0.50.3 -> 0.50.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotaglib: upgrade 1.11.1 -> 1.12
Wang Mingyu [Thu, 4 Mar 2021 00:30:07 +0000 (08:30 +0800)]
taglib: upgrade 1.11.1 -> 1.12

CVE-2017-12678.patch
CVE-2018-11439.patch
removed since they are included in 1.12

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: upgrade 0.12.03 -> 0.12.04
Wang Mingyu [Thu, 4 Mar 2021 00:29:53 +0000 (08:29 +0800)]
stress-ng: upgrade 0.12.03 -> 0.12.04

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoshaderc: upgrade 2020.4 -> 2020.5
Wang Mingyu [Thu, 4 Mar 2021 00:29:38 +0000 (08:29 +0800)]
shaderc: upgrade 2020.4 -> 2020.5

0003-cmake-add-option-to-skip-build-the-examples.patch removed since it
is included in 2020.5

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoptest-packagelists: remove libinput-ptest
Ross Burton [Thu, 4 Mar 2021 12:00:43 +0000 (12:00 +0000)]
ptest-packagelists: remove libinput-ptest

The libinput ptests are very sensitive to system load, and will fail
if events from the kernel don't arrive sufficiently fast (from 20ms to
200ms depending on the test).

This is by design as input processing is inherently time-sensitive and
to avoid code bugs the test suite considers timing problems fatal.

As this is causing a large proportion of ptest runs to fail in libinput,
disable the execution of these tests for now.

[ YOCTO #14164 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake-bblayers/create: Add optional layerid argument
Charlie Davies [Mon, 15 Feb 2021 20:07:44 +0000 (20:07 +0000)]
bitbake-bblayers/create: Add optional layerid argument

This commit adds an optional layerid argument which can
be passed to the bitbake-layers create-layer command.
This allows for creation of a layer with a layer id
different to that of the layer's name. The default
behaviour of the command where the layer's id is set
to the layer's name is still retained.

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake-bblayers/create: Fix incorrect priority help message
Charlie Davies [Mon, 15 Feb 2021 20:07:43 +0000 (20:07 +0000)]
bitbake-bblayers/create: Fix incorrect priority help message

The help message for the optional argument of setting
the priority of the new layer was incorrect.

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-conf: do not ask for DHCP if configured on kernel command line
Stefan Schmidt [Thu, 4 Mar 2021 19:35:40 +0000 (20:35 +0100)]
systemd-conf: do not ask for DHCP if configured on kernel command line

In cases where we configure the IP address and more on the kernel
command line with ip= we should not ask for DHCP with systemd-networkd
later on. We have such a setup with our runqemu script.

With this match in place we can also deploy this unit on qemu systems.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: Add package configuration for building in developer mode
Andrei Gherzan [Fri, 5 Mar 2021 15:49:03 +0000 (15:49 +0000)]
epiphany: Add package configuration for building in developer mode

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcr: Add support for building without x11
Andrei Gherzan [Fri, 5 Mar 2021 15:49:02 +0000 (15:49 +0000)]
gcr: Add support for building without x11

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolocal.conf.sample: fix typo
Ulrich Ölmann [Fri, 5 Mar 2021 19:06:04 +0000 (20:06 +0100)]
local.conf.sample: fix typo

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/weston: correctly run wayland-info when systemd is in use
Alexander Kanavin [Wed, 3 Mar 2021 13:06:41 +0000 (14:06 +0100)]
oeqa/weston: correctly run wayland-info when systemd is in use

Under systemd weston's socket is in /run, not in /run/user/0.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorootfs-postcommands: correctly set systemd target for weston images
Alexander Kanavin [Wed, 3 Mar 2021 13:06:40 +0000 (14:06 +0100)]
rootfs-postcommands: correctly set systemd target for weston images

Otherwise, weston wouldn't actually start when systemd is in use.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocore-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-base
Alexander Kanavin [Wed, 3 Mar 2021 13:06:39 +0000 (14:06 +0100)]
core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-base

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibinput: less parallism to increase chances the test suite works
Ross Burton [Wed, 3 Mar 2021 21:33:41 +0000 (21:33 +0000)]
libinput: less parallism to increase chances the test suite works

Discussion with the libinput maintainer has confirmed that many of the
libinput test cases need to run on a relatively unloaded system,
because input handling is by definition time-sensitive and any
event mismatches are considered a failure to avoid broken code hiding.

We can't expect libinput to run on an otherside unloaded machine
because the autobuilder ptests execute in a qemu at the same time
as builds can be happening.  We can however reduce the amount of
parallellism happening in the libinput test suite to give it a better
chance of succeeding.

This may not be enough, but it's worth a go.

[ YOCTO #14164 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: split build and extra functionality into separate packages
Diego Santa Cruz [Wed, 3 Mar 2021 18:09:04 +0000 (19:09 +0100)]
rpm: split build and extra functionality into separate packages

Having all the rpm build related tools in the main package requires
adding runtime dependencies on perl and python3-core, so adding
rpm to a target image can pull quite many unneeded packages to satisfy
the dependencies.

This splits all the build related tools into rpm-build and moves the
bash, perl and python3-core runtime dependencies to that package.

Also, the rpmsign tool is split into rpm-sign and rpm2archive (only
built if archive is in PACKAGECONFIG) into rpm-archive. These are
separate packages since they are not really related to building, so
do not belong in rpm-build, but are not necessarily wanted in
target images when rpm is included.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpa-supplicant: fix CVE-2021-27803
Stefan Ghinea [Wed, 3 Mar 2021 18:53:08 +0000 (20:53 +0200)]
wpa-supplicant: fix CVE-2021-27803

A vulnerability was discovered in how p2p/p2p_pd.c in wpa_supplicant
before 2.10 processes P2P (Wi-Fi Direct) provision discovery requests.
It could result in denial of service or other impact (potentially
execution of arbitrary code), for an attacker within radio range.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-27803

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorunqemu: use "raw" instead of "bin" for ovmf
Jon Mason [Wed, 3 Mar 2021 18:29:45 +0000 (13:29 -0500)]
runqemu: use "raw" instead of "bin" for ovmf

bin is not an acceptable format for qemu and will throw an error is set.
The correct format in this case is raw.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: show an error about --cross-file only when such file exists
Martin Jansa [Fri, 5 Mar 2021 21:04:25 +0000 (22:04 +0100)]
glib-2.0: show an error about --cross-file only when such file exists

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: call os.path.normpath on THISDIR
Martin Jansa [Tue, 2 Mar 2021 19:32:29 +0000 (20:32 +0100)]
glib-2.0: call os.path.normpath on THISDIR

* some build environments have relative paths in THISDIR, e.g. from OEROOT set in:
  https://github.com/96boards/oe-rpb-manifest/blob/1e3345c26c56f77f3a15a3978f412a25955d2606/conf/bblayers.conf#L4
  and then the paths in filename normalized in:
  filename = os.path.normpath(os.path.join(path, meson.cross.d, element))
  don't match.

* COREBASE used here before didn't have this issue because the value is already
  normalized when set in:
  meta/conf/layer.conf:COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0: add support for coretracers
Ulrich ?lmann [Tue, 2 Mar 2021 17:11:17 +0000 (18:11 +0100)]
gstreamer1.0: add support for coretracers

As can be seen in [1] a requirement for enabling 'coretracers' is to have
'tracer-hooks' enabled, as well.

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/1.18.3/plugins/tracers/meson.build#L1

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-container: recommends StartExecPre modules
Vivien Didelot [Mon, 1 Mar 2021 16:53:25 +0000 (11:53 -0500)]
systemd-container: recommends StartExecPre modules

The systemd-nspawn@.service file uses the following line to try
loading the tun, loop and dm-mod kernel modules, in a non fatal way:

    ExecStartPre=-/sbin/modprobe -abq tun loop dm-mod

A non-zero return code from modprobe will not stop the service from
starting, but it would be convenient to inform the user about this
optional support, so add these modules to RRECOMMENDS.

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-container: recommend tar
Vivien Didelot [Mon, 1 Mar 2021 16:53:24 +0000 (11:53 -0500)]
systemd-container: recommend tar

If systemd is configured with importd, "machinectl import-*" can be
used to add container trees under /var/lib/machines.

But "machinectl import-tar" makes use of "tar --numeric-owner" which
is not supported by the busybox binary, as shown below:

    # machinectl import-tar /tmp/container.tar.xz
    Enqueued transfer job 1. Press C-c to continue download in background.
    Importing '/tmp/container.tar.xz', saving as 'container'.
    Imported 0%.
    tar: unrecognized option '--numeric-owner'
    BusyBox v1.31.1 () multi-call binary.
    Usage: tar c|x|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [FILE]...
    Failed to decode and write: Broken pipe
    Exiting.

To fix this, recommend the standard tar package.

Cc: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-container: sort RRECOMMENDS alphabetically
Vivien Didelot [Mon, 1 Mar 2021 16:53:23 +0000 (11:53 -0500)]
systemd-container: sort RRECOMMENDS alphabetically

Sort packages in RRECOMMENDS_${PN}-container alphabetically to avoid
subjective sorting and ease future additions.

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Fix another determinism issue
Richard Purdie [Fri, 5 Mar 2021 23:20:47 +0000 (23:20 +0000)]
ltp: Fix another determinism issue

After the other fixes there remained occasional problems. Fix another makefile
sorting problem affecting the disktest binary.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes
Meh Mbeh Ida Delphine [Tue, 2 Mar 2021 10:07:33 +0000 (11:07 +0100)]
recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-sato: Add missing HOMEPAGE and DESCRIPTION for recipes
Meh Mbeh Ida Delphine [Tue, 2 Mar 2021 10:07:32 +0000 (11:07 +0100)]
recipes-sato: Add missing HOMEPAGE and DESCRIPTION for recipes

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-multimedia: Add missing HOMEPAGE and DESCRIPTION for recipes.
Meh Mbeh Ida Delphine [Tue, 2 Mar 2021 10:07:31 +0000 (11:07 +0100)]
recipes-multimedia: Add missing HOMEPAGE and DESCRIPTION for recipes.

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-magic: upgrade 0.4.20 -> 0.4.22
zhengruoqin [Tue, 2 Mar 2021 07:20:50 +0000 (15:20 +0800)]
python3-magic: upgrade 0.4.20 -> 0.4.22

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysvinit: upgrade 2.98 -> 2.99
zhengruoqin [Tue, 2 Mar 2021 04:13:49 +0000 (12:13 +0800)]
sysvinit: upgrade 2.98 -> 2.99

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-git: upgrade 3.1.13 -> 3.1.14
zhengruoqin [Tue, 2 Mar 2021 04:13:42 +0000 (12:13 +0800)]
python3-git: upgrade 3.1.13 -> 3.1.14

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-cython: upgrade 0.29.21 -> 0.29.22
zhengruoqin [Tue, 2 Mar 2021 04:13:29 +0000 (12:13 +0800)]
python3-cython: upgrade 0.29.21 -> 0.29.22

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolog4cplus: upgrade 2.0.5 -> 2.0.6
zhengruoqin [Tue, 2 Mar 2021 04:12:56 +0000 (12:12 +0800)]
log4cplus: upgrade 2.0.5 -> 2.0.6

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt-compat: upgrade 4.4.17 -> 4.4.18
zhengruoqin [Tue, 2 Mar 2021 04:11:53 +0000 (12:11 +0800)]
libxcrypt-compat: upgrade 4.4.17 -> 4.4.18

When the libxcrypt version is updated, libxcrypt-compat is omitted.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocoreutils: use u-a for base32
Martin Jansa [Tue, 2 Mar 2021 09:25:02 +0000 (10:25 +0100)]
coreutils: use u-a for base32

* busybox 1.33.0 added base32 applet and now do_rootfs for read-only images is failing with:
  do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
  ERROR: image-devel-1.0-r2 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
         then please place them into pkg_postinst_ontarget_${PN} ().
         Deferring to first boot via 'exit 1' is no longer supported.
         Details of the failure are in image-devel/1.0-r2/temp/log.do_rootfs.

  and log.do_rootfs shows:
  update-alternatives: Error: not linking image-devel/1.0-r2/rootfs/usr/bin/base32 to /usr/bin/busybox.nosuid since image-devel/1.0-r2/rootfs/usr/bin/base32 exists and is not a link

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodosfstools: Build --without-iconv
Colin Finck [Tue, 2 Mar 2021 13:19:45 +0000 (14:19 +0100)]
dosfstools: Build --without-iconv

The new version has an internal CP850 conversion table, hence it doesn't
need iconv anymore (and currently errors when trying).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-cython: Remove build paths from debug sources
Richard Purdie [Tue, 2 Mar 2021 11:12:09 +0000 (11:12 +0000)]
python3-cython: Remove build paths from debug sources

There are build paths which are in generated sources injected
into ${PN}-src. These are in generated files and don't influence the
binary output. As such we can correct them at do_package time by
tweaking in an appropriately injected function. This fixes
the reproducbility of the recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Fixing determinism issues
Richard Purdie [Mon, 1 Mar 2021 21:28:58 +0000 (21:28 +0000)]
ltp: Fixing determinism issues

Add a patch adding sorting to a couple of points in the Makefiles
which removes most of the determinism issues in ltp.

Build swapon before the main build to ensure libswapon.o is built
deterministically as it races with swapoff.

All issues reported on the upstream mailing list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoAdd core-image-weston to reproducible build tests
Jan-Simon Moeller [Mon, 1 Mar 2021 17:46:23 +0000 (18:46 +0100)]
Add core-image-weston to reproducible build tests

This change adds core-image-weston to the reproducible build test.
For this we also need to update the static-group and static-passwd.

Besides the world package build which includes the wayland package,
this adds a wayland/weston-based image to the reproducible build test.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobinutils: add PACKAGECONFIG for debuginfod
Dorinda [Mon, 1 Mar 2021 16:45:17 +0000 (17:45 +0100)]
binutils: add PACKAGECONFIG for debuginfod

Added PACKAGECONFIG for debuginfod

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/oe-debuginfod: script that fetches package manager directory
Dorinda [Mon, 1 Mar 2021 14:42:56 +0000 (15:42 +0100)]
scripts/oe-debuginfod: script that fetches package manager directory

Added a script that fetches the package manager directory and runs the elfutils-native debuginfod on DEPLOY_DIR
Added a check to ensure that PACKAGECONFIG options is set in local.conf

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.
Meh Mbeh Ida Delphine [Mon, 1 Mar 2021 13:57:35 +0000 (14:57 +0100)]
recipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.
Meh Mbeh Ida Delphine [Mon, 1 Mar 2021 13:57:34 +0000 (14:57 +0100)]
recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-gnome: Add missing HOMEPAGE and DESCRIPTION for recipes
Meh Mbeh Ida Delphine [Mon, 1 Mar 2021 13:57:33 +0000 (14:57 +0100)]
recipes-gnome: Add missing HOMEPAGE and DESCRIPTION for recipes

Fixes: [YOCTO #13471]
Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/lib/wic/partition.py: do not set FAT size
Alexander Kanavin [Sun, 28 Feb 2021 15:37:00 +0000 (16:37 +0100)]
scripts/lib/wic/partition.py: do not set FAT size

Modern dosfstools automatically determines the appropriate size
and will error out if something that doesn't make sense is
supplied on the command line.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng: Fix reproducibility issues
Richard Purdie [Mon, 1 Mar 2021 14:23:31 +0000 (14:23 +0000)]
lttng: Fix reproducibility issues

Add a hack to hardcode in specific rpaths which we then remove,
allowing the build to be reproducible.

Strip build patches out of one of the test scripts too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: Determinism fixes
Richard Purdie [Mon, 1 Mar 2021 13:00:47 +0000 (13:00 +0000)]
qemu: Determinism fixes

Add a patch to address two determinism issues and allow reproducible
builds.

Also strip full paths we don't need out of some ptest files,
we can use the installed binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiputils: Fix cap_net_raw for installed binaries
Jate Sujjavanich [Sat, 27 Feb 2021 00:40:10 +0000 (00:40 +0000)]
iputils: Fix cap_net_raw for installed binaries

Add libcap-native to libcap PACKAGECONFIG  making native setcap available
during the build. This assures its availability during install and prevents
meson from searching absolute paths and the resulting possible host
contamination.

Move -DNO_SETCAP_OR_SUID=true to the libcap PACKAGECONFIG negative case
This will prevent possible non-determinism for the setuid case.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Disable CPU ISA level requirement check
He Zhe [Fri, 26 Feb 2021 14:20:45 +0000 (22:20 +0800)]
glibc: Disable CPU ISA level requirement check

We experience the following error and fail to boot on qemu64 machine

/lib64/libc.so.6: CPU ISA level is lower than required
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

As stated in [1],

Passing -march= causes glibc to add annotations not compatible to run
result on -march= as too high ISA level is inferred.

ISA level is a new feature of 2.33 release.

Until it's fixed let's disable ISA level inference with
    libc_cv_include_x86_isa_level=no
(no better configure option yet).

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbd6a821ff753e3b41324c4fb7c58cf65eeea33

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-sanitizers: Move content from gcclibdir into libdir
Mike Crowe [Sun, 28 Feb 2021 12:20:54 +0000 (12:20 +0000)]
gcc-sanitizers: Move content from gcclibdir into libdir

In e9e5744ba8b0d43c8b874d365f83071ce20bf0a1, Khem Raj wrote:
> OE does not use the traditional /usr/lib/gcc prefix to store
> gcc-runtime it basically is moved into libdir, however some newer
> files were installed by newer versions of gcc especially libgomp (
> omp.h openacc.h ) into gcclibdir, so we have content in both
> directories, this confuses other tools which are trying to guess the
> gcc installation and its runtime location, since now we have two
> directories, the tools either choose one or other and we get
> inconsistent behavior, e.g. clang for aarch64 uses /usr/lib but same
> clang for riscv64 chose /usr/lib/gcc

> This change ensures that OE ends up with single valid location for gcc
> runtime files

I think that the same thing needs to happen in gcc-sanitizers.inc,
otherwise I get errors like:

| .../recipe-sysroot/usr/include/gpg-error-64.h:884:11: fatal error: sanitizer/lsan_interface.h: No such file or directory

when attempting to compile with sanitizers enabled.

FILES_${PN} needs updating to match too.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibbsd: udpate 0.10.0 -> 0.11.3
Alexander Kanavin [Sun, 28 Feb 2021 15:36:58 +0000 (16:36 +0100)]
libbsd: udpate 0.10.0 -> 0.11.3

License-Update: copyright years, file lists

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibmd: add a recipe
Alexander Kanavin [Sun, 28 Feb 2021 15:36:57 +0000 (16:36 +0100)]
libmd: add a recipe

This is required by new versions of libbsd.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopinentry: update 1.1.0 -> 1.1.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:55 +0000 (16:36 +0100)]
pinentry: update 1.1.0 -> 1.1.1

Refresh xxx-config->pkg-config patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibgcrypt: update 1.8.7 -> 1.9.2
Alexander Kanavin [Sun, 28 Feb 2021 15:36:53 +0000 (16:36 +0100)]
libgcrypt: update 1.8.7 -> 1.9.2

Drop backports.

Add a patch that inserts missing spaces in Makefiles.

Drop determinism.patch: upstream has moved the git
stuff to an external script, which has a guard that
checkes for presence of .git/ in source tree.

License-Update: additional source file listed

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: update 2.30.4 -> 2.30.5
Alexander Kanavin [Sun, 28 Feb 2021 15:36:52 +0000 (16:36 +0100)]
webkitgtk: update 2.30.4 -> 2.30.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-samples: update to latest revision
Alexander Kanavin [Sun, 28 Feb 2021 15:36:51 +0000 (16:36 +0100)]
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopango: update 1.48.0 -> 1.48.2
Alexander Kanavin [Sun, 28 Feb 2021 15:36:50 +0000 (16:36 +0100)]
pango: update 1.48.0 -> 1.48.2

Drop a patch; issue fixed upstream:
https://gitlab.gnome.org/GNOME/pango/-/commit/fcda7d6f9b6ee966f5da860be5ec0c0096193a83

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoptest-perl/run-ptest: address failures caused by perl 5.32.1
Alexander Kanavin [Sun, 28 Feb 2021 15:37:02 +0000 (16:37 +0100)]
ptest-perl/run-ptest: address failures caused by perl 5.32.1

Particulary, . needs to be explicitly specified so that perl
looks there when loading items in 'require'.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssl: address ptest failures caused by perl 5.32.1
Alexander Kanavin [Sun, 28 Feb 2021 15:37:01 +0000 (16:37 +0100)]
openssl: address ptest failures caused by perl 5.32.1

For some reason the new perl no longer has . in list of
directories searched in 'require', and so the file
needs to be copied where perl can find it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperl: update 5.32.0 -> 5.32.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:49 +0000 (16:36 +0100)]
perl: update 5.32.0 -> 5.32.1

Drop perl-cross-makefile.patch as it is merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: update 0.56.2 -> 0.57.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:48 +0000 (16:36 +0100)]
meson: update 0.56.2 -> 0.57.1

Replace hacky 0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
with entries in meson.cross.

Rest of the patches are refreshed.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoelfutils: update 0.182 -> 0.183
Alexander Kanavin [Sun, 28 Feb 2021 15:36:45 +0000 (16:36 +0100)]
elfutils: update 0.182 -> 0.183

Drop 0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch
Drop 0001-musl-obstack-fts.patch
(upstream has fixed the issues).

Drop a few other chunks where upstream has fixed the issues
or removed the code being patched.

Adjust ptests to pass again.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoe2fsprogs: update 1.45.7 -> 1.46.1
Alexander Kanavin [Sun, 28 Feb 2021 15:36:44 +0000 (16:36 +0100)]
e2fsprogs: update 1.45.7 -> 1.46.1

Drop gettext patches; upstream has fixed the issues.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodosfstools: update 4.1 -> 4.2
Alexander Kanavin [Sun, 28 Feb 2021 15:36:43 +0000 (16:36 +0100)]
dosfstools: update 4.1 -> 4.2

udev support had been dropped upstream.

The tools now have internal locale support so the glibc locale
dependencies can be dropped.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Add ability to pull some objects from sstate
Richard Purdie [Fri, 26 Feb 2021 14:24:26 +0000 (14:24 +0000)]
selftest/reproducible: Add ability to pull some objects from sstate

When debugging why a single recipe doesn't reproduce, its a pain
to wait for the world to rebuild from scratch. Update the selftest
to allow this to be configured, for example you could set
targets as ['perf'] and sstate_targets as ['virtual/kernel']
and then it should only be rebuilding perf in the test rather than
things like the toolchain (parts of the kernel may be unavoiable
as they're not in sstate).

Can be run as:

OEQA_DEBUGGING_SAVED_OUTPUT=/tmp/perf-diffoscope oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds

to save diffoscope output.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-bootchart: Disable LTO to fix reproducibility
Richard Purdie [Sun, 28 Feb 2021 17:26:21 +0000 (17:26 +0000)]
systemd-bootchart: Disable LTO to fix reproducibility

LTO likely doesn't buy us much here, disable it to allow the binaries
to be reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoefivar: Fix reproducibility issue
Richard Purdie [Mon, 1 Mar 2021 00:12:37 +0000 (00:12 +0000)]
efivar: Fix reproducibility issue

Add sorting to the globbing within the Makefile to make the output
reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoswig: Fix reproducibility issue
Richard Purdie [Mon, 1 Mar 2021 00:11:10 +0000 (00:11 +0000)]
swig: Fix reproducibility issue

Remove hardcoding the build configuration into the help/version output
from swig to make the binaries reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosyslinux: Fix reproducibility issues
Richard Purdie [Sat, 27 Feb 2021 23:42:03 +0000 (23:42 +0000)]
syslinux: Fix reproducibility issues

Add sorting to wildcard expansion in the makefile to make builds
reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosyslinux: use NO_INLINE_FUNCS in CFLAGS
Alexander Kanavin [Sun, 28 Feb 2021 15:36:59 +0000 (16:36 +0100)]
syslinux: use NO_INLINE_FUNCS in CFLAGS

This is required with latest versions of e2fsprogs.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkit/wpe: only check even versions
Alexander Kanavin [Sun, 28 Feb 2021 15:36:39 +0000 (16:36 +0100)]
webkit/wpe: only check even versions

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: Fix configure test error with gcc11
Khem Raj [Sat, 27 Feb 2021 15:16:03 +0000 (07:16 -0800)]
kea: Fix configure test error with gcc11

Since the test program fails to compile, configure thinks compiler is
not having thread support and bails out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoigt-gpu-tools: Fix warnings with gcc 11
Khem Raj [Sat, 27 Feb 2021 22:14:12 +0000 (14:14 -0800)]
igt-gpu-tools: Fix warnings with gcc 11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopuzzles: Fix stringop-overflow warning
Khem Raj [Sat, 27 Feb 2021 22:14:11 +0000 (14:14 -0800)]
puzzles: Fix stringop-overflow warning

gcc11 is pedantic about it and finds a case where this
maybe used uninitialized

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodtc: Fix array-bounds error
Khem Raj [Sat, 27 Feb 2021 07:41:31 +0000 (23:41 -0800)]
dtc: Fix array-bounds error

Fixes
| libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
|   251 |                 fdth->name = cpu_to_fdt32(val); \
|       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agollvm: Fix build with c++17
Khem Raj [Sat, 27 Feb 2021 07:41:30 +0000 (23:41 -0800)]
llvm: Fix build with c++17

Fixes
/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std'
|   static const T kmax = std::numeric_limits<T>::max();
|                              ^~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorxvt-unicode: Do not use throw specifications
Khem Raj [Sat, 27 Feb 2021 07:41:29 +0000 (23:41 -0800)]
rxvt-unicode: Do not use throw specifications

Fixes build with -std=c++17

| ../../rxvt-unicode-9.22/src/../libev/ev++.h:379:46: error: ISO C++17 does not allow dynamic exception specifications
|   379 |     default_loop (unsigned int flags = AUTO) throw (bad_loop)
|       |                                              ^~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiproute2: upgrade 5.10.0 -> 5.11.0
Wang Mingyu [Sat, 27 Feb 2021 04:48:16 +0000 (12:48 +0800)]
iproute2: upgrade 5.10.0 -> 5.11.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglslang: upgrade 11.1.0 -> 11.2.0
Wang Mingyu [Sat, 27 Feb 2021 04:48:15 +0000 (12:48 +0800)]
glslang: upgrade 11.1.0 -> 11.2.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoeudev: upgrade 3.2.9 -> 3.2.10
Wang Mingyu [Sat, 27 Feb 2021 04:48:14 +0000 (12:48 +0800)]
eudev: upgrade 3.2.9 -> 3.2.10

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoccache: upgrade 4.1 -> 4.2
Wang Mingyu [Sat, 27 Feb 2021 04:48:13 +0000 (12:48 +0800)]
ccache: upgrade 4.1 -> 4.2

0001-Improve-SIMD-detection-735.patch
0001-blake3-Remove-asm-checks-for-sse-avx.patch
0002-Always-use-64bit-to-print-time_t.patch
removed since they'are included in 4.2

-License-Update: Copyright year updated to 2021.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: Upgrade 167 -> 168
Richard Purdie [Mon, 1 Mar 2021 00:07:05 +0000 (00:07 +0000)]
diffoscope: Upgrade 167 -> 168

This includes a fix for the 'hang' on larger diffs with html output
as seen on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-python: Set internal python library path correcty
Richard Purdie [Sun, 28 Feb 2021 12:05:14 +0000 (12:05 +0000)]
gstreamer1.0-python: Set internal python library path correcty

The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapr-util: Fix CFLAGS used in build
Richard Purdie [Sun, 28 Feb 2021 18:21:02 +0000 (18:21 +0000)]
apr-util: Fix CFLAGS used in build

We need to use CFLAGS with the correct WORKDIR in them, replace those
in the sysroot file with the ones appropriate to the current recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibid3tag: Fix reproducibility issue
Richard Purdie [Sat, 27 Feb 2021 15:17:16 +0000 (15:17 +0000)]
libid3tag: Fix reproducibility issue

Configure was swallowing our cflags meaning the resulting binaries were
not reproducible. Tweak configure not to do that and fix reproducibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoigt-gpu-tools: Fix reproducibility issue
Richard Purdie [Sat, 27 Feb 2021 14:51:41 +0000 (14:51 +0000)]
igt-gpu-tools: Fix reproducibility issue

Add a configuration option to pass in srcdir, removing hard coded
build paths from the binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobootchart2: Fix manpage reproducibility issue
Richard Purdie [Sat, 27 Feb 2021 14:15:24 +0000 (14:15 +0000)]
bootchart2: Fix manpage reproducibility issue

The compressed docs contained a timestamp of the original file which
meant the SDE clamping during package creation didn't work. The
benefits of compression are minor, decompress the files to avoid
the reproducibility issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Fix rawmemchr
Khem Raj [Fri, 26 Feb 2021 17:40:09 +0000 (09:40 -0800)]
glibc: Fix rawmemchr

This is to help gcc bug upstream
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file...
Martin Jansa [Thu, 25 Feb 2021 17:45:16 +0000 (18:45 +0100)]
glib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file paths

* COREBASE works correctly only as long as this recipe is inside of
  COREBASE directory and leaves the full absolute paths if you copy
  this recipe into your own layer (e.g. to backport newer version)

* use THISDIR as all FILESPATH should be relative to that, unless
  there is a .bbappend not only extending FILESPATH, but also adding
  meson.cross.d files there (at which point it also didn't work with
  COREBASE replacements as well already) - show an ERROR in such case,
  I don't think it's common scenario to spend more time to support that.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocreaterepo-c: set path to magic database for native and nativesdk
Diego Santa Cruz [Fri, 26 Feb 2021 11:33:32 +0000 (12:33 +0100)]
createrepo-c: set path to magic database for native and nativesdk

The modifyrepo_c tool can use the magic database for input files
(e.g., if the file has no recognized extension) and fails if none
can be found.

This adds a wrapper that sets MAGIC to point to the proper place,
it also sets up MAGIC in the createrepo_c wrapper since that tool
also takes input files.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Increase timeout duration 30 -> 90 s
Yi Fan Yu [Fri, 26 Feb 2021 02:14:37 +0000 (21:14 -0500)]
valgrind: Increase timeout duration 30 -> 90 s

Attempt to fix intermittent failure of `drd/tests/std_list`
Locally tested to take around 45 s on qemuarm64

[YOCTO #14228]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/pam: Need shadow installed for the tests
Khem Raj [Thu, 25 Feb 2021 23:29:16 +0000 (15:29 -0800)]
oeqa/pam: Need shadow installed for the tests

Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readable
Richard Purdie [Fri, 26 Feb 2021 11:24:07 +0000 (11:24 +0000)]
bitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readable

We've had a lot of concern about the readability of diffs of this
path setting, refactor to avoid long line length.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf/image: Move image specific PSEUDO_IGNORE_PATHS to image class
Richard Purdie [Fri, 26 Feb 2021 11:21:17 +0000 (11:21 +0000)]
bitbake.conf/image: Move image specific PSEUDO_IGNORE_PATHS to image class

This path is image specific so we can move to the image class
definition of PSEUDO_IGNORE_PATHS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopopulate_sdk: Add directories to PSEUDO_IGNORE_PATHS
Richard Purdie [Fri, 26 Feb 2021 11:18:42 +0000 (11:18 +0000)]
populate_sdk: Add directories to PSEUDO_IGNORE_PATHS

Some paths used in sdk construction shouldn't be tracked under pseudo
so list these.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage: Add directories to PSEUDO_IGNORE_PATHS
Richard Purdie [Fri, 26 Feb 2021 11:17:32 +0000 (11:17 +0000)]
image: Add directories to PSEUDO_IGNORE_PATHS

Some paths used in image construction shouldn't be tracked under pseudo
so list these.

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