]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
4 years agodbus: upgrade 1.12.18 -> 1.12.20
Wang Mingyu [Wed, 8 Jul 2020 08:52:36 +0000 (16:52 +0800)]
dbus: upgrade 1.12.18 -> 1.12.20

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane: consolidate skipping of temporary do_package files
Ross Burton [Tue, 7 Jul 2020 20:37:42 +0000 (21:37 +0100)]
insane: consolidate skipping of temporary do_package files

During the course of do_package_rpm and friends the tools create a
top-level CONTROL or DEBIAN directory in the package directory.
do_package_qa needs to be aware of these files and ignore them, this was
previously done in just one check but instead should be done once when
building the file list so all the checks don't see the temporary files.

[ YOCTO #13804 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibnl: Extend for native/nativesdk
Christian Eggers [Mon, 22 Jun 2020 12:53:58 +0000 (14:53 +0200)]
libnl: Extend for native/nativesdk

libnl is required by networkmanager.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoadwaita-icon-theme: Add missing license files to LIC_FILES_CHKSUM
Richard Purdie [Tue, 7 Jul 2020 13:13:18 +0000 (14:13 +0100)]
adwaita-icon-theme: Add missing license files to LIC_FILES_CHKSUM

The sources have a couple of COPYING files which should be listed
in the license checksum entry so the full license terms are included
in license handling code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospdx: Remove the class as its obsolete
Richard Purdie [Tue, 7 Jul 2020 13:05:26 +0000 (14:05 +0100)]
spdx: Remove the class as its obsolete

The project is a strong supporter of SPDX but this class is old code using
a dated approach which now misleads people. Remove it.

The meta-sdpxscanner layer is a much more modern and active approach to
handling this and we should be pointing people there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevtool: default to empty string, if LIC_FILES_CHKSUM is not available
Bjarne Michelsen [Mon, 6 Jul 2020 19:42:26 +0000 (21:42 +0200)]
devtool: default to empty string, if LIC_FILES_CHKSUM is not available

[Bug 13971] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13971

A recipe using LICENSE=CLOSED would normally not have LIC_FILES_CHKSUM
set.
If LIC_FILES_CHKSUM was not set, it would cause `devtool upgrade` to fail.

This fixes the issue by defaulting to an empty string if
LIC_FILES_CHKSUM is not found.

[YOCTO #13971]

Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssl: move ${libdir}/[...]/openssl.cnf to ${PN}-conf
Hannu Lounento [Tue, 7 Jul 2020 11:05:46 +0000 (14:05 +0300)]
openssl: move ${libdir}/[...]/openssl.cnf to ${PN}-conf

Some openssl command line operations like creating an X.509 CSR require
the file /usr/lib/ssl-1.1/openssl.cnf to exist and fail if it doesn't

    root@qemux86-64:~# openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key
    Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
    140289168594176:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1g/crypto/bio/bss_file.c:69:fopen('/usr/lib/ssl-1.1/openssl.cnf','r')
    140289168594176:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1g/crypto/bio/bss_file.c:76:

which is the case e.g. in core-image-minimal with just the
package openssl-bin added to the image by declaring

    IMAGE_INSTALL_append = " openssl-bin"

e.g. in local.conf.

The file did not exist in the aforementioned image / configuration
because it was packaged to the main openssl package

    FILES_${PN} =+ "${libdir}/ssl-1.1/*"

(there is no other FILES specification that would match the file either)
and

    path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-1.1.1g-r0.core2_64.rpm
    [...]
    /usr/lib/ssl-1.1/openssl.cnf
    [...]

Hence move /usr/lib/ssl-1.1/openssl.cnf (and openssl.cnf.dist as it
seems closely related) to the ${PN}-conf package to have it installed
with ${PN}-bin, which already (indirectly) depends on ${PN}-conf.

Note that the openssl recipe has the comment

    Add the openssl.cnf file to the openssl-conf package. Make the libcrypto
    package RRECOMMENDS on this package. This will enable the configuration
    file to be installed for both the openssl-bin package and the libcrypto
    package since the openssl-bin package depends on the libcrypto package.

but openssl-conf only contained /etc/ssl/openssl.cnf

    path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-conf-1.1.1g-r0.core2_64.rpm
    /etc
    /etc/ssl
    /etc/ssl/openssl.cnf

/usr/lib/ssl-1.1/openssl.cnf is actually only a symlink that points to
../../../etc/ssl/openssl.cnf.

Other files and directories in /usr/lib/ssl-1.1/ were considered as well
because they seem to be configuration files and / or related to
(symlinks pointing to) /etc. They were not moved though, because based
on our use case and testing moving the openssl.cnf symlink is sufficient
for fixing the immediate problem and we lack knowledge about the other
files in order to make a decision to change their packaging.

Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel.bbclass: make dependency on lzop-native conditional
Timon Ulrich [Tue, 7 Jul 2020 09:25:11 +0000 (11:25 +0200)]
kernel.bbclass: make dependency on lzop-native conditional

a native lzop is only needed when an lzo compressed initramfs is actually present

Signed-off-by: Timon Ulrich <t.ulrich@anapur.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocoreutils: don't split stdbuf to own package with single-binary
Rasmus Villemoes [Mon, 6 Jul 2020 08:17:39 +0000 (10:17 +0200)]
coreutils: don't split stdbuf to own package with single-binary

Commit 992cec44 (coreutils: Move stdbuf into an own package
coreutils-stdbuf) breaks package-qa when the single-binary
PACKAGECONFIG is used:

ERROR: coreutils-8.32-r0 do_package_qa: QA Issue: /usr/bin/stdbuf contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps]
ERROR: coreutils-8.32-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script"
containing the single line

  #!/usr/bin/coreutils --coreutils-prog-shebang=stdbuf

Since there's no point splitting stdbuf to its own package when all
the functionality is in the single big coreutils binary anyway, fix
this by not creating the separate stdbuf package for the single-binary
case. But also make sure that the coreutils-stdbuf item always exists
so recipes can always RDEPEND on coreutils-stdbuf.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobzip2: Add test suite for bzip2
Rahul Kumar [Thu, 25 Jun 2020 13:11:27 +0000 (18:41 +0530)]
bzip2: Add test suite for bzip2

Source: git://sourceware.org/git/bzip2-tests.git
Type: Enhancement
Description:
bzip2 now has a test suite available at git://sourceware.org/git/bzip2-tests.git.

This is a collection of "interesting" .bz2 files that can be used to
test bzip2 works correctly. They come from different projects.

Some files are deliberately bad, and are use to see how bzip2 handles
corrupt files. They are explicitly not intended to decompress correctly,
but to catch errors in bzip2 trying to deal with deliberately bad data.
All such files have a name ending in .bz2.bad.

All non-bad files end in bz2. And should come with a .md5 file for
the original input file. The .md5 file is used to check that bzip2
could correctly decompress the file. The original (non-compressed)
files are deliberately not checked in.

It will by default test with the command 'bzip2', running under
valgrind (if installed on the system).

For each .bz2 file found it is decompressed, recompressed and
decompressed again. Once with the default bzip2 settings and
once in --small (-s) mode.

For each .bz2.bad file decompression is tried twice also. In
default mode and small mode. The bzip2 binary is expected to
return either 1 or 2 as exit status. Any other exit code is
interpreted as failure.

License:
   In bzip2-tests source code Each directory should contain a README
   file explaining where the .bz2 files originally came from.
   Plus a reference to the (Free Software) license that the project
   files were distributed under.

Test Summery:
   On qemux86-64/kvm the ptest results with extra filesystem space (atleast 114688) are:

TOTAL:      396
PASS:       396
SKIP:       0
XFAIL:      0
FAIL:       0
XPASS:      0
ERROR:      0

All tests passed
DURATION: 517

[YOCTO #13444]

Signed-off-by: Rahul Kumar <rahulk@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: bump devupstream to v2.12.1+
Bruce Ashfield [Mon, 6 Jul 2020 18:47:51 +0000 (14:47 -0400)]
lttng-modules: bump devupstream to v2.12.1+

To build against the v5.8-rc kernels, we need to pickup the latest
lttng-modules commits.

Bumping the devupstream version and SRCREV to do just that.  Validated
against v5.8-rc4.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto-dev: bump to 5.8-rc
Bruce Ashfield [Mon, 6 Jul 2020 16:27:05 +0000 (12:27 -0400)]
linux-yocto-dev: bump to 5.8-rc

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.50
Bruce Ashfield [Mon, 6 Jul 2020 16:27:04 +0000 (12:27 -0400)]
linux-yocto/5.4: update to v5.4.50

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

    e75220890bf6 Linux 5.4.50
    a160afebd779 Revert "tty: hvc: Fix data abort due to race in hvc_open"
    ffd40b7962d4 xfs: add agf freeblocks verify in xfs_agf_verify
    cc66553004f4 dm writecache: add cond_resched to loop in persistent_memory_claim()
    a51e71cbf6e6 dm writecache: correct uncommitted_block when discarding uncommitted entry
    de1d70dad6f2 xprtrdma: Fix handling of RDMA_ERROR replies
    4d35ca872ac3 NFSv4 fix CLOSE not waiting for direct IO compeletion
    02917bef8f1b pNFS/flexfiles: Fix list corruption if the mirror count changes
    7b99577ff376 SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
    c27d205baa82 sunrpc: fixed rollback in rpc_gssd_dummy_populate()
    60bdb51d44fa Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
    c6f88afa6ae1 drm/amdgpu: add fw release for sdma v5_0
    05124abe1fb0 drm/radeon: fix fb_div check in ni_init_smc_spll_table()
    834a3aa2ceb4 drm: rcar-du: Fix build error
    176a3c488476 drm/amd: fix potential memleak in err branch
    0b3cc973f16f ring-buffer: Zero out time extend if it is nested and not absolute
    9a59a88b3d31 tracing: Fix event trigger to accept redundant spaces
    c036eb65fdfc arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range
    90bd9c611f21 arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
    73f79b420bd0 arm64: perf: Report the PC value in REGS_ABI_32 mode
    7a9e3e25a9d2 mm/memcontrol.c: add missed css_put()
    ff6aff13a8cf ocfs2: fix panic on nfs server over ocfs2
    a8d82ebaee97 ocfs2: fix value of OCFS2_INVALID_SLOT
    4685df862c8b ocfs2: load global_inode_alloc
    7fa716a594a6 ocfs2: avoid inode removal while nfsd is accessing it
    fbca1aee1397 mm/slab: use memzero_explicit() in kzfree()
    a79c3a99ac81 btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof
    863a197f7f10 btrfs: check if a log root exists before locking the log_mutex on unlink
    53a081661047 btrfs: fix data block group relocation failure due to concurrent scrub
    0a4dfc69ea7e btrfs: fix bytes_may_use underflow when running balance and scrub in parallel
    df13086490db x86/asm/64: Align start of __clear_user() loop to 16-bytes
    3ceaf206b706 x86/cpu: Use pinning mask for CR4 bits needing to be 0
    96a80133559f KVM: VMX: Stop context switching MSR_IA32_UMWAIT_CONTROL
    8ccc6ac51eac KVM: nVMX: Plumb L2 GPA through to PML emulation
    5774f9fa563b KVM: X86: Fix MSR range of APIC registers in X2APIC mode
    0236040fcf97 erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup
    824d0b6225f3 ACPI: configfs: Disallow loading ACPI tables when locked down
    3c4f9a5541bb ACPI: sysfs: Fix pm_profile_attr type
    6ee4d61403d2 ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems
    1a1bc3ae6935 ALSA: hda/realtek - Add quirk for MSI GE63 laptop
    0211e0d7f185 ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table
    f06a6294e113 RISC-V: Don't allow write+exec only page mapping request in mmap
    26b0956cb374 block: update hctx map when use multiple maps
    72647ea37700 blktrace: break out of blktrace setup on concurrent calls
    d14eb5d8f0f4 kprobes: Suppress the suspicious RCU warning on kprobes
    8ed391a3dbc4 recordmcount: support >64k sections
    803d114e8f19 kbuild: improve cc-option to clean up all temporary files
    cbed4eb0a92f arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n
    a9a3b33b20aa s390/vdso: fix vDSO clock_getres()
    68a3cbc44660 s390/vdso: Use $(LD) instead of $(CC) to link vDSO
    7c17909a889d s390/ptrace: fix setting syscall number
    64f7b10a91a4 s390/ptrace: pass invalid syscall numbers to tracing
    453cfe187723 pinctrl: tegra: Use noirq suspend/resume callbacks
    7851257375ae pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage
    8dba9173a37a test_objagg: Fix potential memory leak in error handling
    6fd916e24935 net: alx: fix race condition in alx_remove
    855dbf10c9a7 ibmvnic: Harden device login requests
    07b8b2d46371 hwrng: ks-sa - Fix runtime PM imbalance on error
    b8403f7e45e5 riscv/atomic: Fix sign extension for RV64I
    81616542adcc drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()
    f7f181582f1b ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
    4dfc238a2441 sata_rcar: handle pm_runtime_get_sync failure cases
    83bdf7f8b712 sched/core: Fix PI boosting between RT and DEADLINE tasks
    3dc7138943b1 sched/deadline: Initialize ->dl_boosted
    bfd4981fe3d6 afs: Fix storage of cell names
    5cee9e67596f i2c: core: check returned size of emulated smbus block read
    4a6e6413059e i2c: fsi: Fix the port number field in status register
    0935afc39797 clk: sifive: allocate sufficient memory for struct __prci_data
    b78bae5ab399 net: bcmgenet: use hardware padding of runt frames
    ae6d80f62c73 netfilter: ipset: fix unaligned atomic access
    8d93603bf60c nvme: don't protect ns mutation with ns->head->lock
    f9dc5e708ab8 usb: renesas_usbhs: getting residue from callback_result
    56ee0ed97df5 usb: gadget: udc: Potential Oops in error handling code
    a3a86515d017 scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
    1e812023f478 ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
    61f488765dff cxgb4: move handling L2T ARP failures to caller
    065f225ef975 net: qede: fix use-after-free on recovery and AER handling
    f490e70fa7eb net: qede: fix PTP initialization on recovery
    7180c8fc4a03 net: qed: fix excessive QM ILT lines consumption
    32cf4ff4ec52 net: qed: fix NVMe login fails over VFs
    d0717a95a06b net: qede: stop adding events on an already destroyed workqueue
    164d9a15652f net: qed: fix async event callbacks unregistering
    5cf7f0c68405 net: qed: fix left elements count calculation
    33104571648b iommu/vt-d: Update scalable mode paging structure coherency
    ede796e5ac87 iommu/vt-d: Enable PCI ACS for platform opt in hint
    67db9e032b6e selftests/net: report etf errors correctly
    34f45567462d RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
    d3edf648f398 s390/qeth: fix error handling for isolation mode cmds
    9e89c2d5da87 ASoC: rockchip: Fix a reference count leak.
    4aeb21584e55 RDMA/cma: Protect bind_list and listen_list while finding matching cm id
    f0078dc6750f RDMA/qedr: Fix KASAN: use-after-free in ucma_event_handler+0x532
    66143ecb9e3c RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq
    d6fb7f457456 rxrpc: Fix handling of rwind from an ACK packet
    73cff44e66e3 ARM: dts: NSP: Correct FA2 mailbox node
    f1ee7d3a2c1a bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZE
    0f3aa6c6d6ad devmap: Use bpf_map_area_alloc() for allocating hash buckets
    b93df0f6d7cd regmap: Fix memory leak from regmap_register_patch
    5f6b834e110b x86/resctrl: Fix a NULL vs IS_ERR() static checker warning in rdt_cdp_peer_get()
    99ab61cc8b75 ARM: dts: Fix duovero smsc interrupt for suspend
    07f7c547698b ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect
    d909f9db0caa bpf, xdp, samples: Fix null pointer dereference in *_user code
    0608288c6caa samples/bpf: xdp_redirect_cpu: Set MAX_CPUS according to NR_CPUS
    b59ed5668c4e ASoC: fsl_ssi: Fix bclk calculation for mono channel
    3947dd237ef5 RDMA/siw: Fix pointer-to-int-cast warning in siw_rx_pbl()
    34f105349369 regualtor: pfuze100: correct sw1a/sw2 on pfuze3000
    1fa27418054f ASoC: qcom: common: set correct directions for dailinks
    47c7ae0ca9d7 ASoc: q6afe: add support to get port direction
    92444a57e365 efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
    8c236ac4376a efi/tpm: Verify event log header before parsing
    e50cf858d118 ASoC: q6asm: handle EOS correctly
    41b2debf35ef xfrm: Fix double ESP trailer insertion in IPsec crypto offload.
    475a7b09b4bb ARM: OMAP2+: Fix legacy mode dss_reset
    527ddb339d6b bus: ti-sysc: Ignore clockactivity unless specified as a quirk
    1f5197a5ad97 bus: ti-sysc: Flush posted write on enable and disable
    21d511c6c9c2 IB/hfi1: Fix module use count flaw due to leftover module put calls
    2a4c0bf5c70e IB/mad: Fix use after free when destroying MAD agent
    588ad2b29ea3 loop: replace kill_bdev with invalidate_bdev
    d9a74e455070 cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
    d6522bc320d7 xhci: Return if xHCI doesn't support LPM
    14d46386226e xhci: Fix enumeration issue when setting max packet size for FS devices.
    c09be4f57956 xhci: Fix incorrect EP_STATE_MASK
    e615f58fa86c cifs/smb3: Fix data inconsistent when zero file range
    bd2f2ac0ab96 cifs/smb3: Fix data inconsistent when punch hole
    572a11131ad3 cifs: Fix cached_fid refcnt leak in open_shroot
    1f551a056b30 scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action
    d3a251b84797 scsi: qla2xxx: Keep initiator ports after RSCN
    be8df027079b usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
    a0668653be26 usb: cdns3: ep0: fix the test mode set incorrectly
    79175ae5f996 usb: cdns3: trace: using correct dir value
    25e1bb1e6c36 ALSA: usb-audio: Fix OOB access of mixer element list
    1cc2d29710c2 ALSA: usb-audio: add quirk for Samsung USBC Headset (AKG)
    0c4ff206043e ALSA: usb-audio: add quirk for Denon DCD-1500RE
    74a7ad9d975c ALSA: usb-audio: Add implicit feedback quirk for SSL2+.
    895ec8c86e13 usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs
    fe2daefad98a usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
    c1e71a51c2f5 xhci: Poll for U0 after disabling USB2 LPM
    9d814bd14cff usb: host: xhci-mtk: avoid runtime suspend when removing hcd
    9200037a6ab6 USB: ehci: reopen solution for Synopsys HC bug
    ffeb58a0daf0 usb: add USB_QUIRK_DELAY_INIT for Logitech C922
    6b3eb8af48cb usb: dwc2: Postponed gadget registration to the udc class driver
    195c1d1dd8cf USB: ohci-sm501: Add missed iounmap() in remove
    2274a7421e73 binder: fix null deref of proc->context
    3621616af99b ALSA: usb-audio: Fix potential use-after-free of streams
    335add4ac891 fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
    32e5a15f1084 net: sched: export __netdev_watchdog_up()
    9d3d40ec7dee btrfs: fix a block group ref counter leak after failure to remove block group
    8ae850cddf27 Revert "i2c: tegra: Fix suspending in active runtime PM state"
    052a7fdd86fb tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
    942315134313 sch_cake: fix a few style nits
    b1aa7e5fa163 sch_cake: don't call diffserv parsing code when it is not needed
    ea2628dd586d sch_cake: don't try to reallocate or unshare skb unconditionally
    3c6208267218 ip_tunnel: fix use-after-free in ip_tunnel_lookup()
    9baf076d797f net: phy: Check harder for errors in get_phy_id()
    568c5aaf6c2d ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
    35db638692db tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
    fe3a5d8fc372 tcp: grow window for OOO packets only for SACK flows
    cb22ce3346f2 tcp: don't ignore ECN CWR on pure ACK
    dc43f7e807a8 sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
    fea864489c90 rxrpc: Fix notification call on completion of discarded calls
    6956830cf981 rocker: fix incorrect error handling in dma_rings_init
    a908f986ddf7 openvswitch: take into account de-fragmentation/gso_size in execute_check_pkt_len
    27b70214fc69 net: usb: ax88179_178a: fix packet alignment padding
    67571b1ab296 net: increment xmit_recursion level in dev_direct_xmit()
    97a1d2aa6cdd net: Fix the arp error in some cases
    742f2358b324 net: fix memleak in register_netdevice()
    9e693934cd59 net: Do not clear the sock TX queue in sk_set_socket()
    9f217d6dd796 net: core: reduce recursion limit value
    f32325b100ea net: bridge: enfore alignment for ethernet address
    57a976e676e1 mvpp2: ethtool rxtx stats fix
    fa0d7e09da1d mld: fix memory leak in ipv6_mc_destroy_dev()
    009b3e294a90 ibmveth: Fix max MTU limit
    f060107ccc97 geneve: allow changing DF behavior after creation
    ce06fcb6a66d enetc: Fix tx rings bitmap iteration range, irq handling
    b90ca32531bf block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk+3: fix reproducible build failure
Ross Burton [Mon, 6 Jul 2020 11:57:07 +0000 (12:57 +0100)]
gtk+3: fix reproducible build failure

There's a build race between the use of a pre-generated file and
re-generating it again, which breaks reproducible builds.  Solve the
race by deleting the shipped generated file.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk+3: upgrade 3.24.20 -> 3.24.21
Wang Mingyu [Wed, 1 Jul 2020 07:01:47 +0000 (15:01 +0800)]
gtk+3: upgrade 3.24.20 -> 3.24.21

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/core/loader: fix regex to include numbers
Vacek, Patrick [Mon, 6 Jul 2020 10:34:46 +0000 (10:34 +0000)]
oeqa/core/loader: fix regex to include numbers

The previous version only included the numbers 1 and 2 in the allowed characters
for the module name. In the past, this was (\w+) so all numbers were allowed.
Now it explicitly includes all numbers again.

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: fix whitespace issues
Konrad Weihmann [Sun, 5 Jul 2020 19:55:20 +0000 (21:55 +0200)]
bitbake.conf: fix whitespace issues

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: remove kernel-install from base pkg
Konrad Weihmann [Sun, 5 Jul 2020 18:28:07 +0000 (20:28 +0200)]
systemd: remove kernel-install from base pkg

as this is already packaged in kernel-install package,
it shouldn't be part of the base package

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobaremetal-helloworld: Use baremetal-image class to deploy the application
Alejandro Hernandez [Mon, 6 Jul 2020 06:50:37 +0000 (23:50 -0700)]
baremetal-helloworld: Use baremetal-image class to deploy the application

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobaremetal-image.bbclass: Create a class for baremetal applications or an RTOS
Alejandro Hernandez [Mon, 6 Jul 2020 06:50:21 +0000 (23:50 -0700)]
baremetal-image.bbclass: Create a class for baremetal applications or an RTOS

Baremetal applications or an RTOS built with OpenEmbedded can share the same
code to be built as an image, tested and packaged in case they can be updated
as a firmware blob from Linux.

This class creates the proper wiring to mimic OE Linux image creation and
testing infrastructure, inheriting it makes the process of creating a baremetal
application transparent to the developer deploying it automatically along with
its required bits to be run and tested.

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel.bbclass: add gzip-native to do_deploy dependencies
Matt Madison [Sun, 5 Jul 2020 13:44:32 +0000 (06:44 -0700)]
kernel.bbclass: add gzip-native to do_deploy dependencies

When a modules tarball is created during kernel_do_deploy,
the tarball is compressed using gzip, but gzip-native is not
a dependency so the build host's gzip is being used for this.

Using gzip-native will, by default, use pigz instead of
single-threaded gzip, making this task less of a bottleneck
for builds with a large modules package.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel/yocto: fix search for defconfig from src_uri
Andrey Zhizhikin [Wed, 1 Jul 2020 14:58:25 +0000 (14:58 +0000)]
kernel/yocto: fix search for defconfig from src_uri

Fetcher provides full paths to defconfig and scc files, which awk
comparison operator does not catch during construction of
src_uri_defconfig and sccs_from_src_uri lists. This causes the
src_uri_defconfig variable to come out empty, and fails further
validation if defconfig is only supplied via SRC_URI.

Replace comparison operator with awk match function which searches for
sub-string during filtering, effectively placing defconfig from SRC_URI
into src_uri_defconfig and scc files in sccs_from_src_uri respectively.

Fixes: 23dcff0d396c (kernel/yocto: ensure that defconfigs are processed first)
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>