summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2020-07-22systemd : fix CVE-2020-13776Lee Chee Yang
(From OE-Core rev: c23afae55758b53f34b08eb3a51ac25f0e4ce4d4) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22busybox: Security Fix For CVE-2018-1000500Rahul Chauhan
CVE: CVE-2018-1000500 (From OE-Core rev: 1ff4e723ed65ff7ee2921a50ca0c004ea7bb2508) Signed-off-by: Rahul Kumar <rahulk@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22oeqa/utils/qemurunner: Fix missing pid file tracebacksRichard Purdie
One element of the error message guarded against None as a value but I missed the other, fix this. (From OE-Core rev: 9e23163016b7a8fea0dbfe2111f9493017e5a7b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dbce6baec68d7658453b8c44159e1d1fef746151) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22qemurunner: Add extra debug info when qemu fails to startRichard Purdie
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. (From OE-Core rev: 797f7e0c3ff0610a4de321eaf82f84bca610624e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3001d0d8f3429e5ff0c37ea7192e85e7001cdb32) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22qemurunner: Ensure pid location is deterministicRichard Purdie
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. (From OE-Core rev: a03c85fe0704a457bd2d92dd58cbbb4d37453f2a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 55c186ff410c99570242478b99ac24ebc40aa6bd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22babeltrace: correct the git SRC_URIAlexander Kanavin
The previous one seems to be gone. (From OE-Core rev: 5dd3d61c5c739f31cb87a3c0c924c617b432e8a9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b9995f8a8f08bbcb1e0915a7420ec7fb5623d604) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTENDTim Orling
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 (From OE-Core rev: 2a1ae8c12cb0d6fd9d57c98caa97a10f3b6d3388) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d687c5b7b10b3decdd80d5c2fd61072a87f061f2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22nativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGSDouglas
... which default to the BUILDSDK_CFLAGS in any case. (From OE-Core rev: 260a348bab64b7da33e2ade77593059287a4e308) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9b4bf667bac49131cee382f2f346fc054d5f28b9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22nativesdk: clear MACHINE_FEATURESDouglas
Further to 96c20c9df7: Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES. (From OE-Core rev: 0cbae5aa12aa8f3e0865d36d665dfd4a5853a691) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 956e5bd6862ca898143a234aa85cc83b1f2d1807) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22ptest: append to FILESKonrad Weihmann
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 (From OE-Core rev: 1a52f9ec394ec2ce9899543c1b9ef95e926ebf14) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 419ad35ffe7f5199e49a246ef9854f0810ca1d6c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22go-dep: Fix build on riscv64Khem Raj
Bring in only patch from meta-riscv here (From OE-Core rev: ecd7563cc29d5b473a3c71f35c4d9c98ff4d2349) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e6e7b0be6e5ba5ab8fe9478c1dfdd530d22123f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22go: Disbale CGO for riscv64Khem Raj
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] (From OE-Core rev: 987d29d0b0dfa19ef6564996198f22c2b08f6ff9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f512b3308ed6ee878c77f72b9235ada83d107dba) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22u-boot: fix condition to allow use of *.cfgCharlie Davies
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. (From OE-Core rev: 4fc386279ef4616d1e103cb70facee5716d335ff) Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 766f827df4c3f76b1ef06acaba3c4f160c3791aa) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22serf: extend for nativesdkJens Rehsack
As an unconditionally dependency of subversion, extend serf recipe for building a nativesdk variant being usable by nativesdk-subversion. (From OE-Core rev: 3b78a39535089bbafbeb1ebd854efe180890f375) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ff731a25a49c768f04a474438efccb3bb505a898) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22subversion: extend for nativesdkJens Rehsack
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. (From OE-Core rev: 795781db8a82c9268fcabc93dd54cb6b07cbe9c8) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 586a15b76f879f49c5224116cbf506b7ccf96cd2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22oeqa/selftest/sstatetests: Avoid polluting DL_DIRRichard Purdie
Every selftest run is currently polluting the autobuilder DL_DIR. Avoid this by using a temporary directory for the test which is cleaned up. (From OE-Core rev: 3f2971c2fa94970057cd4260aa1147a165d70fa9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 002d321e02b3ce4f34c8a54211b109a5416c8a0e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22avahi: Fix typo in recipeChristian Eggers
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). (From OE-Core rev: 683fb53c94e63e4f5acf4c2efd04977cc10bed49) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d8837b4735b5e96ae0f5542319e711dbda8c3849) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22bison: fix Argument list too long errorLee Chee Yang
fix Argument list too long error when len(TMPDIR) = 410 (From OE-Core rev: 90c75ff2e696e984d18e33726d1d07647b140ee6) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 73f05ba58dcee57e25712f9aee97535d9a32c982) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22linux-firmware: move ibt-misc to the end of ibt packagesYongxin Liu
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. (From OE-Core rev: f9d24c6cfb2d167b413301b9ec853ddc181e8043) Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b3a5403a9e5d0085d7b2f97a2e44b74a54c84d3f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22linux-firmware: fix the wrong file path for ibt-miscYongxin Liu
(From OE-Core rev: 21cd2d89667a286352e70daf07129292b842aa81) Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7c1470ea6e337dc1d1e320d33267f06584e9752d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22insane: consolidate skipping of temporary do_package filesRoss Burton
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: 0dbdcd305a969b67415ed74c3286af02612bd64c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4b2f45c47a5c8c800626f12c14f216a5ab923512) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16coreutils: don't split stdbuf to own package with single-binaryRasmus Villemoes
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: c2ad3af9da9bb3a98c1d5d1b3d21eb8db643c189) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 74d24b5b895198898944260136d05e991a203c11) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16libnl: Extend for native/nativesdkChristian Eggers
libnl is required by networkmanager. (From OE-Core rev: 30b4d8b5fd45c78f5da3706dd91c43d795de6eb0) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b3c96103a5063eeefb0c537227eab3f77616b9c0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16openssl: move ${libdir}/[...]/openssl.cnf to ${PN}-confHannu Lounento
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: e5405189e6d1b3b3b236aa8fe7a577c72f6af8d8) Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c1632d7041fe0c18ec61abfa79a9c025af43c033) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16linux-yocto/5.4: update to v5.4.50Bruce Ashfield
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: 07a662a1b75559550ad63b5a24e50cec54c88199) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0ed1c289ceebd66f2bbfd9dfc8deae0985fbf239) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16oeqa/core/loader: fix regex to include numbersVacek, Patrick
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: eab35415bb2cd68872707693afcf7705675fa87e) Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f241fa493536ac953c1dac303917c6e75b459e28) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16systemd: remove kernel-install from base pkgKonrad Weihmann
as this is already packaged in kernel-install package, it shouldn't be part of the base package (From OE-Core rev: e62371448a7d5604fa6029c7a8be278e83dad35c) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ed04241f30e12e7c0479026a9e354e49dfa4119c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16kernel.bbclass: add lz4 dependency and fix the call to lz4Timon Ulrich
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: 589b2d7e902125199377d5f1550597bcb38a1bf6) Signed-off-by: Timon Ulrich <t.ulrich@anapur.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c83a7aec59defbbc049d44ba34a7a409ada4fa19) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16kernel/yocto: fix search for defconfig from src_uriAndrey Zhizhikin
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: 11089e06bfb3d0defb52825ffba978d085385569) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f52ce0fa98bf3bd72df7467031001f3128c145f2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16kernel/yocto: ensure that defconfigs are processed firstBruce Ashfield
It is uncommon that a BSP definition and a defconfig are used in a single configuration. That being said, it is a valid way to organize kernel configuration meta data. When a defconfig is used, either on the src_uri or from in the kernel tree, it is normally expected that it is the baseline, with all options applied on top of it. With this commit, we detect either type of defconfig and ensure that it is used first, followed by the fragments in their previous order. This allows existing configuration stacks to remain the same, while ensuring that a defconfig combined stack works as expected. (From OE-Core rev: 7ecc81baeacaa1149a4947791200e8819c3df677) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e6845327b69396d843a2f3c4c3ac9400ae9caedf) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16classes/archive: do_configure should not depend on do_ar_patchedJoshua Watt
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: 2399fdf98a6e6e4245c2e7ed1f72404ebece3eca) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f02c1904330da47a25cf85f0077712f584f4ee5b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16classes/archiver: run do_unpack_and_patch after do_preconfigureJoshua Watt
The commit 8a7c779487 ("classes/archiver: Create patched archive before configuring") fixed a race condition when using the archiver, but introduced a bug where the GCC source would occasionally be deleted due to the archiving code running before do_preconfigure. Instead, make sure the archiving code runs after do_preconfigure by making do_unpack_and_patch depend on it. This makes more sense anyway since do_preconfigure is effectively an extension of do_patch. This fixes errors like: cat: .../gcc/defaults.h: No such file or directory when making certain configuration changes (From OE-Core rev: b6d4176f82b9728af91a4b982ca25fbbee5f9890) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d4be264061023ae0ea6e023d82a7b99605bfc22c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16icu: make filtered data generation optional, serial and off by defaultAlexander Kanavin
Backported from master with two differences: 1. Move exit in do_make_icudata_class-target after big endian patch application (not required for master since new upstream icu includes the patch) 2. In do_install_append_class-target test for existence of .dat input file before calling icupkg icu data generation was found to be racy, and causig AB failures; making it serial and leaving it on is not an option as it regresses to several minutes. The specific bug is that rules.mk has: LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/gencnval -s . -d ./out/build/icudt66l mappings/convrtrs.txt which creates a file and numerous rules like LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/genrb -s ./misc -d ./out/build/icudt67l -i ./out/build/icudt67l -k -q numberingSystems.txt which quietly read it. There is no prerequisite for the former to complete first. The race is extra complicated to fix as rules.mk is itself generated through a custom in-tree python tool. (From OE-Core rev: df4bfb154e7fce9645f5738aa04b3eb3ef5093fe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit df89e8d1136fd406ba35ae573e2cb0cfc88c6aad) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16gobject-introspection: add a patch to fix a build raceAlexander Kanavin
(From OE-Core rev: 80b61573fd1509cb46d263d6adb3621c3dee15d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1d6ffc795fc815509e193b28df3a33cc72bfb31b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07iso-codes: switch upstream branch master -> mainHongxu Jia
(From OE-Core rev: cabaf5654db5db12b6576ef0ebae9bc7b422a8ca) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6e16ef0c2e0ec2bbb862231cd84e7650bd5789af) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07python3: fix CVE-2020-14422Lee Chee Yang
(From OE-Core rev: 0400d217d0891ee553926c10d7caaabc8bebc22e) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07qemu: fix CVE-2020-10702/10761/13362/13659/13800Lee Chee Yang
fix these CVE: CVE-2020-10702 CVE-2020-10761 CVE-2020-13362 CVE-2020-13659 CVE-2020-13800 (From OE-Core rev: 98c4642c526259fc664723145a1d6026b491032d) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07sqlite3: Security fix for CVE-2020-15358Armin Kuster
Source: sqlite.org MR: 104526 Type: Security Fix Disposition: Backport from https://www.sqlite.org/src/vinfo/10fa79d00f8091e5?diff=1 ChangeID: a1c012b8c8aecd4970f3ae16686bf25f2376f542 Description: Affects sqlite < 3.32.3 Fixes CVE CVE-2020-15358 (From OE-Core rev: 8eb5fad746b716cba350c6cd6a30766534a90a28) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminatedRichard Purdie
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: 602162c0e33b429b8254de04af72a2aa5111867a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 504f1d158bf7c6ad08fbce755021db2b14565231) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07logrotate.py: fix testimage occasionally failureChangqing Li
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: 198fe0d64e4bdeda84c0f3e44afcc1d99ca9dbbe) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 22f5f7f86a4d47624c476be00e5121009c48cb7b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07oeqa/targetcontrol: Attempt to fix log closure warning messageRichard Purdie
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: fa2cca514f4b03aeeedb14dbffd26bc98ed74d29) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e15cc7801ec611f867f5b31028741722ac718c87) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07oeqa/selftest: recipetool/devtool: Avoid load_plugin test raceRichard Purdie
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: a31c694be5267c004b691e6374cc800222f19940) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d603e2fd589e1edbc67c8c2fefb6337e728b9d01) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07oeqa/core/loader: refine regex to find moduleLee Chee Yang
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: 838646da741cda2059ee2bd64fd1e59980fbf945) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ad81ea90a815389e45ff302a85151724c71f71c3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07gtk-icon-cache.bbclass: add runtime dependencyChangqing Li
fix error: + /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache /var/tmp/rpm-tmp.mdYxY6: line 12: /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: No such file or directory %post(adwaita-icon-theme-3.36.1-r0.0.noarch): waitpid(2961) rc 2961 status 7f00 warning: %post(adwaita-icon-theme-3.36.1-r0.0.noarch) scriptlet failed, exit status 127 when install adwaita-icon-theme on target, which inherit gtk-icon-cache above error reported, fix by add runtime dependency to pkgs we don't use explicit RDEPENDS, so fix do_rootfs breaking by adding it into DEPENDS. Error: Problem: conflicting requests - nothing provides gdk-pixbuf needed by adwaita-icon-theme-3.36.1-r0.noarch - nothing provides gtk+3 needed by adwaita-icon-theme-3.36.1-r0.noarch (From OE-Core rev: e921edd27e71af00f07e3f1e973d2b0c6c777bf4) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07oescripts: ignore whitespaces when comparing linesChen Qi
list-packageconfig-flags.py determines the whitespace numbers according to the longest package name. This is reasonable for the tool as it's trying to generate pretty output. However, in this selftest case, the output is hardcoded. This results in "pinentry gtk2 libcap ncurses qt secret" not recognized as correct as the expected line is: "pinentry gtk2 libcap ncurses qt secret". The difference is only about whitespaces. So we should ignore the whitespaces when comparing lines. (From OE-Core rev: 80bdd59c8fa8b20a5a1fe7b5e3f1ddb95ad13af6) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 17c89ad1596dbc7cefdd2c01dcd95aa9e93c5dc6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07oescripts.py: fix typoChen Qi
(From OE-Core rev: 9793d9b885195a1a917b2209b2bc8070a3df733d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 115d44958806a2c73d0bf140f45c11db462cc7db) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07python3-libarchive-c: add the missing rdependsMingli Yu
Add the missing rdepends to fix below error: # python3 [snip] >>> import libarchive [snip] ModuleNotFoundError: No module named 'ctypes' ModuleNotFoundError: No module named 'mmap' (From OE-Core rev: 347e6fafea8bd9c715d87882159fc2d4bbde0cc7) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b3a2615878bc7515a7bdace525dc27be45f158e2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07common-licenses: fix filename of BSD-2-Clause-PatentRoss Burton
(From OE-Core rev: d8606f5d38c26416f0240aaa0d721b075efe00be) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4a9c62d49940b154177d817a845188d827370607) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07initscripts: update postinstChangqing Li
in container image, it don't have init system, install package initscripts will report error: systemctl: command not found fix by use same way as systemd.bbclass to decide if systemctl mask will run (From OE-Core rev: 6622515c1fa7025543aea37c4b37831577485811) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 790276bde066ecc9876120c3097dcd57a9936f00) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07modutils-initscripts: update postinstChangqing Li
in container image, it don't have init system, install package modutils-initscripts will report error: + systemctl mask modutils.service /var/tmp/rpm-tmp.DYK3Pm: line 8: systemctl: command not found %post(modutils-initscripts-1.0-r7.3.cortexa72): waitpid(823) rc 823 status 7f00 warning: %post(modutils-initscripts-1.0-r7.3.cortexa72) scriptlet failed, exit status 127 fix by use same way as systemd.bbclass to decide if systemctl mask will run (From OE-Core rev: 922a668e769d3f51b0e8ec4949ae1936e9c59bc5) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eec648f23df0a4e05130f8ef5a04902296567e38) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>