]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agosite: Make sys_siglist default to no
Khem Raj [Tue, 21 Jul 2020 22:10:09 +0000 (15:10 -0700)]
site: Make sys_siglist default to no

glibc 2.32 has deprecated sys_siglist [1]

since no is default for musl as well, therefore elevate it to common
site file for all

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=b1ccfc061feee9ce616444ded8e1cd5acf9fa97f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-10.1: add fix for PR 96130
Dmitry Baryshkov [Thu, 16 Jul 2020 22:36:35 +0000 (01:36 +0300)]
gcc-10.1: add fix for PR 96130

Fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130 causing ICE
(SegFault) when compiling current Mesa git tree.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: mitigate the Straight-line Speculation attack
Ross Burton [Wed, 22 Jul 2020 14:10:09 +0000 (15:10 +0100)]
gcc: mitigate the Straight-line Speculation attack

Straight-line Speculation is a SPECTRE-like attack on Armv8-A, further
details can be found in the white paper here:

https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability/downloads/straight-line-speculation

Backport the GCC patches to mitigate the attack.

CVE: CVE-2020-13844
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoe2fsprogs: fix up check for hardlinks always false if inode > 0xFFFFFFFF
Hongxu Jia [Tue, 21 Jul 2020 02:16:01 +0000 (19:16 -0700)]
e2fsprogs: fix up check for hardlinks always false if inode > 0xFFFFFFFF

While file has a large inode number (> 0xFFFFFFFF), mkfs.ext4 could
not parse hardlink correctly.

Prepare three hardlink files for mkfs.ext4

$ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c
11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a
11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/b
11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/c

$ truncate -s 1M rootfs_ota.ext4

$ mkfs.ext4 -F -i 8192 rootfs_ota.ext4 -L otaroot -U fd5f8768-c779-4dc9-adde-165a3d863349 -d rootfs_ota

$ mkdir mnt && sudo mount rootfs_ota.ext4 mnt

$ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b
12 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/a
14 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/b
15 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/c

After applying this fix
$ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b
12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/a
12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/b
12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/c

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: set with-rundir to /run/sudo
Ricardo Salveti [Tue, 21 Jul 2020 03:09:26 +0000 (00:09 -0300)]
sudo: set with-rundir to /run/sudo

Set with-rundir to a known path instead of letting configure decide
which is the best folder to store the timestamp files. This is required
otherwise it might end up at /sudo, which will cause errors on a ro
filesystem.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk-immodules-cache.bbclass: fix post install scriptlet error
Changqing Li [Tue, 21 Jul 2020 03:06:03 +0000 (11:06 +0800)]
gtk-immodules-cache.bbclass: fix post install scriptlet error

package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default.
when install package gtk-immodule-xim, it is possible met below error:

/var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory
warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1

fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox: make hwclock compatible with glibc 2.31
Sakib Sajal [Tue, 21 Jul 2020 17:59:45 +0000 (13:59 -0400)]
busybox: make hwclock compatible with glibc 2.31

settimeofday(2) has been deprecated as of glibc 2.31
which hwclock makes use of. This patch makes hwclock
compatible with glibc v2.31
See patch for more details:
  busybox/0001-hwclock-make-glibc-2.31-compatible.patch

Fixes [YOCTO #13981]

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostartup-notification: add time_t type mismatch patch from upstream
Ross Burton [Tue, 21 Jul 2020 15:48:15 +0000 (16:48 +0100)]
startup-notification: add time_t type mismatch patch from upstream

Backport a patch to fix issues where sizeof(time_t) != sizeof(long).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage.bbclass: improve wording when image size exceeds the specified limit
Daniel Ammann [Mon, 20 Jul 2020 11:08:17 +0000 (13:08 +0200)]
image.bbclass: improve wording when image size exceeds the specified limit

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoexpat: Added ptest
Oleksandr [Mon, 20 Jul 2020 16:54:42 +0000 (19:54 +0300)]
expat: Added ptest

For ptest support of expat package:

 - expat_2.2.9.bb recipe was switched on cmake-based building system to
avoid cahnges in autotools build system which considered in upstream as
potentially deprecated (https://github.com/libexpat/libexpat/issues/330).

 - cmake-native_3.17.3.bb recipe was forced to use bundled version of
expat from CMake source tree. Therefore expat-native package has been removed
from DEPENDS variable for cmake-native recipe. Without
these changes, next dependency loop appears:

Dependency loop #1 found:
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_compile (dependent Tasks ['cmake-native_3.17.3.bb:do_configure'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_install (dependent Tasks ['cmake-native_3.17.3.bb:do_compile'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_populate_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_install'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_prepare_recipe_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_populate_sysroot', 'ninja_1.10.0.bb:do_populate_sysroot', 'expat_2.2.9.bb:do_fetch'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_configure (dependent Tasks ['expat_2.2.9.bb:do_patch', 'expat_2.2.9.bb:do_prepare_recipe_sysroot', 'expat_2.2.9.bb:do_generate_toolchain_file', 'expat_2.2.9.bb:do_deploy_source_date_epoch'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_compile (dependent Tasks ['expat_2.2.9.bb:do_configure'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_install (dependent Tasks ['expat_2.2.9.bb:do_compile'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_populate_sysroot (dependent Tasks ['expat_2.2.9.bb:do_install'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_prepare_recipe_sysroot (dependent Tasks ['expat_2.2.9.bb:do_populate_sysroot', 'xz_5.2.5.bb:do_populate_sysroot', 'bzip2_1.0.8.bb:do_populate_sysroot', 'ncurses_6.2.bb:do_populate_sysroot', 'zlib_1.2.11.bb:do_populate_sysroot', 'cmake-native_3.17.3.bb:do_fetch', 'curl_7.71.1.bb:do_populate_sysroot'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_configure (dependent Tasks ['cmake-native_3.17.3.bb:do_deploy_source_date_epoch', 'cmake-native_3.17.3.bb:do_patch', 'cmake-native_3.17.3.bb:do_prepare_recipe_sysroot'])

 - run-ptest script that initalizes testing, copies testing
executables' output to log file and measures execution time of each testing
executable was added.

 - patch that implements output of each testcase result in testing exectutable
was added.

Signed-off-by: Oleksandr Popovych <oleksandr.s.popovych@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoclasses/package: Use HOST_OS for runtime dependencies
Joshua Watt [Tue, 21 Jul 2020 17:52:19 +0000 (12:52 -0500)]
classes/package: Use HOST_OS for runtime dependencies

The code was using TARGET_OS to try and detect what type of OS the
packages would be running on, but this is incorrect. TARGET_OS is the OS
for which the package will generate output (e.g. GCC output target or
GDB debugging target). The OS where the package will run is the HOST_OS.
Note that HOST_OS only differs from TARGET_OS when doing a
canadian cross compile, and even then in our case only when doing so for
a non-Linux host (e.g. MinGW).

Fix the code to use HOST_OS instead.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoclasses/cmake: Fix host detection
Joshua Watt [Tue, 21 Jul 2020 17:52:11 +0000 (12:52 -0500)]
classes/cmake: Fix host detection

Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM
variables. The HOST variables should be used instead of
TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for
where the package is going to run (the host), not what it will be
generating output for (the target). The distinction is only really
relevant when building canadian cross recipes.

Also fix up the host OS detection to account for MinGW by setting
CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw
to patch this in all the cmake recipes it builds.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/oe/reproducible: Fix error when no git HEAD
Joshua Watt [Mon, 20 Jul 2020 17:56:32 +0000 (12:56 -0500)]
lib/oe/reproducible: Fix error when no git HEAD

Fixes an error that occurs when attempting to get the timestamp of the
latest commit when there is no HEAD in the git repository. The easiest
way to trigger this condition is to use the 'subdir=' option when
specifying a 'git://' SRC_URI.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoclasses/reproducible: Move to library code
Joshua Watt [Mon, 20 Jul 2020 17:56:31 +0000 (12:56 -0500)]
classes/reproducible: Move to library code

Moves most of the python code used for dealing with the source date
epoch to library code.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/qemurunner: Add priority/nice information for running processes
Richard Purdie [Mon, 20 Jul 2020 10:54:33 +0000 (11:54 +0100)]
oeqa/qemurunner: Add priority/nice information for running processes

We're seeing failures due to system load. In theory we've set process
nice levels which should compensate for this. Add debugging so we can
find out if they're being correctly applied.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopseudo: Update to add OFC fcntl lock updates
Richard Purdie [Mon, 20 Jul 2020 10:27:32 +0000 (11:27 +0100)]
pseudo: Update to add OFC fcntl lock updates

This adds in support for the OFC fcntl ioctl lock flags, removing
warnings on some more recent linux kernels.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocryptodev-module: Backport a patch to fix build failure with kernel v5.8
He Zhe [Mon, 20 Jul 2020 07:39:17 +0000 (15:39 +0800)]
cryptodev-module: Backport a patch to fix build failure with kernel v5.8

Fix the following build failure with linux-yocto-dev

zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
   61 |  down_read(&mm->mmap_sem);
      |                 ^~~~~~~~
      |                 mmap_base
zc.c:77:15: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
   77 |  up_read(&mm->mmap_sem);
      |               ^~~~~~~~
      |               mmap_base

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: upgrade 9.11.19 -> 9.11.21
Yi Zhao [Mon, 20 Jul 2020 06:33:03 +0000 (14:33 +0800)]
bind: upgrade 9.11.19 -> 9.11.21

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: whitelist CVE-2010-10029
akuster [Sun, 19 Jul 2020 20:49:23 +0000 (13:49 -0700)]
glibc: whitelist CVE-2010-10029

The update via Commit https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/glibc?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1

should have added the whitelist for this CVE removed

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-devsrc: fix on-target module build for v5.8+
Bruce Ashfield [Fri, 17 Jul 2020 12:56:34 +0000 (08:56 -0400)]
kernel-devsrc: fix on-target module build for v5.8+

The kernel build is now more sensitive to changing build inputs,
like the compiler, linker, source tree location, versions, file
timestamps, etc.

When a difference is detected, the kernel build invokes a syncconfig
to update/regenerate files as required. That process may prompt, and
hence breaks automated tested and other workflows.

By default, we don't want this to happen so we make sure that auto*
timestamps are newer or equal to the .config timestap, we ensure that
autoconf.h is in the filesystem and that we've substituted the
cross tools used to build the kernel with the names that will be
on the target.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-yocto: account for extracted defconfig in elements check
Bruce Ashfield [Fri, 17 Jul 2020 12:56:33 +0000 (08:56 -0400)]
kernel-yocto: account for extracted defconfig in elements check

The test for whether or not scc should to invoked to generate a
config.queue was missing the newly created sccs_defconfig variable.
We need to test for that variable as well, or we may miss generating
the config.queue in some cases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto-rt/5.4: fix mmdrop stress test issues
Bruce Ashfield [Fri, 17 Jul 2020 12:56:32 +0000 (08:56 -0400)]
linux-yocto-rt/5.4: fix mmdrop stress test issues

Integrating the following commit(s) to linux-yocto/5.4:

    508b4e6ada7f sched: Remove unexpected mmdrop on RT

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4: update to v5.4.51
Bruce Ashfield [Fri, 17 Jul 2020 12:56:31 +0000 (08:56 -0400)]
linux-yocto/5.4: update to v5.4.51

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    1c54d3c15afa Linux 5.4.51
    8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely
    43986c32ee00 dm zoned: assign max_io_len correctly
    215e562251bb x86/resctrl: Fix memory bandwidth counter width for AMD
    d827fe702e07 mm, compaction: make capture control handling safe wrt interrupts
    64a94c550c44 mm, compaction: fully assume capture is not NULL in compact_zone_order()
    2a9278ac9c55 irqchip/gic: Atomically update affinity
    7ba23593cbc5 dma-buf: Move dma_buf_release() from fops to dentry_ops
    4ae695a05516 drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
    2b8c0876bf71 drm/amdgpu: use %u rather than %d for sclk/mclk
    94de85d16b0c drm/amd/display: Only revalidate bandwidth on medium and fast updates
    032343ed6927 MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen
    2e859b14da39 MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names
    71a20b798da3 cifs: Fix the target file was deleted when rename failed.
    49dae9bed7dd SMB3: Honor 'handletimeout' flag for multiuser mounts
    7ab27439fec7 SMB3: Honor lease disabling for multiuser mounts
    0d5824aea7a0 SMB3: Honor persistent/resilient handle flags for multiuser mounts
    d56787683c61 SMB3: Honor 'seal' flag for multiuser mounts
    e0ed5a36fb3a Revert "ALSA: usb-audio: Improve frames size computation"
    fe05e114d0fd nfsd: apply umask on fs without ACL support
    4ee7f1d2f1c9 spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths
    9d60af5c3bb3 i2c: mlxcpld: check correct size of maximum RECV_LEN packet
    b460fc9d0525 i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665
    a632f91f7a9c samples/vfs: avoid warning in statx override
    cd62eeb31512 nvme: fix a crash in nvme_mpath_add_disk
    c64141c68f72 nvme: fix identify error status silent ignore
    7d3f489e61b6 SMB3: Honor 'posix' flag for multiuser mounts
    8964c93436ad virtio-blk: free vblk-vqs in error path of virtblk_probe()
    f795a88eade5 drm: sun4i: hdmi: Remove extra HPD polling
    c84138b3c162 nfsd: fix nfsdfs inode reference count leak
    2571e1735602 nfsd4: fix nfsdfs reference count loop
    31ec38ec9cd5 thermal/drivers/rcar_gen3: Fix undefined temperature if negative
    a65bde001008 thermal/drivers/mediatek: Fix bank number settings on mt8183
    c9426817eac7 hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
    3e7bd7e10639 hwmon: (max6697) Make sure the OVERT mask is set correctly
    0465f54c5cc4 cxgb4: fix SGE queue dump destination buffer context
    6bcb00d08361 cxgb4: use correct type for all-mask IP address comparison
    f68bda772639 cxgb4: fix endian conversions for L4 ports in filters
    180fbf10a26d cxgb4: parse TC-U32 key values and masks natively
    0dc4dd433b94 cxgb4: use unaligned conversion for fetching timestamp
    8a1b8e64204e RDMA/counter: Query a counter before release
    53e9b62672f7 rxrpc: Fix afs large storage transmission performance drop
    60d7de28e0ca drm/msm/dpu: fix error return code in dpu_encoder_init
    cc0f67835302 crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
    5d6b46a94dbb tpm: Fix TIS locality timeout problems
    563e9491f0a3 selftests: tpm: Use /bin/sh instead of /bin/bash
    1f98a9ed5799 kgdb: Avoid suspicious RCU usage warning
    e6b2e3b5e16e nvme-multipath: fix bogus request queue reference put
    5e9523d7e8cd nvme-multipath: fix deadlock due to head->lock
    ad69fbe1d262 nvme-multipath: fix deadlock between ana_work and scan_work
    c4f007d3dbdd nvme-multipath: set bdi capabilities once
    8f4aa3a6de24 s390/debug: avoid kernel warning on too large number of pages
    517326aaf41e tools lib traceevent: Handle __attribute__((user)) in field names
    6f3b8c269d88 tools lib traceevent: Add append() function helper for appending strings
    3dca0a299ff4 usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect
    0ff5b1b50d5c rxrpc: Fix race between incoming ACK parser and retransmitter
    fe688b144c14 mm/slub: fix stack overruns with SLUB_STATS
    f459e8fc7c69 mm/slub.c: fix corrupted freechain in deactivate_slab()
    542d541c1edd sched/debug: Make sd->flags sysctl read-only
    ab9ee18f4646 usbnet: smsc95xx: Fix use-after-free after removal
    58ab86e58b55 EDAC/amd64: Read back the scrub rate PCI register on F15h
    d0e533584a05 mm: fix swap cache node allocation mask
    1c4404efcf2c io_uring: make sure async workqueue is canceled on exit

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssl: openssl-bin requires openssl-conf to run
Robert Yang [Thu, 16 Jul 2020 11:09:21 +0000 (04:09 -0700)]
openssl: openssl-bin requires openssl-conf to run

Fixed:
$ dnf install openssl-bin
$ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes -batch
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomusl: Update to latest tip
Khem Raj [Fri, 17 Jul 2020 01:01:55 +0000 (18:01 -0700)]
musl: Update to latest tip

License-Update: Added copyright for AArch64 memcpy and memset code [1]

Details changelog is here [2]

[1] https://git.musl-libc.org/cgit/musl/commit/?id=fdf8b2ad9c5ae6adf3a91c0043eb898badee46d1
[2] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=fca7428c096066482d8c3f52450810288e27515c..0a005f499cf39822166dd4db3d2d31f0639f1b1b

Signed-off-by: Khem Raj <raj.khem@gmail.com>
s

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokmod: add packageconfig for xz and ssl
Jens Rehsack [Fri, 17 Jul 2020 10:12:54 +0000 (12:12 +0200)]
kmod: add packageconfig for xz and ssl

Add the opportunity for kmod (and depmod etc.) to deal with Xz-compressed
kernel modules and handle PKCS7 signatures, if desired.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopulseaudio: improve the Thumb frame pointer fix
Tanu Kaskinen [Sat, 18 Jul 2020 05:15:55 +0000 (08:15 +0300)]
pulseaudio: improve the Thumb frame pointer fix

By changing the register that PulseAudio uses in its asm code makes it
unnecessary to care whether frame pointers are enabled or not.

This fix was suggested by Andre McCurdy.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: add ibt-20 package
Kurt Kiefer [Fri, 17 Jul 2020 17:23:02 +0000 (10:23 -0700)]
linux-firmware: add ibt-20 package

Add the firmware packaging for Intel Bluetooth AX200, also known
as Intel CyclonePeak (CcP).

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane: improve arch test messages
Ross Burton [Tue, 14 Jul 2020 17:02:48 +0000 (18:02 +0100)]
insane: improve arch test messages

The messages from the ELF 'arch' test are not obvious, clarify the
messages and prune output paths.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinit-ifupdown: always make machine-specific
Ross Burton [Tue, 14 Jul 2020 17:02:47 +0000 (18:02 +0100)]
init-ifupdown: always make machine-specific

We make this recipe machine-specific for all qemu targets, but otherwise
defaults to tune-specific.

However the network configuration is typically machine-specific, so do
this in the recipe directly so that BSPs don't need to do it themselves.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: fix nativesdk's default var location
Chen Qi [Thu, 16 Jul 2020 06:56:32 +0000 (14:56 +0800)]
rpm: fix nativesdk's default var location

For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is
'/var'. This is causing error when running `rpm -qplv A.rpm'.

   error: cannot open Packages index using db5 - Permission denied (13)
   error: cannot open Packages database in /var/lib/rpm

The rpm in SDK should be using its own database. So we should remove
this configure option, letting the SDK's native sysroot prefix to be
there in %_var. In fact, '%_usr' in macros has already got the prefix.
After this change, we have in the macros file lines like below.

"""
%_usr                   /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/usr
%_usrsrc                %{_usr}/src
%_var                   /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/var
"""

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pycryptodome: upgrade 3.9.7 -> 3.9.8
Joshua Watt [Thu, 16 Jul 2020 14:13:05 +0000 (09:13 -0500)]
python3-pycryptodome: upgrade 3.9.7 -> 3.9.8

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pycryptodomex: upgrade 3.9.7 -> 3.9.8
Joshua Watt [Thu, 16 Jul 2020 14:12:59 +0000 (09:12 -0500)]
python3-pycryptodomex: upgrade 3.9.7 -> 3.9.8

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: upgrade 150 -> 151
Joshua Watt [Thu, 16 Jul 2020 14:10:52 +0000 (09:10 -0500)]
diffoscope: upgrade 150 -> 151

* Improvements and bug fixes:

  - Pass the absolute path when extracting members from SquashFS images as we
    run the command with our working directory set to the temporary
    directory. (Closes: #964365, reproducible-builds/diffoscope#189)
  - Increase the minimum length of the output from strings(1) to 8 characters
    to avoid unnecessary diff noise. (Re. reproducible-builds/diffoscope#148)

* Logging improvements:

  - Fix the compare_files message when the file does not have a literal name.
  - Reduce potential log noise by truncating the has_some_content messages.

* Codebase changes:

  - Clarify use of a "null" diff in order to remember an exit code.
  - Don't alias a variable when don't end up it; use "_" instead.
  - Use a  "NullChanges" file to represent missing data in the Debian package
    comparator.
  - Update some miscellaneous terms.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix for virtfs configuration error in qemu 5.0.0
Kamil Dziezyk [Thu, 16 Jul 2020 11:58:58 +0000 (13:58 +0200)]
qemu: fix for virtfs configuration error in qemu 5.0.0

Add --enable-cap-ng as virtfs dependency in qemu configuration.
When using meta-virtualization layer, qemu requires virtfs,
but during do_configure stage below error message shows up:

  ERROR: VirtFS requires libcap-ng devel and libattr devel

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonasm: fix build with autoconf 2.70
Ross Burton [Thu, 16 Jul 2020 11:55:46 +0000 (12:55 +0100)]
nasm: fix build with autoconf 2.70

autoconf 2.70 is coming soon which has some small behavioural fixes, so
backport a patch from upstream to fix the build with that release.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoflex: fix build with autoconf 2.70
Ross Burton [Thu, 16 Jul 2020 11:55:45 +0000 (12:55 +0100)]
flex: fix build with autoconf 2.70

autoconf 2.70 is coming soon which has some small behavioural fixes, so
backport a patch from upstream to fix the build with that release.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoautotools: don't special-case help2man-native for dependencies
Ross Burton [Thu, 16 Jul 2020 11:55:43 +0000 (12:55 +0100)]
autotools: don't special-case help2man-native for dependencies

help2man-native doesn't need to be handled specially, we can build it
normally or use INHIBIT_AUTOTOOLS_DEPS like everyone else.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva-utils: upgrade 2.7.1 -> 2.8.0
Naveen Saini [Thu, 16 Jul 2020 09:43:38 +0000 (17:43 +0800)]
libva-utils: upgrade 2.7.1 -> 2.8.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva-initial: upgrade 2.7.1 -> 2.8.0
Naveen Saini [Thu, 16 Jul 2020 09:43:37 +0000 (17:43 +0800)]
libva-initial: upgrade 2.7.1 -> 2.8.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva: upgrade 2.7.1 -> 2.8.0
Naveen Saini [Thu, 16 Jul 2020 09:43:36 +0000 (17:43 +0800)]
libva: upgrade 2.7.1 -> 2.8.0

Release notes:
https://github.com/intel/libva/releases/tag/2.8.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibgcrypt: upgrade 1.8.5 -> 1.8.6
Richard Purdie [Wed, 15 Jul 2020 16:44:44 +0000 (09:44 -0700)]
libgcrypt: upgrade 1.8.5 -> 1.8.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: upgrade 2.28.2 -> 2.28.3
Richard Purdie [Wed, 15 Jul 2020 16:44:43 +0000 (09:44 -0700)]
webkitgtk: upgrade 2.28.2 -> 2.28.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibevent: upgrade 2.1.11 -> 2.1.12
Richard Purdie [Wed, 15 Jul 2020 16:44:37 +0000 (09:44 -0700)]
libevent: upgrade 2.1.11 -> 2.1.12

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agompg123: upgrade 1.26.1 -> 1.26.2
Richard Purdie [Wed, 15 Jul 2020 16:44:31 +0000 (09:44 -0700)]
mpg123: upgrade 1.26.1 -> 1.26.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognupg: upgrade 2.2.20 -> 2.2.21
Richard Purdie [Wed, 15 Jul 2020 16:44:26 +0000 (09:44 -0700)]
gnupg: upgrade 2.2.20 -> 2.2.21

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoffmpeg: upgrade 4.3 -> 4.3.1
Richard Purdie [Wed, 15 Jul 2020 16:44:18 +0000 (09:44 -0700)]
ffmpeg: upgrade 4.3 -> 4.3.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: upgrade 3.36.2 -> 3.36.3
Richard Purdie [Wed, 15 Jul 2020 16:44:12 +0000 (09:44 -0700)]
epiphany: upgrade 3.36.2 -> 3.36.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: upgrade 0.11.14 -> 0.11.15
Richard Purdie [Wed, 15 Jul 2020 16:44:11 +0000 (09:44 -0700)]
stress-ng: upgrade 0.11.14 -> 0.11.15

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpcsvc-proto: upgrade 1.4.1 -> 1.4.2
Richard Purdie [Wed, 15 Jul 2020 16:43:58 +0000 (09:43 -0700)]
rpcsvc-proto: upgrade 1.4.1 -> 1.4.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibnsl2: upgrade 1.2.0 -> 1.3.0
Richard Purdie [Wed, 15 Jul 2020 16:43:58 +0000 (09:43 -0700)]
libnsl2: upgrade 1.2.0 -> 1.3.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: upgrade 9.0.0 -> 9.0.1
Richard Purdie [Wed, 15 Jul 2020 16:43:56 +0000 (09:43 -0700)]
asciidoc: upgrade 9.0.0 -> 9.0.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-git: upgrade 3.1.3 -> 3.1.7
Richard Purdie [Wed, 15 Jul 2020 06:16:50 +0000 (06:16 +0000)]
python3-git: upgrade 3.1.3 -> 3.1.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-cython: upgrade 0.29.20 -> 0.29.21
Richard Purdie [Wed, 15 Jul 2020 06:06:54 +0000 (06:06 +0000)]
python3-cython: upgrade 0.29.20 -> 0.29.21

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodpkg: upgrade 1.20.0 -> 1.20.5
Richard Purdie [Wed, 15 Jul 2020 04:41:07 +0000 (04:41 +0000)]
dpkg: upgrade 1.20.0 -> 1.20.5

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomtd-utils: upgrade 2.1.1 -> 2.1.2
Richard Purdie [Wed, 15 Jul 2020 05:50:15 +0000 (05:50 +0000)]
mtd-utils: upgrade 2.1.1 -> 2.1.2

Drop backported patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocreaterepo-c: upgrade 0.15.11 -> 0.16.0
Richard Purdie [Wed, 15 Jul 2020 04:31:47 +0000 (04:31 +0000)]
createrepo-c: upgrade 0.15.11 -> 0.16.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinit-system-helpers: upgrade 1.57 -> 1.58
Richard Purdie [Wed, 15 Jul 2020 02:24:19 +0000 (02:24 +0000)]
init-system-helpers: upgrade 1.57 -> 1.58

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobtrfs-tools: upgrade 5.6.1 -> 5.7
Richard Purdie [Wed, 15 Jul 2020 03:54:04 +0000 (03:54 +0000)]
btrfs-tools: upgrade 5.6.1 -> 5.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibuv: upgrade 1.38.0 -> 1.38.1
Richard Purdie [Wed, 15 Jul 2020 02:22:10 +0000 (02:22 +0000)]
libuv: upgrade 1.38.0 -> 1.38.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-check.bbclass: always save cve report
akuster [Sun, 12 Jul 2020 22:38:28 +0000 (22:38 +0000)]
cve-check.bbclass: always save cve report

The cve-check file should be saved always, it has good info.

Put a copy in the log dir as cve-summary with symlinks to latest run.

[Yocto #13974]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2020-13791
Sakib Sajal [Tue, 14 Jul 2020 19:51:19 +0000 (15:51 -0400)]
qemu: fix CVE-2020-13791

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2020-13800
Sakib Sajal [Tue, 14 Jul 2020 19:51:18 +0000 (15:51 -0400)]
qemu: fix CVE-2020-13800

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2020-13659
Sakib Sajal [Tue, 14 Jul 2020 19:51:17 +0000 (15:51 -0400)]
qemu: fix CVE-2020-13659

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2020-13362
Sakib Sajal [Tue, 14 Jul 2020 19:51:16 +0000 (15:51 -0400)]
qemu: fix CVE-2020-13362

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic/filemap: Fall back to standard copy when no way to get the block map
Kevin Hao [Tue, 14 Jul 2020 00:53:23 +0000 (08:53 +0800)]
wic/filemap: Fall back to standard copy when no way to get the block map

For some filesystems, such as aufs which may be used by docker container,
don't support either the SEEK_DATA/HOLE or FIEMAP to get the block
map. So add a FileNobmap class to fall back to standard copy when there
is no way to get the block map.

[Yocto #12988]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic/filemap: Drop the unused get_unmapped_ranges()
Kevin Hao [Tue, 14 Jul 2020 00:53:22 +0000 (08:53 +0800)]
wic/filemap: Drop the unused get_unmapped_ranges()

This method is not used by any code, so drop it.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic/filemap: Drop the unused block_is_unmapped()
Kevin Hao [Tue, 14 Jul 2020 00:53:21 +0000 (08:53 +0800)]
wic/filemap: Drop the unused block_is_unmapped()

This method is not used by any code, so drop it.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperf: add PACKAGECONFIG for CoreSight support
Ross Burton [Mon, 13 Jul 2020 15:44:28 +0000 (16:44 +0100)]
perf: add PACKAGECONFIG for CoreSight support

meta-arm has a recipe for OpenCSD, the CoreSight Trace Decoder library,
so add a PACKAGECONFIG so that users can enable the use of CoreSight in
perf builds.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agompfr: upgrade 4.0.2 -> 4.1.0
Richard Purdie [Wed, 15 Jul 2020 16:44:41 +0000 (09:44 -0700)]
mpfr: upgrade 4.0.2 -> 4.1.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/utils/qemurunner: Fix missing pid file tracebacks
Richard Purdie [Tue, 14 Jul 2020 20:40:40 +0000 (21:40 +0100)]
oeqa/utils/qemurunner: Fix missing pid file tracebacks

One element of the error message guarded against None as a value
but I missed the other, fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: upgrade 2020.04 -> 2020.07
Pierre-Jean Texier [Mon, 6 Jul 2020 20:35:35 +0000 (22:35 +0200)]
u-boot: upgrade 2020.04 -> 2020.07

See https://lists.denx.de/pipermail/u-boot/2020-July/418797.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemurunner: Add extra debug info when qemu fails to start
Richard Purdie [Fri, 10 Jul 2020 09:00:58 +0000 (10:00 +0100)]
qemurunner: Add extra debug info when qemu fails to start

When qemu fails to start we're struggling to work out why. Add more debug
info which can at least confirm/rule out various things.

This code is only on the error handling path and more info shoudl help
us debug issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemurunner: Ensure pid location is deterministic
Richard Purdie [Fri, 10 Jul 2020 08:53:39 +0000 (09:53 +0100)]
qemurunner: Ensure pid location is deterministic

The pid location could vary due to changes in cwd as only a filename
is specified, not a full path. This in theory could be resulting in
some of our autobuilder failures. Whilst its difficult to know if this
is causing a problem, Using a full path removes any question of such an
issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoalsa-lib: upgrade 1.2.3.1 -> 1.2.3.2
Tanu Kaskinen [Sun, 12 Jul 2020 04:08:24 +0000 (07:08 +0300)]
alsa-lib: upgrade 1.2.3.1 -> 1.2.3.2

Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.3.1_v1.2.3.2

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodpkg: change SRC_URI to take dpkg from git
Changqing Li [Fri, 10 Jul 2020 09:21:07 +0000 (17:21 +0800)]
dpkg: change SRC_URI to take dpkg from git

tar.xz on original URL have been removed, switch to use git

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/lib/recipetool/create.py: fix regex strings
Tim Orling [Sat, 11 Jul 2020 03:48:08 +0000 (20:48 -0700)]
scripts/lib/recipetool/create.py: fix regex strings

Python now expects regex strings to be prepended with r.
Silence pylint/autopep8 and similar warnings by identifying
these regex patterns as... regex patterns.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND
Tim Orling [Sat, 11 Jul 2020 03:48:07 +0000 (20:48 -0700)]
lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND

If you try to create a plugin for recipetool that
adds the AUTHOR field, it is impossible to put it
in the recommended position [1] without adding to the
recipe_progression variable.

While we are at it, also add BBCLASSEXTEND at the
end, as also recommended by [1].

[1] http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonfs-utils: use rpcgen tool from HOSTTOOLS_DIR
Taras Kondratiuk [Fri, 10 Jul 2020 17:41:16 +0000 (10:41 -0700)]
nfs-utils: use rpcgen tool from HOSTTOOLS_DIR

nfs-utils configure searches for rpcgen tool only in default locations:
"/usr/local/bin/rpcgen /usr/bin/rpcgen /bin/rpcgen".
On some of our build machines the rpcgen is not present there and
configure fails:
| configure: error: Please install rpcgen or use --with-rpcgen

HOSTTOOLS_DIR already contains a correct pointer to host rpcgen tool, so
use it from there.

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGS
Douglas [Fri, 10 Jul 2020 05:56:20 +0000 (17:56 +1200)]
nativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGS

... which default to the BUILDSDK_CFLAGS in any case.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonativesdk: clear MACHINE_FEATURES
Douglas [Fri, 10 Jul 2020 06:36:39 +0000 (18:36 +1200)]
nativesdk: clear MACHINE_FEATURES

Further to 96c20c9df7:
Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: move ibt-misc to the end of ibt packages
Yongxin Liu [Fri, 10 Jul 2020 08:39:22 +0000 (16:39 +0800)]
linux-firmware: move ibt-misc to the end of ibt packages

After commit 3ca1d3fa1d ("linux-firmware: fix the wrong file
path for ibt-misc"), if we don't change the location of ibt-misc
in PACKAGES, ibt-misc will include all ibt files and make other
individual ibt package empty.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo-dep: Fix build on riscv64
Khem Raj [Thu, 9 Jul 2020 20:24:35 +0000 (13:24 -0700)]
go-dep: Fix build on riscv64

Bring in only patch from meta-riscv here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocml1: Move find_cfgs() helper to cml1.bbclass
Rasmus Villemoes [Thu, 9 Jul 2020 20:19:53 +0000 (22:19 +0200)]
cml1: Move find_cfgs() helper to cml1.bbclass

u-boot.inc and busybox.inc contain identical copies of this little
helper. They both inherit the cml1 class and use cml1_do_configure
right after having used this helper, and other recipes that want to
write similar logic for doing Kconfig via fragments will also need it
or something equivalent.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoptest: append to FILES
Konrad Weihmann [Wed, 8 Jul 2020 18:44:09 +0000 (20:44 +0200)]
ptest: append to FILES

as ptest FILES could be determined before or after the classes was
inherited, if is much safer to append to the setting of
FILES_${PN}-ptest

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoigt-gpu-tools: Add PACKAGECONFIG for Chamelium support
Arthur She [Thu, 9 Jul 2020 02:13:28 +0000 (19:13 -0700)]
igt-gpu-tools: Add PACKAGECONFIG for Chamelium support

Chamelium is a hardware device that can be used for external display
test automation [1].
It is disabled by default and can be turned on through PACKAGECONFIG.

[1] https://www.chromium.org/chromium-os/testing/chamelium

Signed-off-by: Arthur She <arthur.she@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: Disbale CGO for riscv64
Khem Raj [Thu, 9 Jul 2020 19:57:29 +0000 (12:57 -0700)]
go: Disbale CGO for riscv64

cgo is still not available in go for riscv64, we will re-evaluate it
once we upgrade to 1.15

Fixes
| /usr/src/debug/go-runtime/1.14.4-r0/go/src/runtime/cgo/gcc_util.c:23: undefined reference to `_cgo_sys_thread_start'

[YOCTO #13966]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: fix condition to allow use of *.cfg
Charlie Davies [Thu, 9 Jul 2020 19:22:08 +0000 (20:22 +0100)]
u-boot: fix condition to allow use of *.cfg

U-boot recipe supports .cfg files in SRC_URI, but bug in conditional
statement meant that the code was unreachable and the .cfg files
were never applied.

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: define a profile directory path
Mingli Yu [Thu, 9 Jul 2020 08:48:17 +0000 (16:48 +0800)]
python3: define a profile directory path

After ccache upgrade to 3.7.10, there comes below error when
enable ccache to build python3 and check [1] and [2] for more
details.
 | Python-3.8.3/Modules/_contextvarsmodule.c:43:1: error: source locations for function 'PyInit__contextvars' have changed, the profile data may be out of date [-Werror=coverage-mismatch]

That's because the logic for profile directory changes a little in
[3] after ccache upgrades to 3.7.10.

So define a profile directory path accordingly to fix the above error.

[1] https://github.com/ccache/ccache/issues/615
[2] https://lists.openembedded.org/g/openembedded-core/topic/75170448#140065
[3] https://github.com/ccache/ccache/commit/91a2954eb47b4a106e2be6cf611917b895108e35

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoserf: extend for nativesdk
Jens Rehsack [Thu, 9 Jul 2020 05:19:24 +0000 (07:19 +0200)]
serf: extend for nativesdk

As an unconditionally dependency of subversion, extend serf recipe for
building a nativesdk variant being usable by nativesdk-subversion.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosubversion: extend for nativesdk
Jens Rehsack [Thu, 9 Jul 2020 05:19:23 +0000 (07:19 +0200)]
subversion: extend for nativesdk

For SDK environments where people still use subversion, let it easily being
added to buildtools-tarball to invite more developers relying on Yocto
based SDKs without much requirement to setup anything on the development
workplace.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest/sstatetests: Avoid polluting DL_DIR
Richard Purdie [Wed, 8 Jul 2020 21:01:34 +0000 (22:01 +0100)]
oeqa/selftest/sstatetests: Avoid polluting DL_DIR

Every selftest run is currently polluting the autobuilder DL_DIR. Avoid
this by using a temporary directory for the test which is cleaned up.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: Set license for library sub packages
Christian Eggers [Wed, 8 Jul 2020 13:05:49 +0000 (15:05 +0200)]
util-linux: Set license for library sub packages

- libblkid is exclusively licensed under LGPL-2.1+ (libblkid/COPYING)
- libfdisk is exclusively licensed under LGPL-2.1+ (libfdisk/COPYING)
- libmount is exclusively licensed under LGPL-2.1+ (libmount/COPYING)
- libsmartcols is exclusively licensed under LGPL-2.1+
(libsmartcols/COPYING)
- libuuid is exclusively licensed under BSD-3-Clause (libuuid/COPYING)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoavahi: Fix typo in recipe
Christian Eggers [Wed, 8 Jul 2020 10:34:27 +0000 (12:34 +0200)]
avahi: Fix typo in recipe

According to the PACKAGES variable, LICENSE_avahi-client is misspelled.
Additionally, the libavahi-client package actually only includes
LGPLv2.1+ software (as opposed to the global LICENSE variable).

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobison: fix Argument list too long error
Lee Chee Yang [Mon, 11 May 2020 10:57:02 +0000 (18:57 +0800)]
bison: fix Argument list too long error

fix Argument list too long error when len(TMPDIR) = 410

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.
zhengruoqin [Wed, 8 Jul 2020 06:14:24 +0000 (14:14 +0800)]
gnutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.

This was discussed and accepted upstream by the project so their license is consistent.
Please reference to https://gitlab.com/gnutls/gnutls/-/issues/1018
and https://gitlab.com/gnutls/gnutls/-/merge_requests/1285.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: fix the wrong file path for ibt-misc
Yongxin Liu [Wed, 8 Jul 2020 04:05:32 +0000 (12:05 +0800)]
linux-firmware: fix the wrong file path for ibt-misc

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibvorbis: upgrade 1.3.6 -> 1.3.7
Wang Mingyu [Wed, 8 Jul 2020 08:52:39 +0000 (16:52 +0800)]
libvorbis: upgrade 1.3.6 -> 1.3.7

CVE-2017-14160.patch
CVE-2018-10392.patch
removed since they are included in 1.3.7

-License-Update: Copyright year updated to 2020.

license text: URL of Xiph.Org Foundation changed to https://xiph.org/

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: upgrade 2.64.3 -> 2.64.4
Wang Mingyu [Wed, 8 Jul 2020 08:52:38 +0000 (16:52 +0800)]
glib-2.0: upgrade 2.64.3 -> 2.64.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofribidi: upgrade 1.0.9 -> 1.0.10
Wang Mingyu [Wed, 8 Jul 2020 08:52:37 +0000 (16:52 +0800)]
fribidi: upgrade 1.0.9 -> 1.0.10

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>