summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bison: fix Argument list too long errorLee Chee Yang2020-07-121-1/+1
| | | | | | | | | fix Argument list too long error when len(TMPDIR) = 410 (From OE-Core rev: 73f05ba58dcee57e25712f9aee97535d9a32c982) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.zhengruoqin2020-07-122-0/+91
| | | | | | | | | | | 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. (From OE-Core rev: 267d07301c79c24969c169add05284f612c41d77) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: fix the wrong file path for ibt-miscYongxin Liu2020-07-121-1/+1
| | | | | | | (From OE-Core rev: 7c1470ea6e337dc1d1e320d33267f06584e9752d) Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libvorbis: upgrade 1.3.6 -> 1.3.7Wang Mingyu2020-07-123-74/+4
| | | | | | | | | | | | | | | 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/ (From OE-Core rev: 75f97f7f8a9a8b4c029f9fbfe1d1c3a43f6ebb4b) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.64.3 -> 2.64.4Wang Mingyu2020-07-121-2/+2
| | | | | | | (From OE-Core rev: 42a809829c434460f6f838d5c56ef93a14eeef0c) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fribidi: upgrade 1.0.9 -> 1.0.10Wang Mingyu2020-07-121-2/+2
| | | | | | | (From OE-Core rev: e2c1c7ac343137f9679a33a455d08f1849b5f4f6) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade 1.12.18 -> 1.12.20Wang Mingyu2020-07-123-2/+2
| | | | | | | (From OE-Core rev: bfaef91e77cd54e4f642e966903aac3f3291c325) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: consolidate skipping of temporary do_package filesRoss Burton2020-07-121-5/+8
| | | | | | | | | | | | | | | 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 ] (From OE-Core rev: 4b2f45c47a5c8c800626f12c14f216a5ab923512) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: pyshyacc: allow double COMMA statementsKonrad Weihmann2020-07-121-0/+1
| | | | | | | | | | this allows shell statements like '; ;' to pass the parser. As it may be bad code but still valid enough to execute (Bitbake rev: b7732b1b5085bea73e17d112e1bd9ac3d4dc34fb) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Change git fetcher not to destroy old referencesRichard Purdie2020-07-121-1/+1
| | | | | | | | | | | | | | | | It looks like we're about to see a lot of changes in branch names in repos. If we have the prune option here, those old names are lost, the changes propagate to our source mirrors and our old releases break. We have the force option so any replaced references should be replaced, its only orphaned branches which will now be preserved. I believe this behaviour will cause us fewer problems given the changes that look likely to happen. (Bitbake rev: 820ab886e79eea516560c0c008e4cf059c6e11a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: server/process: Increase timeout for commandsRichard Purdie2020-07-081-1/+3
| | | | | | | | | | We're running into this timeout on loaded autobuilders in situations where things should otherwise succeed. Log a note in these cases and continue to try for longer. (Bitbake rev: e567743e70f426786ae54dcb5ab550748d9266e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: ui/teamcity: don't use removed logging classesChris Laplante2020-07-081-2/+0
| | | | | | | | | Allows the TeamCity frontend to be used again. (Bitbake rev: c5477ba79fcad4a887808dd0df9cfe3554e2c17a) Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: contrib/vim: synchronize from kergoth/vim-bitbake rev ↵Chris Laplante2020-07-086-17/+96
| | | | | | | | | 4225ee8b4818d7e4696520567216a3a031c26f7d (Bitbake rev: 24fb1f2fee449589b0c5468cbdebe9a6ffaac932) Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl: Extend for native/nativesdkChristian Eggers2020-07-081-0/+2
| | | | | | | | | libnl is required by networkmanager. (From OE-Core rev: b3c96103a5063eeefb0c537227eab3f77616b9c0) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adwaita-icon-theme: Add missing license files to LIC_FILES_CHKSUMRichard Purdie2020-07-081-1/+3
| | | | | | | | | | 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. (From OE-Core rev: 69952e24bed2629fe902d26aec32be7f6396216d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spdx: Remove the class as its obsoleteRichard Purdie2020-07-081-360/+0
| | | | | | | | | | | | 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. (From OE-Core rev: 871599bf76b3fb635efd416340803f7bf3341f7e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: default to empty string, if LIC_FILES_CHKSUM is not availableBjarne Michelsen2020-07-081-2/+2
| | | | | | | | | | | | | | | | | | [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] (From OE-Core rev: 95e112f0f465868e98285509ea0d1a624a439ac2) Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: move ${libdir}/[...]/openssl.cnf to ${PN}-confHannu Lounento2020-07-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: c1632d7041fe0c18ec61abfa79a9c025af43c033) Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: make dependency on lzop-native conditionalTimon Ulrich2020-07-081-1/+2
| | | | | | | | | a native lzop is only needed when an lzo compressed initramfs is actually present (From OE-Core rev: 1217ddf070261c5fe523729b2a833bd38f1e4ccd) Signed-off-by: Timon Ulrich <t.ulrich@anapur.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: don't split stdbuf to own package with single-binaryRasmus Villemoes2020-07-081-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 74d24b5b895198898944260136d05e991a203c11) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: Add test suite for bzip2Rahul Kumar2020-07-082-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: 968529b484265b577e8b8130caef448a8a9d8b68) Signed-off-by: Rahul Kumar <rahulk@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: bump devupstream to v2.12.1+Bruce Ashfield2020-07-081-3/+3
| | | | | | | | | | | | | 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. (From OE-Core rev: f743dfdb8f4b826bf64935720418cc30566b97ac) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: bump to 5.8-rcBruce Ashfield2020-07-081-1/+1
| | | | | | | (From OE-Core rev: ffc53701bb30d4f162934866c62014447e7b4871) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.50Bruce Ashfield2020-07-083-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 0ed1c289ceebd66f2bbfd9dfc8deae0985fbf239) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: fix reproducible build failureRoss Burton2020-07-081-0/+8
| | | | | | | | | | | 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. (From OE-Core rev: c2e0b0785b8098dbe562e88f54b679ca87626937) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: upgrade 3.24.20 -> 3.24.21Wang Mingyu2020-07-081-2/+2
| | | | | | | (From OE-Core rev: 913297d90a7719f17115bb738310f71f1ce3ee82) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/core/loader: fix regex to include numbersVacek, Patrick2020-07-081-1/+1
| | | | | | | | | | | 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. (From OE-Core rev: f241fa493536ac953c1dac303917c6e75b459e28) Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: fix whitespace issuesKonrad Weihmann2020-07-081-2/+2
| | | | | | | (From OE-Core rev: a58672fdf7e3b26b57ec31b9ba4f1eaaa7f5a53c) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove kernel-install from base pkgKonrad Weihmann2020-07-081-1/+0
| | | | | | | | | | as this is already packaged in kernel-install package, it shouldn't be part of the base package (From OE-Core rev: ed04241f30e12e7c0479026a9e354e49dfa4119c) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Use baremetal-image class to deploy the applicationAlejandro Hernandez2020-07-081-90/+19
| | | | | | | (From OE-Core rev: dd5a64feb5426ec870cf5d53ef056b24eb450487) Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-image.bbclass: Create a class for baremetal applications or an RTOSAlejandro Hernandez2020-07-081-0/+99
| | | | | | | | | | | | | | | | 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. (From OE-Core rev: 34df656e1d7070337f62c8fd9b2dc27491275416) Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: add gzip-native to do_deploy dependenciesMatt Madison2020-07-081-1/+1
| | | | | | | | | | | | | | | 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. (From OE-Core rev: 1243aad78601e9a5c0a3471c8a105c429536599d) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel/yocto: fix search for defconfig from src_uriAndrey Zhizhikin2020-07-081-2/+3
| | | | | | | | | | | | | | | | | | | 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> (From OE-Core rev: f52ce0fa98bf3bd72df7467031001f3128c145f2) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/ui/taskexp: Fix missing Gtk importDavid Khouya2020-07-071-0/+1
| | | | | | | | | | | Adding back gtk objects import. Fix bug introduce when adding validation on gtk import. (Bitbake rev: 765be5ef60668f8a1cfbcba248f4995725807196) Signed-off-by: David Khouya <dakhouya@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iso-codes: switch upstream branch master -> mainHongxu Jia2020-07-071-1/+1
| | | | | | | (From OE-Core rev: 6e16ef0c2e0ec2bbb862231cd84e7650bd5789af) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/ui/taskexp: Validate gi importDavid Khouya2020-07-061-3/+9
| | | | | | | | | | | | | When running bitbake -g -u taskexp without having gi python module or and invalid gtk version, bitbake fails with a stack trace. In case of import or version error, bitbake should exit with an error message instead of a stack trace. (Bitbake rev: 2a2c507f239b047f34765312df4168030e38b90d) Signed-off-by: David Khouya <dakhouya@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/kernel: Use a copy of image for kernel*.rpm if fs doesn't support ↵Yanfei Xu2020-07-051-3/+19
| | | | | | | | | | | | | | | symlinks Some filesystems don't support symlink, then you will get failure when you install or update the kernel rpm package. Now we use a copy of image for these filesystems instead of symlink. Suggested-by: Bruce Ashfield <bruce.ashfield@gmail.com> Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: bb946b8cdbd01408bfa0ba8e53f9e09931dfb29d) Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: add lz4 dependency and fix the call to lz4Timon Ulrich2020-07-051-1/+2
| | | | | | | | | | | | If the initramfs image is type lz4, then a native lz4 is needed. Additionally an output filename needs to be specified when calling lz4, otherwise STDOUT will be used implicitly. (From OE-Core rev: c83a7aec59defbbc049d44ba34a7a409ada4fa19) Signed-off-by: Timon Ulrich <t.ulrich@anapur.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffoscope: upgrade 148 -> 150Pierre-Jean Texier2020-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes the following changes: Version 149: * Update tests for file 5.39. (Closes: reproducible-builds/diffoscope#179) * Downgrade the tlsh warning message to an "info" level warning. (Closes: #888237, reproducible-builds/diffoscope#29) * Use the CSS "word-break" property over manually adding U+200B zero-width spaces that make copy-pasting cumbersome. (Closes: reproducible-builds/diffoscope!53) * Codebase improvements: - Drop some unused imports from the previous commit. - Prevent an unnecessary .format() when rendering difference comments. - Use a semantic "AbstractMissingType" type instead of remembering to check for both "missing" files and missing containers. * Allow user to mask/filter reader output via --diff-mask=REGEX. (MR: reproducible-builds/diffoscope!51) * Make --html-dir child pages open in new window to accommodate new web browser content security policies. * Fix the --new-file option when comparing directories by merging DirectoryContainer.compare and Container.compare. (Closes: reproducible-builds/diffoscope#180) * Fix zsh completion for --max-page-diff-block-lines. * Do not warn about missing tlsh during tests. Version 150: * Don't crash when listing entries in archives if they don't have a listed size (such as hardlinks in .ISO files). (Closes: reproducible-builds/diffoscope#188) * Dump PE32+ executables (including EFI applications) using objdump. (Closes: reproducible-builds/diffoscope#181) * Tidy detection of JSON files due to missing call to File.recognizes that checks against the output of file(1) which was also causing us to attempt to parse almost every file using json.loads. (Whoops.) * Drop accidentally-duplicated copy of the new --diff-mask tests. * Logging improvements: - Split out formatting of class names into a common method. - Clarify that we are generating presenter formats in the opening logs. * Remove objdjump(1) offsets before instructions to reduce diff noise. (Closes: reproducible-builds/diffoscope!57) (From OE-Core rev: 9ef1a0aa143c72d51ae52c0e1f7476743813f434) Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/archive: do_configure should not depend on do_ar_patchedJoshua Watt2020-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit d4be264061 ("classes/archiver: run do_unpack_and_patch after do_preconfigure") correctly moved do_unpack_and_patch to depend on do_preconfigure, but left do_ar_patched as a dependency of do_configure introduced from 8a7c779487 ("classes/archiver: Create patched archive before configuring"). Having do_configure depend on do_ar_patched is blatantly wrong. Firstly, doing so causes the taskhash of do_configure to change which is undesirable. Secondly, the anon python that sets up the tasks carefully skips GCC recipes that depend on gcc-source to provide their source code since running do_unpack_and_patch in them would delete the source code. Adding in the dependency effectively bypasses this and makes these recipes delete the shared gcc-source This fixes errors (for real this time) like: cat: .../gcc/defaults.h: No such file or directory when making certain configuration changes. For posterity, you could easily reproduce gcc-source being erased by running the commands (replacing aarch64 with your correct target arch): bitbake -c cleanall gcc-source gcc-cross-aarch64 bitbake -c do_deploy_archives gcc-source # The following would fail because # gcc-cross-aarch64:do_unpack_and_patch erases shared source, so # do_configure after that fails. bitbake gcc-cross-aarch64 (From OE-Core rev: f02c1904330da47a25cf85f0077712f584f4ee5b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminatedRichard Purdie2020-07-031-4/+8
| | | | | | | | | | | | | | | Currently if the find command finds /home it stops checking the other files. Tweak the find expression to fix this. Also, from Alex Kiernan <alex.kiernan@gmail.com>, generate output for each contaminated path so it's visible in the main log file. When matches are found, dump the data from the group and passwd files so useful debugging can be done based on the results. (From OE-Core rev: 504f1d158bf7c6ad08fbce755021db2b14565231) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate.py: fix testimage occasionally failureChangqing Li2020-07-031-4/+0
| | | | | | | | | | | | | | | | | | | | | | testcase test_systemd_failed occasionally failed with below error: Failed to start Rotate log files. logrotate.service: Failed with result 'exit-code'. logrotate.service: Main process exited, code=exited, status=1/FAILURE error: stat of /var/log/logrotate_test failed: No such file or directory error: logrotate_test:1 lines must begin with a keyword or a filename (possibly in double quotes) above failure caused since testcase test_logrotate_wtmp add /etc/logrotate.d/logrotate_test, which need /var/log/logrotate_test, but there is no such file. so when logrotate.service is triggerd by logrotate.timer after testcase test_logrotate_wtmp is runned, the testcase test_systemd_failed will fail. these 3 lines are useless, so remove them to fix above problem. (From OE-Core rev: 22f5f7f86a4d47624c476be00e5121009c48cb7b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* baremetal-helloworld: Use do_image_complete instead of do_deployAlejandro Hernandez2020-07-031-8/+23
| | | | | | | | | | | To better align with upstream and mimic how images are built, use do_image and do_image_complete instead of do_deploy to populate artifacts on DEPLOY_DIR_IMAGE. (From OE-Core rev: 9edb08c31700a85ce87344829989c1069d2760ab) Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: update to 2020.80Andrej Valek2020-07-033-4/+4
| | | | | | | | | License-Update: changed date and added info about existence LICENSE files in libtomcrypt and libtommath folders (From OE-Core rev: 0954933a7cc61307df1a840318c9a553050ecdb6) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: 1.31.1 -> 1.32.0Andrej Valek2020-07-038-367/+15
| | | | | | | | | | - update to last stable version 1.32.0 - remove and refresh already merged patches (From OE-Core rev: 2ccac58c2346b5a253dd065e5456c5bdaee2c99d) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/targetcontrol: Attempt to fix log closure warning messageRichard Purdie2020-07-031-0/+1
| | | | | | | | | | | | | | | | | | | | We continue to see the warning message: WARNING: lib/bb/daemonize.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper name='build/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0-r0/testimage/qemurunner_log.20200703011821' mode='a' encoding='UTF-8'> I've been unable to reprodue this but believe its caused by garbage collection of the FileHandler used in QemuTarget being delayed until after a new tinfoil instance is created by a subseqent test. Force the log file to be closed when we stop using it to avoid this. [YOCTO #13961] (From OE-Core rev: e15cc7801ec611f867f5b31028741722ac718c87) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: recipetool/devtool: Avoid load_plugin test raceRichard Purdie2020-07-032-2/+10
| | | | | | | | | | | | | | | | | This bug has plagued the autobuilder for a couple of years and we've struggled to reproduce/debug it. The problem is the "lib" directory in meta-poky used during the load_plugin tests for recipetool and devtool can race and one can delete the files from the other leading to test failures. Deleting the lib directory only if empty will avoid this. [YOCTO #13070] (From OE-Core rev: d603e2fd589e1edbc67c8c2fefb6337e728b9d01) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: add nativesdk supporthongxu2020-07-031-2/+4
| | | | | | | | | | | | | | Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] applied, sbindir = bindir in nativesdk, then routine `rmt' is installed to bindir which break `rmdir ${D}${bindir}/' failed with `Directory not empty' Don't rmdir if sbindir != bindir (From OE-Core rev: 6cf92e4d80e6dc85853392865a2ba6eca8bbfdb0) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/core/loader: refine regex to find moduleLee Chee Yang2020-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | test case in format <module name>.<class name>.<test case name> this is clear when test cases is only 3 item deep. but confused when it is 4 item deep, eg, oelib.types.TestList.test_list_nosep in this case, oelib and oelib.types can both be treated as module since module name contains only lower cases and class name should contain atleast one upper case. so, always treat leading item without upper case as module also allow module name to contain dot. [YOCTO #13941] (From OE-Core rev: ad81ea90a815389e45ff302a85151724c71f71c3) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs: do not let ldconfig to create symlinksDamian Wrobel2020-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | Adds -X option to ldconfig to not create symlinks as part of the ldconfig cache creation process. It is much better to keep all needed symlinks as part of of the package then let ldconfig do the job. In the case symlink was created by ldconfig and later on the package got removed the dangling link will remain on the filesystem. Not to mention that such a symlink is orphaned (e.g. rpm -qf <file-path> will not show the package the symlink is part of). It also align the behaviour with libc-musl where the ldconfig is not invoked by default. (From OE-Core rev: ad4ff7c18cc6a5c15a0525149dbe2dbd5ae39129) Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>