]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
4 years agoselftest/reproducible: Don't call sync between each file compare
Richard Purdie [Fri, 26 Feb 2021 17:45:20 +0000 (17:45 +0000)]
selftest/reproducible: Don't call sync between each file compare

Calling sync between each file compare is horrible performance wise
as we compare thousands of files. We don't care about IO latency here
so disable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 17:26:06 +0000 (17:26 +0000)]
libhandy: Fix reproducibility issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsecret: Improve determimism
Richard Purdie [Thu, 25 Feb 2021 15:19:22 +0000 (15:19 +0000)]
libsecret: Improve determimism

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoparted: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 15:06:36 +0000 (15:06 +0000)]
parted: Fix reproducibility issue

We don't use tbe BUILDINFO line of host information in the Makefile
so remove it for reproducibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogst-devtools: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 15:00:57 +0000 (15:00 +0000)]
gst-devtools: Fix reproducibility issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: Fix distributor contamination from /etc/os-release
Richard Purdie [Fri, 26 Feb 2021 10:17:52 +0000 (10:17 +0000)]
epiphany: Fix distributor contamination from /etc/os-release

Set our own distro string rather than using the value from
/etc/os-release.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 14:52:32 +0000 (14:52 +0000)]
epiphany: Fix reproducibility issue

We don't want to encide BUILD_ROOT into target packages. This is used
for build time tests but in our case those would be on target anyway
do use the target paths.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk-doc: Fix reproducibility issue
Richard Purdie [Thu, 25 Feb 2021 14:02:17 +0000 (14:02 +0000)]
gtk-doc: Fix reproducibility issue

config_data was including a build system path to pkg-config, fix
this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorsync: Update patch status
Richard Purdie [Thu, 25 Feb 2021 22:35:23 +0000 (22:35 +0000)]
rsync: Update patch status

Mark the path as submitted and effectively a backport as a different fix
was added upstream addressing the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysklogd: do not open any network sockets by default
Diego Santa Cruz [Thu, 25 Feb 2021 16:03:56 +0000 (17:03 +0100)]
sysklogd: do not open any network sockets by default

The default in sysklogd 2.x is to open listening network sockets,
unlike sysklogd 1.5 where the default was the opposite.

This is contrary to a "secure by default" design, so set up the
init script to pass the -ss option to prevent syslogd from opening
any network sockets. It can be overridden in /etc/default/syslogd.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-base: do not force hdparm and e2fsprogs
Diego Santa Cruz [Thu, 25 Feb 2021 20:23:27 +0000 (21:23 +0100)]
packagegroup-base: do not force hdparm and e2fsprogs

The hdparm and (base) e2fsprogs are not always useful in all machines
having ext2 in MACHINE_FEATURES, so do not force them to b installed,
make them recommendations instead.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-base: use amixer instead of alsamixer
Diego Santa Cruz [Thu, 25 Feb 2021 20:23:26 +0000 (21:23 +0100)]
packagegroup-base: use amixer instead of alsamixer

Including alsamixer, which is an ncurses based interactive program,
does not seem to make sense as a base package in embedded systems,
replace it by the command line mixer utility amixer instead; it is
scriptable and has no ncurses dependencies.

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic: Warn if an ext filesystem affected by the Y2038 problem is used
Florian Bezdeka [Thu, 25 Feb 2021 08:22:02 +0000 (09:22 +0100)]
wic: Warn if an ext filesystem affected by the Y2038 problem is used

We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.

ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.

If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.

Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-core: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:39:00 +0000 (01:39 +0100)]
meta/recipes-core: 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-devtools: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:39:01 +0000 (01:39 +0100)]
meta/recipes-devtools: 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-connectivity: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:38:59 +0000 (01:38 +0100)]
meta/recipes-connectivity: 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-bsp: Add HOMEPAGE / DESCRIPTION
Dorinda [Thu, 25 Feb 2021 00:38:58 +0000 (01:38 +0100)]
meta/recipes-bsp: 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 agoexternalsrc: Pass through npmsw URIs in SRC_URI
Mike Crowe [Thu, 25 Feb 2021 10:46:27 +0000 (10:46 +0000)]
externalsrc: Pass through npmsw URIs in SRC_URI

NPM shrinkwrap files need to stay in SRC_URI even when using
externalsrc so that npm_do_fetch can run to fetch the required
dependencies.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogdb-common.inc: add PACKAGECONFIG for debuginfod
Dorinda [Thu, 25 Feb 2021 00:36:30 +0000 (01:36 +0100)]
gdb-common.inc: 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 agogdb: Remove "ALLOW_EMPTY_gdbserver" on riscv
Yi Fan Yu [Wed, 24 Feb 2021 20:45:23 +0000 (15:45 -0500)]
gdb: Remove "ALLOW_EMPTY_gdbserver" on riscv

Revert 21e748d620022a75c0c2d0ab4a763a5992e8f154 "riscv32"
Revert 111f65528e3c0b147c1713cfc684958f94c41cd6 "riscv64"

Reason:

The following commit present in binutils-2_35

commit bf84f7066626c78884436e1c39fb60f04c665f21
Author: Maciej W. Rozycki <macro@wdc.com>
Date:   Wed Feb 19 01:24:37 2020 +0000

    gdbserver: Add RISC-V/Linux support

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcr: Fix reproducibility issue
Richard Purdie [Wed, 24 Feb 2021 22:49:59 +0000 (22:49 +0000)]
gcr: Fix reproducibility issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocups: fix CVE-2020-10001
Stefan Ghinea [Thu, 25 Feb 2021 18:41:27 +0000 (20:41 +0200)]
cups: fix CVE-2020-10001

A buffer (read) overflow in the ippReadIO function.

References:
https://nvd.nist.gov/vuln/detail/CVE-2020-10001

Upstream patches:
https://github.com/OpenPrinting/cups/commit/efbea1742bd30f842fbbfb87a473e5c84f4162f9

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocups: Fix reproducibility issues
Richard Purdie [Wed, 24 Feb 2021 21:40:52 +0000 (21:40 +0000)]
cups: Fix reproducibility issues

configure inspects the host's /etc/group for these configuration
options, fix this to the correct values by using configure options.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agollvm: Upgrade to 11.1.0 release
Khem Raj [Thu, 25 Feb 2021 16:44:11 +0000 (08:44 -0800)]
llvm: Upgrade to 11.1.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobinutils: Upgrade to 2.36.1 release
Khem Raj [Thu, 25 Feb 2021 18:17:02 +0000 (10:17 -0800)]
binutils: Upgrade to 2.36.1 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox: update 1.33.0
Oleksandr Kravchuk [Fri, 19 Feb 2021 22:00:42 +0000 (23:00 +0100)]
busybox: update 1.33.0

Removed upstreamed patch.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonfs-utils: upgrade 2.5.2 -> 2.5.3
Wang Mingyu [Wed, 24 Feb 2021 14:26:28 +0000 (22:26 +0800)]
nfs-utils: upgrade 2.5.2 -> 2.5.3

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: upgrade 4.4.17 -> 4.4.18
Wang Mingyu [Wed, 24 Feb 2021 14:26:27 +0000 (22:26 +0800)]
libxcrypt: upgrade 4.4.17 -> 4.4.18

file LICENSING updated: directory of files changed from m4 to build-aux

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobluez5: upgrade 5.55 -> 5.56
Wang Mingyu [Wed, 24 Feb 2021 14:26:26 +0000 (22:26 +0800)]
bluez5: upgrade 5.55 -> 5.56

-License-Update:
remove the description of license from src/main.c

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: Switch to using the main branch
Peter Kjellerstedt [Wed, 24 Feb 2021 13:37:44 +0000 (14:37 +0100)]
asciidoc: Switch to using the main branch

Upstream has renamed the "master" branch to "main".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomaintainers: add entries libssh2 libgit2
Richard Purdie [Wed, 24 Feb 2021 12:46:48 +0000 (12:46 +0000)]
maintainers: add entries libssh2 libgit2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibgit2: pull in updates from meta-oe
Randy MacLeod [Wed, 24 Feb 2021 03:01:56 +0000 (22:01 -0500)]
libgit2: pull in updates from meta-oe

d62613046 libgit2: update to 1.1.0
ce47a064d libgit2: upgrade 1.0.0 -> 1.0.1
7d137c5b2 libgit2: Enable pcre2 regexp backend
14894a4c4 libgit2: Update to v1.0.0
7b39ea059 libgit2: Upgrade to 0.28.4
da358cf1f libgit2: Don't pass parameters with their default values to cmake
bcd89f7cd libgit2: Upgrade 0.27.9 -> 0.28.3
87c9da253 libgit2: Upgrade 0.27.8 -> 0.27.9

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibssh2: pull in additional commits from meta-oe
Randy MacLeod [Wed, 24 Feb 2021 03:01:55 +0000 (22:01 -0500)]
libssh2: pull in additional commits from meta-oe

b24ef04ae libssh2: Fix build with autoconf 2.70+
d7aa71734 libssh2: enhance ptest
b3e9b51c9 libssh2: fix ptest
f5df715e2 libssh2: enable ptest
c1d1697c5 libssh2: add nativesdk support
3a6cbf246 libssh2: Security Advisory - libssh2 - CVE-2019-17498
40ea4c939 libssh2: upgrade 1.8.2 -> 1.9.0
5a7e65cbf libssh2: Clarify BSD license variant

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoAdd libgit2, libssh2 from meta-oe for rust
Randy MacLeod [Wed, 24 Feb 2021 03:01:54 +0000 (22:01 -0500)]
Add libgit2, libssh2 from meta-oe for rust

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosstatesig.py: show an error instead of warning when sstate manifest isn't found
Martin Jansa [Tue, 23 Feb 2021 13:35:53 +0000 (14:35 +0100)]
sstatesig.py: show an error instead of warning when sstate manifest isn't found

* not sure if there are some valid use-cases for missing manifest, but
  recently I'm seeing increasing number of build failures where something
  from native recipe is missing (seen it with pseudo, autoconf, nodejs
  recently) and the only indication that something is wrong (before showing
  sometimes misleading error like:
  recipe-sysroot-native/usr/bin/node: No such file or directory
  is this warning:
  NOTE: Running task 7844 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_prepare_recipe_sysroot)
  NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Started
  WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
  NOTE: Running task 7845 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_unpack)
  NOTE: recipe nodejs-12.20.2-r0: task do_unpack: Started
  WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
  NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Succeeded

  if I rebuild that native dependency, then it gets fixed and I don't
  see these failures in clean builds (as without sstate and with empty
  TMPDIR), only in incremental builds

* but if there isn't valid reason for missing manifest file, then I think
  it would be better to error early (or even bb.fatal())

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpa-supplicant: fix CVE-2021-0326
Stefan Ghinea [Tue, 23 Feb 2021 19:20:28 +0000 (21:20 +0200)]
wpa-supplicant: fix CVE-2021-0326

In p2p_copy_client_info of p2p.c, there is a possible out of bounds write
due to a missing bounds check. This could lead to remote code execution
if the target device is performing a Wi-Fi Direct search, with no
additional execution privileges needed. User interaction is not needed
for exploitation.Product: AndroidVersions: Android-10 Android-11
Android-8.1 Android-9 Android ID: A-172937525

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

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e<links_for_CVE_patches>

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-selftests: add rpm to reproducible build selftest
Jan-Simon Möller [Sat, 20 Feb 2021 17:29:34 +0000 (18:29 +0100)]
oe-selftests: add rpm to reproducible build selftest

rpm packaging has shown good numbers wrt reproducible builds as well
when testing core-image-minimal locally:

 Reproducibility summary for rpm: same=4671 different=0 missing=0 total=4671

Thus enable it in the autobuilder to be more widely tested.

(From OE-Core rev: 84d3a90557444d8cd83d780b1c3f2b278ab07af2)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoreproduce: Fix exclusion list for rpm
Richard Purdie [Sun, 21 Feb 2021 09:50:37 +0000 (09:50 +0000)]
reproduce: Fix exclusion list for rpm

rpm uses "XXX-VERSION" compared to deb/ipk which use "XXX_VERSION"
which breaks the go package exclusion. Work around with both go_
and go- for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofonts: Bump HASHEQUIV_HASH_VERSION after rpmdeps change
Richard Purdie [Thu, 25 Feb 2021 21:54:14 +0000 (21:54 +0000)]
fonts: Bump HASHEQUIV_HASH_VERSION after rpmdeps change

After the rpmdeps change, the output didn't change in the correct
case and hence hashes were cross-linked. We bump the hashequiv
version to avoid problems from this.

Also bump PR to force a rebuild.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage/package_rpm: Disable font_provides configuration for reproducibilty
Richard Purdie [Wed, 24 Feb 2021 21:51:08 +0000 (21:51 +0000)]
package/package_rpm: Disable font_provides configuration for reproducibilty

The host may or may not have fc-cache which is used for find provides
information by rpmdeps. This lead to non-deterministic build output.
Disable the font provides code so we have deterministic builds,
we have nothing using/relying on it at this point.

Need to disable this in both the rpmdeps code and in package_rpm
itself although the latter shouldn't be being used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo-helloworld: Turn into a go module enabled build
Khem Raj [Wed, 24 Feb 2021 04:13:20 +0000 (20:13 -0800)]
go-helloworld: Turn into a go module enabled build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: Enable CGO and pie buildmode on rv64
Khem Raj [Wed, 24 Feb 2021 04:13:19 +0000 (20:13 -0800)]
go: Enable CGO and pie buildmode on rv64

go1.16 has added CGO support for riscv64 arch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: Upgrade compiler to 1.16 major release
Khem Raj [Wed, 24 Feb 2021 04:13:18 +0000 (20:13 -0800)]
go: Upgrade compiler to 1.16 major release

Revert a CC/CXX check [1] which wont work with OE settings
Forward port needed patches forward

Details releaase notes are here [2]

[1] https://go-review.googlesource.com/c/go/+/228517/
[2] https://golang.org/doc/go1.16

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogoarch: Use softfloat instead of 387 for 386 goarch
Khem Raj [Thu, 25 Feb 2021 00:06:33 +0000 (16:06 -0800)]
goarch: Use softfloat instead of 387 for 386 goarch

387 has been removed from go 1.16 see [1]

[1] https://github.com/golang/go/issues/40255

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest: Replace building dep tool with direnv
Khem Raj [Wed, 24 Feb 2021 22:08:46 +0000 (14:08 -0800)]
selftest: Replace building dep tool with direnv

dep tool is now deprecated and its replaced with go modules so using
this as sample for testing is also getting arcane. Replace it with
another project direnv[1] which is quite active and uptodate

[1] https://github.com/direnv/direnv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: Ensure rpm is configured correctly
Richard Purdie [Wed, 24 Feb 2021 12:41:48 +0000 (12:41 +0000)]
diffoscope: Ensure rpm is configured correctly

diffoscope was failing as rpm wasn't configured correctly. Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Remove exclusions for recipes which now reproduce
Richard Purdie [Sat, 20 Feb 2021 17:52:27 +0000 (17:52 +0000)]
selftest/reproducible: Remove exclusions for recipes which now reproduce

git, libproxy, libcap-ng(-python), babeltrace2, rsync and groff
have their reproducibility issues fixed, remove from the exclusion
list. Also fix whitespace.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Introduce FAKEROOTLOGS variable used by bitbake to print pseudo.log
Tomasz Dziendzielski [Mon, 22 Feb 2021 22:44:01 +0000 (23:44 +0100)]
bitbake.conf: Introduce FAKEROOTLOGS variable used by bitbake to print pseudo.log

Bitbake depends on this variable while looking for pseudo.log file in
case of fakeroot task failure.

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: Add python3-rpm as dependency
Joshua Watt [Mon, 22 Feb 2021 22:43:47 +0000 (16:43 -0600)]
diffoscope: Add python3-rpm as dependency

The python3-rpm package is required for diffoscope to diff RPM packages

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoreproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handling
Richard Purdie [Mon, 22 Feb 2021 22:12:53 +0000 (22:12 +0000)]
reproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handling

Ensure the fallback value if used is written to the SDE file
and hence stored in sstate, reducing any confusion within the
code over '0' values.

Bump the HASHEQUIV_VERSION since we've had a ton of trouble
with ensuring this rolls out correctly on the autobuilder so
others may too, take a clean slate for it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoreproducible_builds: SOURCE_DATE_EPOCH should not be 0
Jan-Simon Möller [Sat, 20 Feb 2021 17:29:33 +0000 (18:29 +0100)]
reproducible_builds: SOURCE_DATE_EPOCH should not be 0

A SOURCE_DATE_EPOCH of 0 might be misinterpreted by namely rpm as no SDE.

 e.g.:
 char *srcdate = getenv(SOURCE_DATE_EPOCH);
 if (srcdate && rpmExpandNumeric(%{?clamp_mtime_to_source_date_epoch}))

Solve this by:
- providing a SOURCE_DATE_EPOCH_FALLBACK variable != 0
- changing defaults to use it
- using SOURCE_DATE_EPOCH_FALLBACK also when reading 0 out of sstate-cache

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobabeltrace2: Fix reproducibility
Richard Purdie [Tue, 23 Feb 2021 13:34:25 +0000 (13:34 +0000)]
babeltrace2: Fix reproducibility

babeltrace2-ptest was referencing the host's python version in it's
makefiles. Whilst this could be fixed, its easier to correct the
python version being found to the target one which works much
more effectively and solves the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: Ensure the correct magic file is used
Richard Purdie [Tue, 23 Feb 2021 18:44:22 +0000 (18:44 +0000)]
diffoscope: Ensure the correct magic file is used

diffoscope uses libmagic and it was searching in file-native's sysroot
for the magic file. Wrap it and set MAGIC in the environment to
ensure the file is found correctly and avoid build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoreport-error.bbclass: Add layer and bitbake version info to error report
Milan Shah [Wed, 6 Jan 2021 13:38:37 +0000 (19:08 +0530)]
report-error.bbclass: Add layer and bitbake version info to error report

Instead of just providing local.conf info, add layer names and their
revisions with bitbake version information into error report
makes it easier to understand and reproduce failed build.

[YOCTO #9700]

Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-fitimage: Don't use unit addresses on FIT
Klaus Heinrich Kiwi [Mon, 22 Feb 2021 18:38:19 +0000 (15:38 -0300)]
kernel-fitimage: Don't use unit addresses on FIT

Das U-Boot 2021.4-rc1 has the following commit:

    commit 3f04db891a353f4b127ed57279279f851c6b4917
    Author: Simon Glass <sjg@chromium.org>
    Date:   Mon Feb 15 17:08:12 2021 -0700

        image: Check for unit addresses in FITs

        Using unit addresses in a FIT is a security risk. Add a check for
        this and disallow it.

        CVE-2021-27138

Adjust the kernel-fitimage.bbclass accordingly to not use unit
addresses. This changte is required before we can bump U-Boot to 2021.4.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: shuffle packaging for aarch64 builds
Ross Burton [Mon, 22 Feb 2021 18:06:37 +0000 (18:06 +0000)]
grub: shuffle packaging for aarch64 builds

Even in grub-efi platforms we need to build grub for the the common
tools. On x86 this isn't a problem because grub builds legacy boot and
grub-efi builds EFI, but on aarch64 there is no legacy boot supported by
grub.

To ensure that the common tools are built the grub recipe also builds
EFI binaries, but this now means that grub and grub-efi ship the same
binaries.

oe-core 933286 fixed this conflict by deleting the binaries from
grub-efi and putting the aarch64 modules into grub-common (relying on
dependencies to pull grub-common in).  This seems backwards: grub-efi no
longer contains the binaries and they're in different packages on arm or
x86.  Also, SDK generation is broken as the grub package itself is now
empty as the binaries are in grub-common.

Resolve all of these issues by reversing the logic:  grub-efi is the
package which holds the EFI binaries on all platforms. grub only builds
for EFI on aarch64 as a way to build the common binaries, so delete them
in that recipe to avoid conflicts.  And finally as the grub recipe is
empty on aarch64 but needed by dependencies, set ALLOW_EMPTY.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: Fix python interpreter line length for nativesdk
Mingli Yu [Mon, 22 Feb 2021 01:21:31 +0000 (09:21 +0800)]
python3: Fix python interpreter line length for nativesdk

Make sure the python interpreter is "#!/usr/bin/env python3" for
nativesdk to avoid the shebang path exceeding the limit when install
the sdk under the directory with long path.

Before:
 $ cd ${target_sdk_dir}
 $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
 #!${target_sdk_dir}/sysroots/${SDK_SYS}/usr/bin/python3.9
 [snip]

After:
 $ cd ${target_sdk_dir}
 $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
 #!/usr/bin/env python3
 [snip]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscreen: fix CVE-2021-26937
Scott Murray [Mon, 22 Feb 2021 02:52:06 +0000 (21:52 -0500)]
screen: fix CVE-2021-26937

Apply patch from Debian to fix CVE-2021-26937.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoconf/machine-sdk: Add ppc64le SDK machine
Joel Stanley [Mon, 22 Feb 2021 01:47:10 +0000 (12:17 +1030)]
conf/machine-sdk: Add ppc64le SDK machine

Previously SDKMACHINE would default to x86_64. Commit 539cd4a5fbb9
("bitbake.conf: default SDKMACHINE to the build host architecture")
changed it to default to the build machine, causing the build to
fail on a ppc64le host.

Reported-by: Andrew Geissler <geissonator@yahoo.com>
Link: https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg04364.html
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibpcre: Drop old/stale patch
Richard Purdie [Sun, 21 Feb 2021 15:15:19 +0000 (15:15 +0000)]
libpcre: Drop old/stale patch

According to my tests this incorrect symbols resolution at runtime no
longer happens. Ubuntu is still carrying the patch but also probably
doesn't need to, they are also on a much older version. It sounds
like there was once a linkage bug somewhere which has likely been
resolved since.

Drop the patch as it doesn't seem needed anymore. If it were a real
issue it should be submitted upstream too, the status is incorrect.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoca-certificates: Clean up two patches and submit upstream
Richard Purdie [Sat, 20 Feb 2021 15:45:46 +0000 (15:45 +0000)]
ca-certificates: Clean up two patches and submit upstream

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibevdev: Update patch status to backport
Richard Purdie [Sat, 20 Feb 2021 15:08:23 +0000 (15:08 +0000)]
libevdev: Update patch status to backport

The patch was submitted and merged upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap-ng: Replace python patch with a better fix
Richard Purdie [Sat, 20 Feb 2021 15:08:04 +0000 (15:08 +0000)]
libcap-ng: Replace python patch with a better fix

By using the python3targetconfig class we can drop the existing python
patch and the extra make parameters.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap-ng: Fix python bindings determinism issue
Richard Purdie [Sat, 20 Feb 2021 14:52:25 +0000 (14:52 +0000)]
libcap-ng: Fix python bindings determinism issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorsync: Fix group name determinism issue
Richard Purdie [Mon, 22 Feb 2021 12:35:03 +0000 (12:35 +0000)]
rsync: Fix group name determinism issue

configure falls back to inspecting the host#s /etc/group for the
nobody/nogroup naming. Pass the correct value to configure to
ensure host differences don't sneak in.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorsync: Fix a file sorting determinism issue
Richard Purdie [Sun, 21 Feb 2021 09:45:48 +0000 (09:45 +0000)]
rsync: Fix a file sorting determinism issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibproxy: Avoid /etc/sysconfig determinism issue
Richard Purdie [Sun, 21 Feb 2021 14:46:29 +0000 (14:46 +0000)]
libproxy: Avoid /etc/sysconfig determinism issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotune-power9: Enable qemu-usermode
Khem Raj [Mon, 22 Feb 2021 01:28:35 +0000 (17:28 -0800)]
tune-power9: Enable qemu-usermode

With latest qemu it works ok

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Build for power9 cpu when using powerpc64le tunes
Khem Raj [Sun, 21 Feb 2021 19:07:54 +0000 (11:07 -0800)]
glibc: Build for power9 cpu when using powerpc64le tunes

This makes sure that we can compile glibc for powerp9 based machines
irrespective of endianness or bitness

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Do not use lib64 for baselib on musl/ppc64
Khem Raj [Mon, 22 Feb 2021 04:32:24 +0000 (20:32 -0800)]
bitbake.conf: Do not use lib64 for baselib on musl/ppc64

musl is configured to use /lib and /usr/lib for ppc64 unlike glibc where
it is expected to have libs in /lib64 and /usr/lib64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogoarch.bbclass: Fix ppc64le detection
Khem Raj [Sat, 20 Feb 2021 19:09:24 +0000 (11:09 -0800)]
goarch.bbclass: Fix ppc64le detection

ppc64le should go above ppc64 in checks otherwise it gets subsumed
wrongly with ppc64 check

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomusl: Install /lib directory
Khem Raj [Sat, 20 Feb 2021 19:09:23 +0000 (11:09 -0800)]
musl: Install /lib directory

loader is installed into /lib and ${base_libdir} may not be always
pointing to /lib, while here we want to create the directory where ldso
will reside

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinuxloader: Deal with little-endian ppc64 ldso name
Khem Raj [Sat, 20 Feb 2021 19:09:22 +0000 (11:09 -0800)]
linuxloader: Deal with little-endian ppc64 ldso name

On ppc64le 'le' should be appended to ldso name

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorunqemu: Add new option to disable vga emulation
Khem Raj [Sat, 20 Feb 2021 22:52:21 +0000 (14:52 -0800)]
runqemu: Add new option to disable vga emulation

When using nographic, explicitly disabling vga is needed some cases
since some qemu firmware (OpenFirmware ) defaults to std vga, and
when vga is enabled then it disables output to serial and redirects
that to vga which is by design, hwoever we expect the console output
to go to serial when using nographic, therefore its important to
disable vga with nographic especially on qemu based ppc platforms

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: Fix importd requirements comment
Vivien Didelot [Sat, 20 Feb 2021 22:59:53 +0000 (17:59 -0500)]
systemd: Fix importd requirements comment

The comment above the importd config states curl, which does not
exist in PACKAGECONFIG. Adding it results in the following error
(and then misleading compilation failures):

    WARNING: systemd-1_244.5-r0 do_configure: QA Issue: systemd: invalid PACKAGECONFIG: curl [invalid-packageconfig]

Support for curl is currently enabled through journal-upload:

    PACKAGECONFIG[journal-upload] = "-Dlibcurl=true,-Dlibcurl=false,curl"

While it might be more appropriate to deprecate "journal-upload"
in favor of a "curl" PACKAGECONFIG entry, simply fix the importd
comment for now by stating upload-journal instead of curl.

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-magic: upgrade 0.4.18 -> 0.4.20
Richard Purdie [Mon, 15 Feb 2021 21:46:16 +0000 (21:46 +0000)]
python3-magic: upgrade 0.4.18 -> 0.4.20

License changed as there was additional copyright information added
but the underlying license did not change.

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