]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agognu-efi: upgrade 3.0.14 -> 3.0.15
Alexander Kanavin [Fri, 19 Aug 2022 07:27:01 +0000 (09:27 +0200)] 
gnu-efi: upgrade 3.0.14 -> 3.0.15

Drop lib-Makefile-fix-parallel-issue.patch
as issue fixed upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-networking: upgrade 2.72.1 -> 2.72.2
Alexander Kanavin [Fri, 19 Aug 2022 07:27:00 +0000 (09:27 +0200)] 
glib-networking: upgrade 2.72.1 -> 2.72.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: upgrade 2.37.1 -> 2.37.2
Alexander Kanavin [Fri, 19 Aug 2022 07:26:59 +0000 (09:26 +0200)] 
git: upgrade 2.37.1 -> 2.37.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoepiphany: upgrade 42.3 -> 42.4
Alexander Kanavin [Fri, 19 Aug 2022 07:26:58 +0000 (09:26 +0200)] 
epiphany: upgrade 42.3 -> 42.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Fri, 19 Aug 2022 07:26:57 +0000 (09:26 +0200)] 
vulkan-samples: update to latest revision

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: update 1.79.0 -> 1.80.0
Alexander Kanavin [Fri, 19 Aug 2022 07:26:56 +0000 (09:26 +0200)] 
boost: update 1.79.0 -> 1.80.0

Drop boost-CVE-2012-2677.patch; fixed upstream after 10 years:
https://github.com/boostorg/pool/pull/42

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost-build-native: update 4.4.1 -> 1.80.0
Alexander Kanavin [Fri, 19 Aug 2022 07:26:55 +0000 (09:26 +0200)] 
boost-build-native: update 4.4.1 -> 1.80.0

Due to the changed versioned scheme, we have missed a few versions,
and latest boost finally detects that.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxorgproto: update 2022.1 -> 2022.2
Alexander Kanavin [Fri, 19 Aug 2022 07:26:54 +0000 (09:26 +0200)] 
xorgproto: update 2022.1 -> 2022.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf: update 2.42.8 -> 2.42.9
Alexander Kanavin [Fri, 19 Aug 2022 07:26:53 +0000 (09:26 +0200)] 
gdk-pixbuf: update 2.42.8 -> 2.42.9

Disable manpages, as they require rst2man.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxz: update 5.2.5 -> 5.2.6
Alexander Kanavin [Fri, 19 Aug 2022 07:26:52 +0000 (09:26 +0200)] 
xz: update 5.2.5 -> 5.2.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoslang: update 2.3.2 -> 2.3.3
Alexander Kanavin [Fri, 19 Aug 2022 07:26:51 +0000 (09:26 +0200)] 
slang: update 2.3.2 -> 2.3.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: update 4.11.1 -> 4.12.1
Alexander Kanavin [Fri, 19 Aug 2022 07:26:50 +0000 (09:26 +0200)] 
shadow: update 4.11.1 -> 4.12.1

Combine two username relaxing patches into one, rebase, and submit upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools-rust: update 1.4.1 -> 1.5.1
Alexander Kanavin [Fri, 19 Aug 2022 07:26:49 +0000 (09:26 +0200)] 
python3-setuptools-rust: update 1.4.1 -> 1.5.1

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcgroup: update 2.0.2 -> 3.0.0
Alexander Kanavin [Fri, 19 Aug 2022 07:26:48 +0000 (09:26 +0200)] 
libcgroup: update 2.0.2 -> 3.0.0

License-Update: formatting

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotzdata: upgrade 2022a -> 2022b
Alexander Kanavin [Fri, 19 Aug 2022 07:26:47 +0000 (09:26 +0200)] 
tzdata: upgrade 2022a -> 2022b

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: add support for config snippet includes to ssh and sshd
Jan Luebbe [Thu, 18 Aug 2022 11:17:03 +0000 (13:17 +0200)] 
openssh: add support for config snippet includes to ssh and sshd

This makes it simpler to set specific ssh/sshd config options by adding
snippet files to /etc/ssh/ssh_config.d/ or /etc/ssh/sshd_config.d/
instead of modifying a copy of the full configuration file. As new
snippets can be added from separate recipes, targeted changes can be
done in multiple layers.

These specific directories are also used in Debian's default
configuration.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: sync local ssh_config + sshd_config files with upstream 8.7p1
Jan Luebbe [Thu, 18 Aug 2022 11:17:02 +0000 (13:17 +0200)] 
openssh: sync local ssh_config + sshd_config files with upstream 8.7p1

Changes are caused by the removal of deprecated options.

ChallengeResponseAuthentication was replaced by
KbdInteractiveAuthentication in the SSHv2 protocol, see
https://www.openssh.com/txt/release-8.7

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Disable gprofng on musl systems
Khem Raj [Thu, 18 Aug 2022 20:27:57 +0000 (13:27 -0700)] 
binutils: Disable gprofng on musl systems

disable gprofng, as it depends on few glibc apis

| ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite'
|    78 |   ssize_t (*pwrite64)();
|       |             ^~~~~~~~
| ../../../gprofng/libcollector/dispatcher.c: In function 'collector_timer_create':
| ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un'
|   578 |   sigev._sigev_un._tid = __collector_gettid ();
|       |        ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Update to tip
Khem Raj [Thu, 18 Aug 2022 18:58:07 +0000 (11:58 -0700)] 
musl: Update to tip

brings in these fixes

37e18b7b freopen: reset stream orientation (byte/wide) and encoding rule
bf992585 ldso: process RELR only for non-FDPIC archs
d32dadd6 ldso: support DT_RELR relative relocation format
2404d9d6 use syscall_arg_t and __scc macro for arguments to __alt_socketcall

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Upgrade to 2.36.6 minor update
Khem Raj [Thu, 18 Aug 2022 17:49:32 +0000 (10:49 -0700)] 
webkitgtk: Upgrade to 2.36.6 minor update

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: Remove debug lines
Jacob Kroon [Thu, 18 Aug 2022 01:45:39 +0000 (03:45 +0200)] 
python3-cython: Remove debug lines

Fixes: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8
       ("python3-cython: Update code to match debug path changes")
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub2: fix several CVEs
Yongxin Liu [Fri, 5 Aug 2022 02:42:19 +0000 (10:42 +0800)] 
grub2: fix several CVEs

Backport CVE patches from upstream to fix:
  CVE-2021-3695
  CVE-2021-3696
  CVE-2021-3697
  CVE-2022-28733
  CVE-2022-28734
  CVE-2022-28735

Backport the following 5 patches to make CVE patches be applied smoothly.
  video-Remove-trailing-whitespaces.patch
  video-readers-jpeg-Abort-sooner-if-a-read-operation-.patch
  video-readers-jpeg-Refuse-to-handle-multiple-start-o.patch

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonfs-utils: Upgrade to 2.6.2
Khem Raj [Wed, 17 Aug 2022 16:24:37 +0000 (09:24 -0700)] 
nfs-utils: Upgrade to 2.6.2

Fix build with clang
Package new rpcctl utility into a new package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/parselogs: add qemuarmv5 arm-charlcd masking
Jon Mason [Wed, 17 Aug 2022 16:00:31 +0000 (12:00 -0400)] 
oeqa/parselogs: add qemuarmv5 arm-charlcd masking

On qemuarmv5, arm-charlcd is logging an error because the device isn't
present on the virtual machine.  Mask it off, as that device could be
present on the physical hardware (and we want to use the same kernel
config as the real hardware).

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Add missing prototypes to function declarations
Khem Raj [Wed, 17 Aug 2022 07:04:40 +0000 (00:04 -0700)] 
rsync: Add missing prototypes to function declarations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoautoconf: Fix strict prototype errors in generated tests
Khem Raj [Wed, 17 Aug 2022 07:04:39 +0000 (00:04 -0700)] 
autoconf: Fix strict prototype errors in generated tests

This will fix issues with autoconf tests which fail due to lacking
prototypes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils-cross-canadian: Package up new gprofng.rc file
Khem Raj [Wed, 17 Aug 2022 07:04:38 +0000 (00:04 -0700)] 
binutils-cross-canadian: Package up new gprofng.rc file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Disable gprofng when using clang
Khem Raj [Wed, 17 Aug 2022 07:04:37 +0000 (00:04 -0700)] 
binutils: Disable gprofng when using clang

It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported
formatted output of built-in functions check is failing with clang
somehow it seems to be compiler limitation. Therefore disable building
this component with clang for now

(From OE-Core rev: 5f4b6afb030fe75247cc2da09cdf0ec5259673df)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Package up gprofng
Khem Raj [Wed, 17 Aug 2022 07:04:36 +0000 (00:04 -0700)] 
binutils: Package up gprofng

(From OE-Core rev: 62fad02c368aa912ae97e8dd048bd81e305a5444)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils-cross: Disable gprofng for when building cross binutils
Khem Raj [Wed, 17 Aug 2022 07:04:35 +0000 (00:04 -0700)] 
binutils-cross: Disable gprofng for when building cross binutils

This does not work in cross settings yet

(From OE-Core rev: c9d484092060f7e8431e31c64d98433b4f85c378)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Upgrade to 2.39 release
Khem Raj [Wed, 17 Aug 2022 07:04:34 +0000 (00:04 -0700)] 
binutils: Upgrade to 2.39 release

Details of changes [1]

[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html

(From OE-Core rev: a2458d4011e77868d6384b377a7a4cc1096c4ac3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-fitimage.bbclass: only package unique DTBs
Awais Belal [Tue, 16 Aug 2022 13:58:55 +0000 (18:58 +0500)] 
kernel-fitimage.bbclass: only package unique DTBs

The KERNEL_DEVICETREE and related variables could potentially have a device
tree listed multiple times and this works okay for most scenarios. However,
when we create FIT entries for these we get duplicate nodes and uboot-mkimage
fails with

fit-image-initramfs-image.its:219.58-229.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-ecspi-slave.dtb: Duplicate node name
fit-image-initramfs-image.its:307.50-317.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-ndm.dtb: Duplicate node name
fit-image-initramfs-image.its:362.54-372.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-rm67199.dtb: Duplicate node name
fit-image-initramfs-image.its:417.56-427.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-usdhc1-m2.dtb: Duplicate node name
fit-image-initramfs-image.its:648.59-658.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-ecspi-slave.dtb: Duplicate node name
fit-image-initramfs-image.its:744.51-754.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-ndm.dtb: Duplicate node name
fit-image-initramfs-image.its:804.55-814.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-rm67199.dtb: Duplicate node name
fit-image-initramfs-image.its:864.57-874.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-usdhc1-m2.dtb: Duplicate node name
ERROR: Input tree has errors, aborting (use -f to force output)
uboot-mkimage: Can't open arch/arm64/boot/fitImage.tmp: No such file or directory

We fix this by tracking the DTBs we're compiling in the FIT and only picking
up unique ones.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: apply proposed patch from upstream instead of revert
Martin Jansa [Sat, 13 Aug 2022 12:38:48 +0000 (14:38 +0200)] 
glibc: apply proposed patch from upstream instead of revert

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysvinit-inittab/start_getty: Fix respawn too fast
Bertrand Marquis [Thu, 11 Aug 2022 09:47:21 +0000 (10:47 +0100)] 
sysvinit-inittab/start_getty: Fix respawn too fast

When an entry in /dev does not exist, start_getty is returning directly.
As it is started from init in a respawn mode, it will loop infinitely.
In this case add a sleep inside start_getty to prevent the "Respawning
too fast" message popping up every 5 minutes.

This case is happening quite often when the system is started as an
hypervisor guest as the standard serial line is usually taken by it and
removed from the configuration.

This was triggered quite often running linux as dom0 on top of Xen on
arm as the serial line is taken by Xen and removed from the device tree.

Use the opportunity to replace one tab with spaces as the rest of the
file is using spaces.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: Remove -Wimplicit-function-declaration warnings
Khem Raj [Tue, 16 Aug 2022 16:58:53 +0000 (09:58 -0700)] 
rpm: Remove -Wimplicit-function-declaration warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodistrooverrides: Move back to classes whilst it's usage is clarified
Richard Purdie [Thu, 18 Aug 2022 09:38:28 +0000 (10:38 +0100)] 
distrooverrides: Move back to classes whilst it's usage is clarified

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Fix sys/mount.h and linux/mount.h conflict
Khem Raj [Tue, 16 Aug 2022 16:58:56 +0000 (09:58 -0700)] 
ltp: Fix sys/mount.h and linux/mount.h conflict

backport needed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: Do not use std::binary_function
Khem Raj [Tue, 16 Aug 2022 16:58:55 +0000 (09:58 -0700)] 
apt: Do not use std::binary_function

This feature is removed from c++17

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: Qualify move as std::move
Khem Raj [Tue, 16 Aug 2022 16:58:52 +0000 (09:58 -0700)] 
vulkan-samples: Qualify move as std::move

Fixes build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: Compile out stdlib unary/binary_functions for c++11 and newer
Khem Raj [Tue, 16 Aug 2022 16:58:51 +0000 (09:58 -0700)] 
boost: Compile out stdlib unary/binary_functions for c++11 and newer

These base classes are deprecated/removed from libcpp15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospirv-tools: Remove default copy constructor in header
Khem Raj [Tue, 16 Aug 2022 17:27:54 +0000 (10:27 -0700)] 
spirv-tools: Remove default copy constructor in header

Fixes build with when clang libc++ runtime is used.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshaderc: upgrade 2022.1 -> 2022.2
Jose Quaresma [Tue, 16 Aug 2022 08:14:57 +0000 (09:14 +0100)] 
shaderc: upgrade 2022.1 -> 2022.2

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpect: Fix implicit-function-declaration warnings
Khem Raj [Tue, 16 Aug 2022 03:30:03 +0000 (20:30 -0700)] 
expect: Fix implicit-function-declaration warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetserial: Fix build with clang
Khem Raj [Tue, 16 Aug 2022 03:30:02 +0000 (20:30 -0700)] 
setserial: Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscreen: Add missing include files in configure checks
Khem Raj [Tue, 16 Aug 2022 03:30:01 +0000 (20:30 -0700)] 
screen: Add missing include files in configure checks

Fixes builds with -Werror

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotime: Add missing include for memset
Khem Raj [Tue, 16 Aug 2022 03:30:00 +0000 (20:30 -0700)] 
time: Add missing include for memset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Upgrade to 251.4 and fix build with binutils 2.39
Khem Raj [Tue, 16 Aug 2022 03:35:51 +0000 (20:35 -0700)] 
systemd: Upgrade to 251.4 and fix build with binutils 2.39

The mount.h conflict patch is now upstream so drop it.
Additionally this version fixes build with binutils-2.39 [1]

[1] https://github.com/systemd/systemd-stable/commit/8a6f966be404897b5333c218701965ac3b5a0806

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomsmtp: upgrade 1.8.20 -> 1.8.22
wangmy [Tue, 16 Aug 2022 00:05:39 +0000 (08:05 +0800)] 
msmtp: upgrade 1.8.20 -> 1.8.22

Changelog:
==========
- The msmtpq script was updated.
- Added a new configuration command 'eval' to replace the current configuration
  file line with the output of a command (similar to passwordeval, but more
  general).
- Added a new configuration command 'set_msgid_header' with the default setting
  'auto'. This adds a Message-ID header to the mail if none is present.
- msmtpd now adds a Received header

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoskeleton/service: Ensure debug path handling works as intended
Richard Purdie [Tue, 16 Aug 2022 09:30:25 +0000 (10:30 +0100)] 
skeleton/service: Ensure debug path handling works as intended

DEBUG_PREFIX_MAP uses ${S} but that wasn't set correctly for this
recipe meaning cwd during the build (WORKDIR) was encoded into the
binary leading to buildpath warnings in debug symbols. Set S correctly
to avoid this issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Update to match debug file layout changes
Richard Purdie [Wed, 17 Aug 2022 17:18:31 +0000 (18:18 +0100)] 
valgrind: Update to match debug file layout changes

Update the recpie to match the recent debug files layout change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Disable drd/tests/std_thread2 ptest
Richard Purdie [Wed, 17 Aug 2022 17:17:39 +0000 (18:17 +0100)] 
valgrind: Disable drd/tests/std_thread2 ptest

After improvements to debug sources handling I suspect that extra debug
information became available and is confusing this test. Disable it
for now until someone with more knowledge can resolve the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Update patch status to submitted for two patches
Richard Purdie [Wed, 17 Aug 2022 12:17:48 +0000 (13:17 +0100)] 
gcc: Update patch status to submitted for two patches

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Add a patch to avoid hardcoded paths in libgcc on powerpc
Richard Purdie [Tue, 16 Aug 2022 09:29:14 +0000 (10:29 +0100)] 
gcc: Add a patch to avoid hardcoded paths in libgcc on powerpc

Tweak the powerpc code to just include filenames rather than full paths
to avoid build reproducibility issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Resolve relative prefix-map filenames
Richard Purdie [Fri, 12 Aug 2022 16:17:20 +0000 (17:17 +0100)] 
gcc: Resolve relative prefix-map filenames

Add a patch to gcc so that relative paths are handled by -fdebug-prefix-map
and friends. In OE we use relative paths in autotools and removing that
creates a lot of issues we'd have to fix. This alternative allows us to
fix the paths within gcc and improve our debug file coverage (and SPDX
manifests) accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-cross: Fix relative links
Richard Purdie [Thu, 21 Jul 2022 14:27:10 +0000 (15:27 +0100)] 
gcc-cross: Fix relative links

Now that we're using absolute paths to run configure, there are absolute
path symlinks within gcc's output. Use our script that fixes these so
that the sstate objects work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: Update code to match debug path changes
Richard Purdie [Tue, 16 Aug 2022 09:30:02 +0000 (10:30 +0100)] 
python3-cython: Update code to match debug path changes

Match the changes to debug prefixes in bitbake.conf.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Handle S and B separately for debug mapping
Richard Purdie [Wed, 20 Jul 2022 12:28:03 +0000 (13:28 +0100)] 
bitbake.conf: Handle S and B separately for debug mapping

We don't really need to keep S and B separate for debug source purposes
and there shouldn't be source references in WORKDIR that isn't S and B
either.

Separating these out simplifies the shared-work directory handling for
gcc and should also help fix external source usage. Therefore handle
S and B in DEBUG_PREFIX_MAP separately and clean up other code.

Indentation is reduced here as it is introduced on every compiler
commandline so minimising it is helpful.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgcc/gcc-runtime: Improve source reference handling
Richard Purdie [Wed, 20 Jul 2022 11:29:39 +0000 (12:29 +0100)] 
libgcc/gcc-runtime: Improve source reference handling

This code was some of the earliest reproducible build work we did. To
correctly handle the encoding of file paths, we used relative build
paths to run configure which resulted in relative build paths in the
binaries.

We now have more modern approaches used elsewhere with the prefix remapping
options. These work best with absolute paths, not relative ones. As such,
drop the relative path mangling and switch to using prefix mapping
exclusively on absolute paths.

This makes the code matc the rest of the system and triggers the correct
code to be added in /usr/src/debug.

We have to include both file-prefix and debug-prefix since the assembler
only looks at debug-prefix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Switch debug source handling to use prefix map
Richard Purdie [Tue, 19 Jul 2022 16:32:32 +0000 (17:32 +0100)] 
package: Switch debug source handling to use prefix map

Reproducible builds are no longer a configuration option but are required.
We also rely on the prefix mapping capability of the compilers now.

As such, rewrite the source locating code to use the prefix maps instead
of taking a guess about WORKDIR which isn't correct for kernels, gcc,
externalsrc and probably more.

Instead, iterate the maps to locate any matching source code, keeping
in mind that multiple maps may map to one target location.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconnman: Backports for security fixes
Khem Raj [Sun, 14 Aug 2022 23:43:04 +0000 (16:43 -0700)] 
connman: Backports for security fixes

Fixes
CVE: CVE-2022-32292, CVE-2022-32293

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackagegroup-self-hosted: update for strace
Kai Kang [Sun, 14 Aug 2022 15:18:02 +0000 (23:18 +0800)] 
packagegroup-self-hosted: update for strace

strace has been set imcompatible with riscv32, so update in
packagegroup-self-hosted.bb accordingly.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperf: Add packageconfig for libbfd support and use disabled as default
Khem Raj [Mon, 15 Aug 2022 03:48:46 +0000 (20:48 -0700)] 
perf: Add packageconfig for libbfd support and use disabled as default

Disable it by default, libbfd changes with binutils major releases and
sometimes it creates a dependency to fix it. See [1]

This will help building with binutils 2.39

[1] https://lore.kernel.org/lkml/20210910225756.729087-1-irogers@google.com/T/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtirpc: Upgrade to 1.3.3
Khem Raj [Sun, 14 Aug 2022 22:20:37 +0000 (15:20 -0700)] 
libtirpc: Upgrade to 1.3.3

In this release a large number of deadlocks in the
in the multi-thread code were fix. A number of
memory leaks were plugged and a DoS was eliminated.
As well as a large number of bug fixes.

Release notes:

http://sourceforge.net/projects/libtirpc/files/libtirpc/1.3.3/Release-1.3.3.txt

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: Backport a patch for CVE-2022-34526
Khem Raj [Sun, 14 Aug 2022 22:20:36 +0000 (15:20 -0700)] 
tiff: Backport a patch for CVE-2022-34526

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Ignore CVE-2016-3709
Khem Raj [Sun, 14 Aug 2022 22:20:35 +0000 (15:20 -0700)] 
libxml2: Ignore CVE-2016-3709

This is fixed via a revert in 2.9.11 [1]

[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/c1ba6f54d32b707ca6d91cb3257ce9de82876b6f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtirpc: Backport fix for CVE-2021-46828
Khem Raj [Sun, 14 Aug 2022 22:20:34 +0000 (15:20 -0700)] 
libtirpc: Backport fix for CVE-2021-46828

CVE: CVE-2021-46828
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Upgrade to 3.2.5
Khem Raj [Sun, 14 Aug 2022 22:20:32 +0000 (15:20 -0700)] 
rsync: Upgrade to 3.2.5

Changlog is here [1]
[1] https://download.samba.org/pub/rsync/NEWS#3.2.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Backport fix to address CVE-2022-29154
Khem Raj [Sun, 14 Aug 2022 22:20:31 +0000 (15:20 -0700)] 
rsync: Backport fix to address CVE-2022-29154

CVE: CVE-2022-29154

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-c: Fix function prototypes
Khem Raj [Sun, 14 Aug 2022 22:20:28 +0000 (15:20 -0700)] 
json-c: Fix function prototypes

This is flagged with clang 15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozlib: Resolve CVE-2022-37434
Khem Raj [Mon, 15 Aug 2022 02:49:50 +0000 (19:49 -0700)] 
zlib: Resolve CVE-2022-37434

Backport needed fixes

CVE: CVE-2022-37434

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodefault-distrovars: Remove largefile from defualt DISTRO_FEATURES
Khem Raj [Sat, 13 Aug 2022 04:28:07 +0000 (21:28 -0700)] 
default-distrovars: Remove largefile from defualt DISTRO_FEATURES

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample.extended: Remove largefile from DISTRO_FEATURES
Khem Raj [Sat, 13 Aug 2022 04:28:06 +0000 (21:28 -0700)] 
local.conf.sample.extended: Remove largefile from DISTRO_FEATURES

This feature is removed therefore lets remove it from samples and
templates

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agounzip: Always enable largefile support
Khem Raj [Sat, 13 Aug 2022 04:28:05 +0000 (21:28 -0700)] 
unzip: Always enable largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibmicrohttpd: Enable largefile support unconditionally
Khem Raj [Sat, 13 Aug 2022 04:28:04 +0000 (21:28 -0700)] 
libmicrohttpd: Enable largefile support unconditionally

the distro feature knob is deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozip: Always enable LARGE_FILE_SUPPORT
Khem Raj [Sat, 13 Aug 2022 04:28:03 +0000 (21:28 -0700)] 
zip: Always enable LARGE_FILE_SUPPORT

largefile distro feature is deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Upgrade to latest tip of trunk
Khem Raj [Sun, 14 Aug 2022 03:08:50 +0000 (20:08 -0700)] 
musl: Upgrade to latest tip of trunk

Rebase existing patches

Brings in following changes

46d1c780 fix strings.h feature test macro usage due to missing features.h
baaf257f fix ESRCH error handling for clock_getcpuclockid
4f48da00 aarch64: add vfork
7d568410 fix mishandling of errno in getaddrinfo AI_ADDRCONFIG logic
d16d7b10 early stage ldso: remove symbolic references via error handling function
63c67053 in early stage ldso before __dls2b, call mprotect with __syscall
a23a3da2 avoid limited space of random temp file names if clock resolution is low
41002798 remove random filename obfuscation that leaks ASLR information
6c858d6f ensure distinct query id for parallel A and AAAA queries in resolver
8974ef21 mntent: fix potential mishandling of extremely long lines
751bee0e mntent: fix parsing lines with optional fields
dcb31f6b fix constraint violation in qsort wrapper around qsort_r

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-base: Include required system headers for isspace() and sscanf()
Khem Raj [Sat, 13 Aug 2022 17:01:55 +0000 (10:01 -0700)] 
gstreamer1.0-plugins-base: Include required system headers for isspace() and sscanf()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Bump to latest 2.36 branch
Khem Raj [Fri, 12 Aug 2022 19:27:25 +0000 (12:27 -0700)] 
glibc: Bump to latest 2.36 branch

Drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-c: Add ptest for json-c
Simone Weiss [Fri, 12 Aug 2022 09:39:24 +0000 (11:39 +0200)] 
json-c: Add ptest for json-c

Adapt json-c recipe to compile and deploy a ptest for json-c.
Also add a small script for executing the tests.
All tests were successful on a trial and took around 20 seconds.

Signed-off-by: Simone Weiß <simone.weiss@elektrobit.com>
Signed-off-by: Kai Tomerius <kai.tomerius@elektrobit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: Don't use f-strings
Ernst Sjöstrand [Fri, 12 Aug 2022 06:05:06 +0000 (08:05 +0200)] 
cve-check: Don't use f-strings

Since we're keeping cve-check aligned between the active branches,
and dunfell is supported on Python 3.5, we can't use f-strings.

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemux86-64: Allow higher tunes
Tom Rini [Thu, 11 Aug 2022 15:40:05 +0000 (11:40 -0400)] 
qemux86-64: Allow higher tunes

Back in 0be64e54a0e6 ("qemux86: Allow higher tunes") we moved the
qemux86 machine to using the core-i7 tune file, for maximum flexibility
and to allow for enabling advanced processor features if desired or
required by various packagess, without changing the default tune. Do the
same now for qemux86-64.

Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: handle links to inaccessible locations
Peter Marko [Thu, 11 Aug 2022 12:35:13 +0000 (14:35 +0200)] 
create-spdx: handle links to inaccessible locations

When a link is pointing to location inaccessible to build user (e.g. "/root/something"),
filepath.is_file() throws "PermissionError: [Errno 13] Permission denied".
Fix this by first checking if it is a link.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: exclude pre-releases from version check
Alexander Kanavin [Thu, 11 Aug 2022 19:58:06 +0000 (21:58 +0200)] 
weston: exclude pre-releases from version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: replace a rejected patch with an equivalent uninative.bbclass tweak
Alexander Kanavin [Thu, 11 Aug 2022 19:58:05 +0000 (21:58 +0200)] 
patchelf: replace a rejected patch with an equivalent uninative.bbclass tweak

This was the original reason to add the patch:
https://git.openembedded.org/openembedded-core/commit/?id=18efcbcb896239c64fedd009ce57f3f0c668cbc0

and this is the upstream discussion which suggests handling
read-only files explicitly outside of patchelf:
https://github.com/NixOS/patchelf/pull/89

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: update 0.14.5 -> 0.15.0
Alexander Kanavin [Thu, 11 Aug 2022 19:58:04 +0000 (21:58 +0200)] 
patchelf: update 0.14.5 -> 0.15.0

Rebase handle-read-only-files.patch

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: upgrade 10.0.1 -> 10.0.2
Alexander Kanavin [Thu, 11 Aug 2022 19:58:03 +0000 (21:58 +0200)] 
weston: upgrade 10.0.1 -> 10.0.2

Drop dont-use-plane-add-prop.patch as issue is fixed elsewhere
(see the link in the patch).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.23.2 -> 3.24.0
Alexander Kanavin [Thu, 11 Aug 2022 19:58:02 +0000 (21:58 +0200)] 
cmake: update 3.23.2 -> 3.24.0

License-Update: additional copyright holders

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update 1.62.0 -> 1.62.1
Alexander Kanavin [Thu, 11 Aug 2022 19:58:01 +0000 (21:58 +0200)] 
rust: update 1.62.0 -> 1.62.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodropbear: merge .inc into .bb
Alexander Kanavin [Thu, 11 Aug 2022 19:58:00 +0000 (21:58 +0200)] 
dropbear: merge .inc into .bb

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto: prepend the the value with a space when append to KERNEL_EXTRA_ARGS
Jose Quaresma [Fri, 12 Aug 2022 14:43:38 +0000 (14:43 +0000)] 
linux-yocto: prepend the the value with a space when append to KERNEL_EXTRA_ARGS

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Upgrade to 3.7 to work with glibc 2.36
Michael Halstead [Fri, 12 Aug 2022 21:57:36 +0000 (14:57 -0700)] 
uninative: Upgrade to 3.7 to work with glibc 2.36

Update uninative to work with the new glibc 2.36 version

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiproute2: Fix netns check during configure
Khem Raj [Thu, 11 Aug 2022 05:54:33 +0000 (22:54 -0700)] 
iproute2: Fix netns check during configure

Check would fail with compilers using -Werror since _GNU_SOURCE is
needed for this function.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agounzip: Enable largefile support when enabled in distro
Khem Raj [Thu, 11 Aug 2022 05:54:32 +0000 (22:54 -0700)] 
unzip: Enable largefile support when enabled in distro

The test to determine largefile support is a runtime test which wont
work during cross-compile, therefore override the test result from
recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agounzip: Fix configure tests to use modern C
Khem Raj [Thu, 11 Aug 2022 05:54:31 +0000 (22:54 -0700)] 
unzip: Fix configure tests to use modern C

Newer compilers end up with errors while compiling these test snippets
and build results in failures.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agozip: Make configure checks to be more robust
Khem Raj [Thu, 11 Aug 2022 05:54:30 +0000 (22:54 -0700)] 
zip: Make configure checks to be more robust

Newer compilers are strict and have turned some warnings into hard
errors which results in subtle configure check failures. Therefore fix
these tests and also enable largefile support via cflags when its
desired

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agozip: Enable largefile support based on distro feature
Khem Raj [Thu, 11 Aug 2022 05:54:29 +0000 (22:54 -0700)] 
zip: Enable largefile support based on distro feature

The configure test tries to run a binary during build to determine
largefile support, which wont work in cross-compile mode, therefore
specify it when largefile DISTRO_FEATURE is on.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolttng-modules: replace mips compaction fix with upstream change
Bruce Ashfield [Wed, 10 Aug 2022 17:51:12 +0000 (13:51 -0400)] 
lttng-modules: replace mips compaction fix with upstream change

lttng upstream had a different solution to the compaction build isses
seen on mips.

We switch our patch for a backport of the upstream solution.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowic: add 'none' fstype for custom image
JeongBong Seo [Wed, 10 Aug 2022 08:56:15 +0000 (08:56 +0000)] 
wic: add 'none' fstype for custom image

It's not possible to set the label (of gpt entry) normally
when I want to use non-listed fstype as a rawcopy.

Example)
part ? --source rawcopy --ondisk mmcblk0 --label mypart --sourceparams file=mypart.raw

To resolve this problem, this patch addes a 'none' fstype
and ignore do_image_label on rawcopy (that actually set the partition label.)

Signed-off-by: JeongBong Seo <jb.seo@lge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoapt: fix nativesdk-apt build failure during the second time build
Changqing Li [Tue, 9 Aug 2022 11:47:22 +0000 (19:47 +0800)] 
apt: fix nativesdk-apt build failure during the second time build

Run following commands:
bitbake nativesdk-apt
bitbake nativesdk-apt -c install -f

The second command's do_install will fail with following error:
| /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native/usr/bin/x86_64-wrlinuxsdk-linux/x86_64-wrlinuxsdk-linux-g++ -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include/apt-pkg --sysroot=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot  -O2 -pipe -fmacro-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot=                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native=  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -std=gnu++17 -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -c /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc
| /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc:1:10: fatal error: /include/apt-pkg/tagfile-keys.h: No such file or directory
|     1 | #include "/include/apt-pkg/tagfile-keys.h"
0/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc

During the first command, do_install task changed tagfile-keys.cc, this
will make tagfile-keys.cc is newer than the built tagfile-keys.cc.o. So the second
do_install will rebuild tagfile-keys.cc.o. But the header path is
replaced wrongly, so fix the header path

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agouboot-config.bbclass: Don't bail out early in multi configs
Kevin Hao [Tue, 9 Aug 2022 10:28:19 +0000 (18:28 +0800)] 
uboot-config.bbclass: Don't bail out early in multi configs

Previously we had the support to build multiple u-boot configs for a
machine, but after the change in the commit 801a27d73b10
("uboot-config.bbclass: Raise error for bad key"), this anonymous
function would bail out after handling the first config in UBOOT_CONFIG.
This is definitely not what we want. Fix it by making sure all the
configs are handled.

Fixed: 801a27d73b10 ("uboot-config.bbclass: Raise error for bad key")
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>