]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agonpm: Add support for EXTRA_OENPM arguments
Stefan Herbrechtsmeier [Fri, 8 Oct 2021 07:48:24 +0000 (09:48 +0200)]
npm: Add support for EXTRA_OENPM arguments

Add support for EXTRA_OENPM arguments to set node-gyp variables for
example. This allows use of shared librariess, avoid download
of external sources or build from source.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Update to 20210927
Petr Vorel [Sat, 2 Oct 2021 17:25:55 +0000 (19:25 +0200)]
ltp: Update to 20210927

New patches to fix functionality:
* 0002-lib-fix-MemAvailable-parsing.patch
* 0003-lapi-rtnetlink.h-Fix-include-guards.patch
* 0004-lapi-Create-if_addr.h-and-reuse-it-in-rtnetlink.h.patch
* 0005-lapi-if_addr.h-Define-IFA_FLAGS.patch

Removed patch from this release
* 0001-syscalls-ioctl_ns05.c-ioctl_ns06.c-Fix-too-small-buf.patch

Rebased patch
* 0001-Remove-OOM-tests-from-runtest-mm.patch

* Updated copying (reduced files in 5eff445d4 ("Reduce LICENCE/COPYING files"))

* Updated removed musl incompatible files in
  remove_broken_musl_sources() (process.c was removed in 926d3b906
  ("sched: Remove process.c")), also update link to CI file.

[RP: Fixed Upstream-Status lines in patches]
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolinux-yocto-dev: Ensure DEPENDS matches recent 5.14 kernel changes
Richard Purdie [Thu, 14 Oct 2021 10:21:33 +0000 (11:21 +0100)]
linux-yocto-dev: Ensure DEPENDS matches recent 5.14 kernel changes

DEPENDS here should match what 5.14 is using.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto: add libmpc-native to DEPENDS
Ross Burton [Tue, 5 Oct 2021 13:04:11 +0000 (14:04 +0100)]
linux-yocto: add libmpc-native to DEPENDS

5.14 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built. We already depend on gmp-native,
so add libmpc-native aswell.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobuildhistory: Fix package output files for SDKs
Andres Beltran [Tue, 5 Oct 2021 00:34:15 +0000 (00:34 +0000)]
buildhistory: Fix package output files for SDKs

Currently, installed packages are listed for images in image-info.txt, but
not for SDKs in sdk-info.txt. Add TOOLCHAIN_HOST_TASK and
TOOLCHAIN_TARGET_TASK to the output variables in sdk-info.txt.

Moreover, package output files for the SDK host are empty because
PKGDATA_DIR defaults to the target directory. Fix this bug and create a new
variable called PKGDATA_DIR_SDK which stores the correct path for the SDK
host package data.

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopackagedata.py: silence a DeprecationWarning
Mingli Yu [Mon, 11 Oct 2021 08:28:48 +0000 (16:28 +0800)]
packagedata.py: silence a DeprecationWarning

Use regex strings (r’’) to silence below deprecation warning [1]:
 $ cat tmp/work/intel_x86_64-wrs-linux/linux-yocto/5.10.x+gitAUTOINC+917c420111_373c02c3ca-r0/temp/log.do_deploy
 [snip]
 /build/layers/oe-core/meta/lib/oe/packagedata.py:22: DeprecationWarning: invalid escape sequence \s
 r = re.compile("(^.+?):\s+(.*)")
 [snip]

[1] https://docs.python.org/3/library/re.html

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-tools: replace ad hoc ptest fixup with upstream fixes
Alexander Kanavin [Mon, 11 Oct 2021 09:40:36 +0000 (11:40 +0200)]
lttng-tools: replace ad hoc ptest fixup with upstream fixes

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: install qmp module without hardcoding the python version in oeqa scripts
Alexander Kanavin [Mon, 11 Oct 2021 09:40:35 +0000 (11:40 +0200)]
qemu: install qmp module without hardcoding the python version in oeqa scripts

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobootchart2: Don't compile python modules
Richard Purdie [Tue, 12 Oct 2021 11:51:51 +0000 (12:51 +0100)]
bootchart2: Don't compile python modules

"make install" may attempt to compile the python modules but it uses the host python
and host paths which means the binaries are not reproducbile. Make things consistent.
If anyone needs compiling, it will beed to be fixed to be cross compile compatible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibnewt: Use python3targetconfig to fix reproducibility issue
Richard Purdie [Tue, 12 Oct 2021 10:45:26 +0000 (11:45 +0100)]
libnewt: Use python3targetconfig to fix reproducibility issue

We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Use python3targetconfig to fix reproducibility issue
Richard Purdie [Tue, 12 Oct 2021 10:41:41 +0000 (11:41 +0100)]
libxml2: Use python3targetconfig to fix reproducibility issue

We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevpyshell: rename to pydevshell kirkstone-next
Michael Opdenacker [Tue, 5 Oct 2021 08:33:34 +0000 (10:33 +0200)]
devpyshell: rename to pydevshell

For consistency with "pydevshell" which is also used.
This addresses [YOCTO #14531]

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobusybox: 1.34.0 -> 1.34.1
Andrej Valek [Mon, 4 Oct 2021 10:27:31 +0000 (12:27 +0200)]
busybox: 1.34.0 -> 1.34.1

- update to next stable version 1.34.1

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogst-examples: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:42:06 +0000 (00:42 +0100)]
gst-examples: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogst-devtools: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:42:05 +0000 (00:42 +0100)]
gst-devtools: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-python: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:42:04 +0000 (00:42 +0100)]
gstreamer1.0-python: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-omx: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:42:03 +0000 (00:42 +0100)]
gstreamer1.0-omx: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-vaapi: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:42:02 +0000 (00:42 +0100)]
gstreamer1.0-vaapi: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-libav: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:42:01 +0000 (00:42 +0100)]
gstreamer1.0-libav: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-rtsp-server: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:42:00 +0000 (00:42 +0100)]
gstreamer1.0-rtsp-server: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-plugins-ugly: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:41:59 +0000 (00:41 +0100)]
gstreamer1.0-plugins-ugly: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-plugins-bad: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:41:58 +0000 (00:41 +0100)]
gstreamer1.0-plugins-bad: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-plugins-good: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:41:57 +0000 (00:41 +0100)]
gstreamer1.0-plugins-good: 1.18.4 -> 1.18.5

Drop backport patches:
    * 0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch

    * 0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
      https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/commit/a1bf3d8d540a25268d612a489e1e836d6ea737b0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-plugins-base: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:41:56 +0000 (00:41 +0100)]
gstreamer1.0-plugins-base: 1.18.4 -> 1.18.5

Drop backport patches:
    * 4ef5c91697a141fea7317aff7f0f28e5a861db99.patch

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0: 1.18.4 -> 1.18.5
Jose Quaresma [Sun, 3 Oct 2021 23:41:55 +0000 (00:41 +0100)]
gstreamer1.0: 1.18.4 -> 1.18.5

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/sstatetests: fix typo ware -> were
Alexandre Belloni [Sun, 3 Oct 2021 10:36:24 +0000 (12:36 +0200)]
oeqa/selftest/sstatetests: fix typo ware -> were

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibseccomp: Upgrade to 2.5.2 and beyond
Khem Raj [Fri, 1 Oct 2021 04:54:27 +0000 (21:54 -0700)]
libseccomp: Upgrade to 2.5.2 and beyond

Forward port the rv32 port

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogo: upgrade 1.16.7 -> 1.16.8
Sakib Sajal [Thu, 23 Sep 2021 00:17:31 +0000 (20:17 -0400)]
go: upgrade 1.16.7 -> 1.16.8

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoell: upgrade 0.43 -> 0.44
wangmy [Wed, 22 Sep 2021 13:13:36 +0000 (21:13 +0800)]
ell: upgrade 0.43 -> 0.44

ver 0.44:
        Fix issue with allowing zero byte input for AEAD cipher.
        Fix issue with filling in DNS info in DHCP lease objects.
        Add support neighbor discovery utility helpers.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agodnf: upgrade 4.8.0 -> 4.9.0
wangmy [Wed, 22 Sep 2021 13:13:35 +0000 (21:13 +0800)]
dnf: upgrade 4.8.0 -> 4.9.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocreaterepo-c: upgrade 0.17.4 -> 0.17.5
wangmy [Wed, 22 Sep 2021 13:13:34 +0000 (21:13 +0800)]
createrepo-c: upgrade 0.17.4 -> 0.17.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobind: upgrade 9.16.20 -> 9.16.21
wangmy [Wed, 22 Sep 2021 13:13:33 +0000 (21:13 +0800)]
bind: upgrade 9.16.20 -> 9.16.21

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoacpid: upgrade 2.0.32 -> 2.0.33
wangmy [Wed, 22 Sep 2021 13:13:32 +0000 (21:13 +0800)]
acpid: upgrade 2.0.32 -> 2.0.33

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibinput: update to 1.19.0
Oleksandr Kravchuk [Tue, 21 Sep 2021 19:31:12 +0000 (21:31 +0200)]
libinput: update to 1.19.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoxf86-input-libinput: update to 1.2.0
Oleksandr Kravchuk [Tue, 21 Sep 2021 19:31:11 +0000 (21:31 +0200)]
xf86-input-libinput: update to 1.2.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoethtool: update to 5.14
Changhyeok Bae [Tue, 21 Sep 2021 09:38:01 +0000 (11:38 +0200)]
ethtool: update to 5.14

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-setuptools: minor cleanup
Oleksandr Kravchuk [Sat, 18 Sep 2021 22:18:52 +0000 (00:18 +0200)]
python3-setuptools: minor cleanup

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-setuptools: update to 58.0.4
Oleksandr Kravchuk [Sat, 18 Sep 2021 22:18:51 +0000 (00:18 +0200)]
python3-setuptools: update to 58.0.4

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-dbusmock: update to 0.24.0
Oleksandr Kravchuk [Sat, 18 Sep 2021 22:14:43 +0000 (00:14 +0200)]
python3-dbusmock: update to 0.24.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-git: update to 3.1.24
Oleksandr Kravchuk [Sat, 18 Sep 2021 22:14:36 +0000 (00:14 +0200)]
python3-git: update to 3.1.24

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3: update to 3.9.7
Oleksandr Kravchuk [Sat, 18 Sep 2021 22:14:28 +0000 (00:14 +0200)]
python3: update to 3.9.7

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopkgconfig: Update to latest
Khem Raj [Sat, 18 Sep 2021 18:16:09 +0000 (11:16 -0700)]
pkgconfig: Update to latest

Brings following change

  * d97db4f Update URL for bug reporting
  * eb866ad Spelling and grammar in pkg.m4
  * 1f81c80 Fix spelling of rra's name
  * 350515e Use https for developer.gnome.org URL
  * 834ecc2 Update bug reporting URL to point to gitlab
  * 38936b2 Call setlocale in main function
  * 2ad16fa pkg: Make ordering of output from print_package_list() deterministic
  * 2dd2b19 parse: Don't emit unknown keyword warning for Libs.private

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowayland-protocols: upgrade 1.22 -> 1.23
Denys Dmytriyenko [Thu, 16 Sep 2021 01:06:37 +0000 (21:06 -0400)]
wayland-protocols: upgrade 1.22 -> 1.23

wayland-protocols 1.23 is now available.

This release adds the new gesture "hold" to the pointer gesture protocol.

https://lists.freedesktop.org/archives/wayland-devel/2021-September/041979.html

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoweston: wrapper for weston modules argument
Pavel Zhukov [Wed, 15 Sep 2021 08:50:37 +0000 (10:50 +0200)]
weston: wrapper for weston modules argument

Due to custom option parser implementation weston accepts only one
argument of a given type. As the result if multiple modules add
multiple --modules agruments only last will be used. This fix
introduces wrapper around modules in terms of weston-init to prepare
proper modules argument for weston and adds systemd-notify module into
weston-init module to support Type=notify in systemd service file.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-more-itertools: upgrade 8.8.0 -> 8.9.0
wangmy [Tue, 14 Sep 2021 23:37:42 +0000 (07:37 +0800)]
python3-more-itertools: upgrade 8.8.0 -> 8.9.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agohelp2man: upgrade 1.48.4 -> 1.48.5
wangmy [Tue, 14 Sep 2021 23:36:25 +0000 (07:36 +0800)]
help2man: upgrade 1.48.4 -> 1.48.5

   * Use @samp{} around the option in the menu description for "--help
     recommendations" to avoid rendering the -- as endash.
   * Update French translations
   * Update standards version to 4.6.0 (no changes).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovulkan-tools: upgrade 1.2.182 -> 1.2.191
wangmy [Tue, 14 Sep 2021 23:35:46 +0000 (07:35 +0800)]
vulkan-tools: upgrade 1.2.182 -> 1.2.191

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovulkan-loader: upgrade 1.2.182 -> 1.2.191
wangmy [Tue, 14 Sep 2021 23:35:45 +0000 (07:35 +0800)]
vulkan-loader: upgrade 1.2.182 -> 1.2.191

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovulkan-headers: upgrade 1.2.182 -> 1.2.191
wangmy [Tue, 14 Sep 2021 23:35:44 +0000 (07:35 +0800)]
vulkan-headers: upgrade 1.2.182 -> 1.2.191

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agotar: filter CVEs using vendor name
Ralph Siemsen [Tue, 14 Sep 2021 19:15:47 +0000 (15:15 -0400)]
tar: filter CVEs using vendor name

Recently a number of CVEs have been logged against a nodejs project
called "node-tar". These appear as false positives against the GNU tar
being built by Yocto. Some of these have been manually excluded using
CVE_CHECK_WHITELIST.

To avoid this problem, use the vendor name (in addition to package name)
for filtering CVEs. The syntax for this is:
  CVE_PRODUCT = "vendor:package"
When not specified, the vendor defaults to "%" which matches anything.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomount-copybind: add rootcontext mountoption for overlayfs
Maximilian Blenk [Thu, 9 Sep 2021 08:05:05 +0000 (10:05 +0200)]
mount-copybind: add rootcontext mountoption for overlayfs

If selinux is enabled, the context of the mountpoint for overlayfs
needs to be specified manually via the rootcontext option. To this
end, the required context is determined using matchpathcon(1) and
passed via the rootcontext mount option.

Additionally, if the mount source directory is created by mount-copybind
it also needs to take care that the context of the directory is correct

Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomount-copybind: add SELinux support
Tobias Kaufmann [Thu, 9 Sep 2021 08:05:04 +0000 (10:05 +0200)]
mount-copybind: add SELinux support

bind mounts don't use the SELinux label of the target, but the SELinux
label of the source.

This patch restores the SELinux context of the bind mount recursively using
restorecon.

Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agofindutils: add ptest
Oleh Matiusha [Wed, 8 Sep 2021 17:17:54 +0000 (20:17 +0300)]
findutils: add ptest

Placed it in PTESTS_SLOW since it takes 36s to execute this ptest on qemu.

Signed-off-by: Oleh Matiusha <oleh.matiusha@globallogic.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoharfbuzz: upgrade 2.9.0 -> 2.9.1
wangmy [Wed, 8 Sep 2021 14:41:59 +0000 (22:41 +0800)]
harfbuzz: upgrade 2.9.0 -> 2.9.1

Final subset API is in place and if no issues are discovered,
it will be the stable subset API of HarfBuzz 3.0.0.
Old API is kept to ease transition, but will be removed in 3.0.0.
Various fuzzer-found bug fixes.
hb_buffer_append() now handles the pre- and post-context which
previously were left unchanged in the destination buffer.
hb-view / hb-shape now accept following new arguments:
--unicodes-before/after: takes a list of hex numbers that represent Unicode
codepoints.
Undeprecated API:
hb_set_invert()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogzip: upgrade 1.10 -> 1.11
wangmy [Wed, 8 Sep 2021 14:41:58 +0000 (22:41 +0800)]
gzip: upgrade 1.10 -> 1.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoiproute2: update to 5.14.0
Changhyeok Bae [Mon, 6 Sep 2021 16:46:19 +0000 (18:46 +0200)]
iproute2: update to 5.14.0

Signed-off-by: Changhyeok <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibhandy: update 1.2.3 -> 1.4.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:22 +0000 (20:01 +0200)]
libhandy: update 1.2.3 -> 1.4.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibssh2: update 1.9.0 -> 1.10.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:25 +0000 (20:01 +0200)]
libssh2: update 1.9.0 -> 1.10.0

0001-configure-Conditionally-undefine-backend-m4-macro.patch no
longer needed; code removed upstream.

License-Update: copyright years
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgit2: update 1.1.1 -> 1.2.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:24 +0000 (20:01 +0200)]
libgit2: update 1.1.1 -> 1.2.0

License-Update: includes portions of openssl headers
https://github.com/libgit2/libgit2/commit/0903cac1d08817e87c556f5a3e6ec881be86c7f2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agort-tests: update 2.1 -> 2.2
Alexander Kanavin [Wed, 8 Sep 2021 18:01:23 +0000 (20:01 +0200)]
rt-tests: update 2.1 -> 2.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpam: update 1.5.1 -> 1.5.2
Alexander Kanavin [Wed, 8 Sep 2021 18:01:21 +0000 (20:01 +0200)]
libpam: update 1.5.1 -> 1.5.2

Drop patches: issues fixed upstream.

Move .pc files to correct place as libpam is instructed to install them in /lib via
--libdir.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolsof: update 4.91 -> 4.94.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:20 +0000 (20:01 +0200)]
lsof: update 4.91 -> 4.94.0

Drop all custom sourcedir handling as the source is now a standard
git checkout.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: update 249.3 -> 249.4
Alexander Kanavin [Wed, 8 Sep 2021 18:01:19 +0000 (20:01 +0200)]
systemd: update 249.3 -> 249.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinetutils: drop CVE-2021-40491 patch
Alexandre Belloni [Mon, 27 Sep 2021 12:31:32 +0000 (14:31 +0200)]
inetutils: drop CVE-2021-40491 patch

This CVE is already fixed in inetutils 2.2

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoinetutils: update 2.1 -> 2.2
Alexander Kanavin [Wed, 8 Sep 2021 18:01:18 +0000 (20:01 +0200)]
inetutils: update 2.1 -> 2.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshaderc: update 2021.1 -> 2021.2
Alexander Kanavin [Wed, 8 Sep 2021 18:01:15 +0000 (20:01 +0200)]
shaderc: update 2021.1 -> 2021.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglslang: update 11.5.0 -> 11.6.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:14 +0000 (20:01 +0200)]
glslang: update 11.5.0 -> 11.6.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospirv-tools: update 2021.2 -> 2021.3
Alexander Kanavin [Wed, 8 Sep 2021 18:01:13 +0000 (20:01 +0200)]
spirv-tools: update 2021.2 -> 2021.3

Drop 0001-fix-strncpy-bound-error.patch; issue fixed upstream.

Bump spirv-headers revision to avoid outdated headers causing
build errors.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopinentry: update 1.1.1 -> 1.2.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:12 +0000 (20:01 +0200)]
pinentry: update 1.1.1 -> 1.2.0

Rebase patches.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognupg: update 2.3.1 -> 2.3.2
Alexander Kanavin [Wed, 8 Sep 2021 18:01:11 +0000 (20:01 +0200)]
gnupg: update 2.3.1 -> 2.3.2

Drop chunk from relocate.patch, the upstream code no longer exists.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: correct vga-virtio option to keep virgl enabled
Alexander Kanavin [Wed, 8 Sep 2021 18:01:10 +0000 (20:01 +0200)]
runqemu: correct vga-virtio option to keep virgl enabled

qemu 6.1 has (perhaps unintentionally) disabled virgl in -vga virtio:
https://gitlab.com/qemu-project/qemu/-/issues/586

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: update 6.0.0 -> 6.1.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:09 +0000 (20:01 +0200)]
qemu: update 6.0.0 -> 6.1.0

Recipe changes:
qemu-plugin.h is installed by both qemu-native and qemu-system-native

qmp.py module is now provided in a module directory (no other files
from that directory are necessary to use it though)

additional host-specific info is stripeed from ptest tests/tcg/*.mak

Patches:
drop all backports

drop 0001-Add-enable-disable-udev.patch (change added upstream)

drop 0001-linux-user-Tag-vsx-with-ieee128-fpbits.patch
(issue fixed upstream)

drop 0004-qemu-disable-Valgrind.patch (valgrind detection moved
from configure to meson, and should be robust against host contamination)

rebase 0010-configure-Add-pkg-config-handling-for-libgcrypt.patch
(upstream moved libgcrypt handling from configure to meson, and using
pkg-config is now a one-liner adjustment)

rebase cross.patch

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_rpm: use zstd instead of xz
Alexander Kanavin [Mon, 4 Oct 2021 09:22:48 +0000 (11:22 +0200)]
package_rpm: use zstd instead of xz

zstd has similar time and space performance in compression but is
vastly faster in decompression, which benefits rootfs creation
(especially when installing very large packages) and on-target
package installation.

Also, ensure ZSTD_THREADS doesn't change sstate checksums. The
detailed explanation is in the commit making similar change for
XZ_THREADS.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoperl: do not build berkeley db module by default
Alexander Kanavin [Wed, 8 Sep 2021 18:01:07 +0000 (20:01 +0200)]
perl: do not build berkeley db module by default

Bdb is unmaintained and altogether obsolete, the less dependencies
we have on it, the better.

This leaves only apt (specifically, apt-ftparchive) in core as a bdb consumer,
sadly it has a hard dependency that isn't easy to patch out. Maybe apt
upstream will get to it at some point.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsolv: disable rpm bdb format support
Alexander Kanavin [Wed, 8 Sep 2021 18:01:06 +0000 (20:01 +0200)]
libsolv: disable rpm bdb format support

Otherwise this causes runtime errors when only sqlite is present.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibdnf: fix the rpm sqlite-only target setup
Alexander Kanavin [Wed, 8 Sep 2021 18:01:05 +0000 (20:01 +0200)]
libdnf: fix the rpm sqlite-only target setup

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: update 4.16.1.3 -> 4.17.0
Alexander Kanavin [Wed, 8 Sep 2021 18:01:04 +0000 (20:01 +0200)]
rpm: update 4.16.1.3 -> 4.17.0

The flagship features are migration from bdb to sqlite and zstd support,
both are enabled and taken into use. The relationship and upstream preference
between sqlite and ndb formats isn't quite clear.

Lua is now a hard dependency.

Added packageconfig option for r/o support for bdb (that doesn't need bdb
itself), but not enabled it as upstream marks it EXPERIMENTAL in capital
letters.

Drop sed adjustment for a file that is not anymore installed.

Adjust oeqa test to check for sqlite database instead of bdb.

Drop
0001-Fix-build-with-musl-C-library.patch (nss support removed upstream)
0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch
(difficult to undersand and rebase; obsolete with the move to zstd)
0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch
(upstream made the same change)

Portions of 0001-tools-Add-error.h-for-non-glibc-case.patch dropped
(upstream moved the files to a separate component).

Added 0001-docs-do-not-build-manpages-requires-pandoc.patch to avoid
pandoc dependency.

Added 0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
to restore reproducibility when compression thread amount varies between hosts.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolua: update 5.3.6 -> 5.4.3
Alexander Kanavin [Wed, 8 Sep 2021 18:01:03 +0000 (20:01 +0200)]
lua: update 5.3.6 -> 5.4.3

Drop three backports and 0001-Allow-building-lua-without-readline-on-Linux.patch
(feature added upstream, adjust the recipe accordingly).

Adjust ar/ranlib flags for reproducibility on liblua.a.

License-Update: lines moved around, formatting
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolua: add a recipe from meta-oe
Alexander Kanavin [Wed, 8 Sep 2021 18:01:02 +0000 (20:01 +0200)]
lua: add a recipe from meta-oe

Lua is a hard dependency in rpm 4.17.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcap: update 2.51 -> 2.54
Alexander Kanavin [Wed, 8 Sep 2021 18:01:01 +0000 (20:01 +0200)]
libcap: update 2.51 -> 2.54

Rebase patches.

Delete 0001-tests-do-not-statically-link-a-test.patch as centos
builds are now using their own buildtools.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: update 0.58.1 -> 0.59.1
Alexander Kanavin [Wed, 8 Sep 2021 18:01:00 +0000 (20:01 +0200)]
meson: update 0.58.1 -> 0.59.1

Drop 0003-native_bindir.patch: it doesn't seem to actually define
anything where the use_native parameter is set to true.

Also, the issue should be solved without invasive, custom patching
of the code: via meson.cross, custom .pc files for the items in
question or some other configuration mechanism.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: upgrade 3.21.1 -> 3.21.2
wangmy [Thu, 2 Sep 2021 08:11:56 +0000 (16:11 +0800)]
cmake: upgrade 3.21.1 -> 3.21.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowayland-protocols: upgrade 1.21 -> 1.22
Denys Dmytriyenko [Thu, 2 Sep 2021 22:02:34 +0000 (18:02 -0400)]
wayland-protocols: upgrade 1.21 -> 1.22

wayland-protocols 1.22 is now available.

This release includes a new staging protocol: DRM object leasing.

Besides that, various test and build system improvements are included, as
well as a set of clarifications to the xdg-activation protocol and other
protocols.

https://lists.freedesktop.org/archives/wayland-devel/2021-September/041972.html

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 181 -> 182
wangmy [Fri, 3 Sep 2021 01:58:53 +0000 (09:58 +0800)]
diffoscope: upgrade 181 -> 182

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolayer.conf: Extend recipes not to install without explict dependencies
Richard Purdie [Sun, 19 Sep 2021 15:17:31 +0000 (16:17 +0100)]
layer.conf: Extend recipes not to install without explict dependencies

There are several dependencies which recipes have which are not needed
at runtime, only at build time. Extend the list of these from bison to
include quilt, patch, meson, autoconf, automake and ninja which should
reduce the amount of data being included in native sysroots.

This speeds up and reduces the sstate needed for image builds for example.

If this change breaks recipes, it probably means they're missing an explicit
DEPENDS on something in this list which is a bug in the recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to honister head revision 2021-10 2021-10-honister yocto-3.4
Richard Purdie [Mon, 11 Oct 2021 10:06:24 +0000 (11:06 +0100)]
build-appliance-image: Update to honister head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to honister head revision
Richard Purdie [Mon, 11 Oct 2021 10:03:54 +0000 (11:03 +0100)]
build-appliance-image: Update to honister head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoptest-runner: install -collect-system-data script
Tim Orling [Fri, 8 Oct 2021 21:43:48 +0000 (14:43 -0700)]
ptest-runner: install -collect-system-data script

When ptest-runner times out or otherwise fails, it tries to
call ptest-runner-collect-system-data, so install the script.

The script currently calls dmesg, df, free (which are provided
by busybox, etc.) and pstree (which is a sub-package of psmisc).

Add pstree as an RDEPENDS.

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Drop libcidn package
Fred Liu [Thu, 7 Oct 2021 04:37:12 +0000 (12:37 +0800)]
glibc: Drop libcidn package

libcidn has been dropped since glibc 2.28

Signed-off-by: Fred Liu <yclw3d2y@live.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-ust: fix do_compile failure for arm32 with DEBUG_BUILD enabled
Changqing Li [Fri, 8 Oct 2021 08:33:56 +0000 (16:33 +0800)]
lttng-ust: fix do_compile failure for arm32 with DEBUG_BUILD enabled

After upgrade to 2.13.0, for arm32, with DEBUG_BUILD enabled, lttng-ust
build failed with error:
| /path/to/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/11.2.0/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `_uatomic_link_error'
| collect2: error: ld returned 1 exit status
| Makefile:399: recipe for target 'test_ust_error' failed
| make[3]: *** [test_ust_error] Error 1

The problem has reported to upstream, and upstream suggests to use
-DUATOMIC_NO_LINK_ERROR for the failure case, refer [1].

[1]https://lists.lttng.org/pipermail/lttng-dev/2021-September/030056.html

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobaremetal-image: Fix do_image dependencies
Alejandro Hernandez Samaniego [Thu, 7 Oct 2021 08:42:05 +0000 (02:42 -0600)]
baremetal-image: Fix do_image dependencies

Commit 282d596b8 added a fix for image.bbclass related to QEMU
dependencies, such fix made the older logic borrowed from
image.bbclass incompatible.

Update the dependency logic to reflect new changes, we no longer
need to add the do_addto_recipe_sysroot dependency specifically.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/manual: Fix no longer valid URLs
Jon Mason [Thu, 7 Oct 2021 15:06:23 +0000 (11:06 -0400)]
oeqa/manual: Fix no longer valid URLs

autobuilder.yoctoproject.org URLS no longer work.  Update them to a
working location.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomultilib: Avoid sysroot race issues when multilib enabled
Richard Purdie [Thu, 7 Oct 2021 14:26:58 +0000 (15:26 +0100)]
multilib: Avoid sysroot race issues when multilib enabled

Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS
incorrect. Add the correct value, which fixes races over files in the sysroot.

[YOCTO #14581]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoabi_version/sstate: Bump to fix rpm corruption issues
Richard Purdie [Thu, 7 Oct 2021 16:59:47 +0000 (17:59 +0100)]
abi_version/sstate: Bump to fix rpm corruption issues

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: Deterministically set vendor macro entry
Richard Purdie [Thu, 7 Oct 2021 10:14:18 +0000 (11:14 +0100)]
rpm: Deterministically set vendor macro entry

On an aarch64 build host, vendor is found to be "unknown", on x86 systems
it is "pc". This filters through to the PLATFORM tag in target rpms.

We saw reproducibility test failures where the PLATFORM tags in noarch
rpms were changing depending upon which host built them. Forcing the
vendor value to a consistent one makes things deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstatesig: Only apply group/other permissions to pseudo files
Richard Purdie [Wed, 6 Oct 2021 14:02:14 +0000 (15:02 +0100)]
sstatesig: Only apply group/other permissions to pseudo files

We hardlink some files into the build, such as licence files in
do_populate_lic tasks. Depending on the umask that the source tree
was checked out with, the group permissions would vary. This
results in inconsistent task outhashes.

Avoid this by ignoring the group/other bits unless we're under
pseudo context.

Bump the ABI numbers to ensure we don't see cache corruption from
earlier builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomachine/qemuarm*: Fix UBOOT_MACHINE value
Daiane Angolini [Tue, 5 Oct 2021 16:35:08 +0000 (13:35 -0300)]
machine/qemuarm*: Fix UBOOT_MACHINE value

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Define libnfs PACKAGECONFIG
Andrei Gherzan [Wed, 6 Oct 2021 12:08:33 +0000 (13:08 +0100)]
qemu: Define libnfs PACKAGECONFIG

The upstream qemu recipe uses host's pkg-config files as a solution to
detecting host's SDL. This has a side effect of using other host
libraries that are later queried by the configure script. This can get
into a situation when the host provides libnfs (for example) and because
later this dependency is not in place anymore, qemu will fail at
runtime.

This change adds a PACKAGECONFIG definition for libnfs that is disabled
by default, in turn disabling the pkgconfig autodetection in configure.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: revert: scripts/gcc-plugins: consistently use HOSTCC
Bruce Ashfield [Wed, 6 Oct 2021 11:33:05 +0000 (07:33 -0400)]
linux-yocto/5.14: revert: scripts/gcc-plugins: consistently use HOSTCC

The previously picked up gcc-plugins script wasn't correct and has
been retracted upstream. We do the same in our 5.14 kernel:

    c4def465fc44 Revert "scripts/gcc-plugins: consistently use HOSTCC"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-yocto: don't apply config metadata patches twice
Bruce Ashfield [Wed, 6 Oct 2021 00:12:46 +0000 (20:12 -0400)]
kernel-yocto: don't apply config metadata patches twice

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>