[OE-core] [PATCH 2/4] rt-tests: update 1.10 -> 2.1

2021-07-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...Makefile-Allow-for-CC-and-AR-to-be-overridden.patch | 10 -- .../{hwlatdetect_1.10.bb => hwlatdetect_git.bb}| 0 meta/recipes-rt/rt-tests/rt-tests.inc | 6 +++--- .../rt-tests/{rt-tests_1.10.bb => rt-tests_git.bb} |

[OE-core] [PATCH 1/4] man-pages: upgrade 5.11 -> 5.12

2021-07-02 Thread Alexander Kanavin
License-Update: installation instructions Signed-off-by: Alexander Kanavin --- .../man-pages/{man-pages_5.11.bb => man-pages_5.12.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-extended/man-pages/{man-pages_5.11.bb => man-pages_5.12.bb} (80%) diff

[OE-core] [PATCH 3/4] python3-iniparse: update 0.4 -> 0.5

2021-07-02 Thread Alexander Kanavin
Drop the python3 compatibility patch (upstream is back from the dead and fixed it). Signed-off-by: Alexander Kanavin --- .../0001-Add-python-3-compatibility.patch | 552 -- ...niparse_0.4.bb => python3-iniparse_0.5.bb} | 7 +- 2 files changed, 2 insertions(+), 557

[OE-core] [PATCH 4/4] iputils: correct upstream version check

2021-07-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-extended/iputils/iputils_20210202.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/iputils/iputils_20210202.bb b/meta/recipes-extended/iputils/iputils_20210202.bb index 6200b2c1d7..02a303782e 100644

Re: [OE-core] [update-rc.d][PATCH] update-rc.d: Fix enable/disable command

2021-07-02 Thread Alexandre Belloni
On 02/07/2021 15:57:03+0200, Einar Gunnarsson wrote: > I forgot the third error in this line: > Links numbered 91 or higher will create a single digit link. > > # update-rc.d -v -n smack disable > rename /etc/rc2.d/S91smack -> /etc/rc2.d/K9smack > > I guess this fixes all three: > > printf -v

Re: [OE-core] [PATCH] Revert "libubootenv: inherit uboot-config"

2021-07-02 Thread Otavio Salvador
Em sex., 2 de jul. de 2021 às 08:59, Peter Bergin escreveu: > > This reverts commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5. > > As there is no build dependency between libubootenv and the configuration > of u-boot there is no reason to check for UBOOT_CONFIG or UBOOT_MACHINE > by adding the

[OE-core] [PATCH] dhcpcd: add ARC support

2021-07-02 Thread Alexey Brodkin via lists.openembedded.org
This retrofits ARC support from upstream [1]. Should be a part of the next release of "dhcpcd". https://github.com/NetworkConfiguration/dhcpcd/commit/82386110e67cf75c224e9817fce55e6b0f143266 Signed-off-by: Alexey Brodkin --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb | 1 +

[OE-core] [hardknott][PATCH 19/22] kern-tools: add dropped options to audit output

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield The rewrite of the configuration audit code dropped the ability to generate warnings for configuration options that didn't make it into the final .config. We integrated the following commit to restore those warnings: symbol_why: classify based on config.queue hints

[OE-core] [hardknott][PATCH 20/22] kern-tools: Kconfiglib: add support for bare 'modules' keyword

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield Bumping the SRCREV to pickup the following for the kern-tools: commit 6dd85ff178cd76851e2184b13e545f5a88d1be30 [kconfig: change "modules" from sub-option to first-level attribute] broke parsing in 5.13+ trees. We add the new location to the parser so we can

[OE-core] [hardknott][PATCH 21/22] kernel-devsrc: adjust NM and OBJTOOL variables for target

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield v5.13 has started storting the values for NM and OBJTOOL in auto.conf.cmd Just as we've done for other tools, we need to adjust NM and OBJTOOL to the names of the on-target executables. With this adjustment, 'make scripts prepare' continues to work without user intervention

[OE-core] [hardknott][PATCH 22/22] lttng-modules: update to v2.12.6

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield To support building against v5.12+ and v5.13+ kernels, bumping to the v2.12.6 lttng-release. We drop the previously backported patches, and bring in the following commits: 0d8e4ab9 Version 2.12.6 78f56ae3 fix: adjust ranges for RHEL 8.2 and 8.3 4c996ea7 Disable

[OE-core] [hardknott][PATCH 14/22] Use the label provided when formating a dos partition

2021-07-02 Thread Anuj Mittal
From: jbouchard Previously the bootimg-pcbios wic plugin was not respecting the --label option provided from the wks file. The plugin was setting the label to 'boot'. With this fix, the --label option is use. If no option are specified, then the default is 'boot'. Signed-off-by: jbouchard

[OE-core] [hardknott][PATCH 18/22] curl: fix build when proxy is not enabled in PACKAGECONFIG

2021-07-02 Thread Anuj Mittal
Backport upstream patches to fix issues introduced by a backported CVE patch. Fixes: | ../../curl-7.75.0/lib/vtls/vtls.c: In function ‘Curl_ssl_addsessionid’: | ../../curl-7.75.0/lib/vtls/vtls.c:508:14: error: ‘isProxy’ redeclared as different kind of symbol | 508 | const bool isProxy =

[OE-core] [hardknott][PATCH 17/22] libgcrypt: upgrade 1.9.2 -> 1.9.3

2021-07-02 Thread Anuj Mittal
From: Alexander Kanavin License-Update: added terms for cipher/cipher-gcm-ppc.c, still under GPL (From OE-Core rev: d28c1f67c447f99313890e68083da61adcc66f74 ) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie Signed-off-by: Lee Chee Yang Signed-off-by: Anuj Mittal ---

[OE-core] [hardknott][PATCH 15/22] sstate.bbclass: fix errors about read-only sstate mirrors

2021-07-02 Thread Anuj Mittal
From: Michael Ho If a read-only sstate mirror is used in conjunction with hash equiv, then OSError will be raised when an sstate-cache hit is achieved. This is because sstate_task_postfunc will try to "touch" the symlinks that point to the read-only sstate mirror when sstate_report_unihash has

[OE-core] [hardknott][PATCH 16/22] kernel-devicetree: Fix interaction when packaging disabled

2021-07-02 Thread Anuj Mittal
From: Richard Purdie When packaging is disabled using the nopackages class, ensure we don't add to PACKAGES. This fixes builds where we have an unpackaged kernel alongside a packaged kernel. Signed-off-by: Richard Purdie (cherry picked from commit d6b114cf5a9b22688c0b59a3afc46a07450d87b5)

[OE-core] [hardknott][PATCH 13/22] linux-yocto/5.10: rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/5.10: 139fe7d68413 rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [hardknott][PATCH 01/22] linux-yocto/5.10: update to v5.10.42

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 65859eca4dff Linux 5.10.42 972b4c19f55d usb: core: reduce power-on-good delay time of root hub 5c7b23b79628 neighbour: Prevent Race condition in neighbour subsytem

[OE-core] [hardknott][PATCH 00/22] review request

2021-07-02 Thread Anuj Mittal
Please review these changes for hardknott. Two intermittent issues seen while building a-full on autobuilder - qemuppc shutdown timed out and valgrind ptest failed. https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2306 Thanks, Anuj The following changes since commit

[OE-core] [hardknott][PATCH 04/22] uboot-sign.bbclass: fix some install commands

2021-07-02 Thread Anuj Mittal
From: Ming Liu A "install -d" command is missing when dealing with ${UBOOT_NODTB_BINARY} in install_spl_helper function, this can lead to invalid install error saying: | install: cannot create .../usr/share/u-boot-nodtb-2021.04-r0.bin': No such file or directory Let's drop all "install -d"

[OE-core] [hardknott][PATCH 09/22] kernel: Fix interaction when packaging disabled

2021-07-02 Thread Anuj Mittal
From: Richard Purdie When packaging is disabled using the nopackages class, ensure we don't add to PACKAGES. This fixes builds where we have an unpackaged kernel alongside a packaged kernel. Signed-off-by: Richard Purdie (cherry picked from commit 2522daf22e2c27dd9c7926feda0345978217c6c3)

[OE-core] [hardknott][PATCH 12/22] linux-yocto/5.4: update to v5.4.128

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 4037804c5574 Linux 5.4.128 fd7c4bd58249 usb: dwc3: core: fix kernel panic when do reboot d7e403eea007 usb: dwc3: debugfs: Add and remove endpoint dirs dynamically

[OE-core] [hardknott][PATCH 10/22] linux-yocto/5.10: update to v5.10.46

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 3de043c6851d Linux 5.10.46 174c27583b38 usb: dwc3: core: fix kernel panic when do reboot e52d43c82f2f usb: dwc3: debugfs: Add and remove endpoint dirs dynamically

[OE-core] [hardknott][PATCH 07/22] ifupdown: Skip wrong test item

2021-07-02 Thread Anuj Mittal
From: Zqiang Skip wrong testcase(12-15) in testbuild-linux and rebase the patch tweak-ptest-script.patch. Signed-off-by: Zqiang Signed-off-by: Mingli Yu Signed-off-by: Richard Purdie (cherry picked from commit 4edcfbace258d94d814c7d61f467e5384e2645fb) Signed-off-by: Anuj Mittal ---

[OE-core] [hardknott][PATCH 05/22] devtool upgrade: rebase override-only patches as well

2021-07-02 Thread Anuj Mittal
From: Alexander Kanavin There's a number of recipes (such as nettle or glib) which were upgraded incorrectly due to rebasing only the default set of patches in main SRC_URI. Native-only or musl-only patches were not handled, causing do_patch fails and overall misery. Unfortunately, this also

[OE-core] [hardknott][PATCH 06/22] package_pkgdata: Avoid task hash mismatches for generic task changes

2021-07-02 Thread Anuj Mittal
From: Richard Purdie Add SSTATETASKS to package_prepare_pkgdata[vardepsexclude] since otherwise the task hashes vary depending upon which packaging backends are enabled and likely other changes which add/remove unrelated sstate tasks. Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [hardknott][PATCH 11/22] linux-yocto/5.10: features/nft_tables: refresh config options

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield The nft tables feature had become out of sync with current config options. Refreshing the support with the following commits: Integrating the following commit(s) to linux-yocto/.: da478fab290 nft: add CONFIG_NFT_SOCKET 54e2d36b291 nft: add CONFIG_NFT_TUNNEL

[OE-core] [hardknott][PATCH 03/22] linux-yocto/5.10: cgroup1: fix leaked context root causing sporadic NULL deref in LTP

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/5.10: ab49d2db98bd cgroup1: fix leaked context root causing sporadic NULL deref in LTP PaulG tracked down the AB intermittent issues and generated a kernel patch. See:

[OE-core] [hardknott][PATCH 02/22] linux-yocto/5.10: update to v5.10.43

2021-07-02 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 951358a824f9 Linux 5.10.43 d17d47da59f7 neighbour: allow NUD_NOARP entries to be forced GCed 6b53db8c4c14 xen-netback: take a reference to the RX task thread

[OE-core] [hardknott][PATCH 08/22] selftest/fetch: Avoid occasional selftest failure from poor temp file name choice

2021-07-02 Thread Anuj Mittal
From: Richard Purdie The temp file name may contain "_" characters. Switch to a temporary directory and a fixed filename to avoid this to avoid errors like: bb.data_smart.ExpansionError: Failure expanding variable PN, expression was ${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or

[OE-core] [PATCH 0/8] linux-yocto: consolidated pull request

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield Richard, Here's the next consolidated pull request. It has two normal -stable updates for 5.10 and 5.4, as well as the first steps in bringing 5.13 in as the reference kernel (and then dropping 5.4 from master). I've built and booted 5.13 as the default for qemu*, as well

[OE-core] [PATCH 5/8] kernel-devsrc: fix scripts/prepare for ARM64

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield There are two new tools in 5.13+ required for on target recreation of the build environment. We conditionally add them to the devsrc recipe to support both 5.13 and older kernels. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/kernel-devsrc.bb | 10

[OE-core] [PATCH 8/8] linux-yocto: introduce 5.13 recipes

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield 5.13 will be the next release/reference kernel (matched with a libc-headers version bump), this commit creates the recipes, but does not make it the default kernel (yet). This has been built and booted on all supported qemu platforms, as well as with musl and glibc based

[OE-core] [PATCH 6/8] kernel-devsrc: fix scripts prepare for powerpc

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield 5.13 introduces some new tweaks required to get on target scripts and prepare working for powerpc: - 'nm' is detected as 'nm --synthetic', so we adjust our replacement - more vdso is required on target, so we copy those files (like arm64 does) - grep is required

[OE-core] [PATCH 7/8] kernel-devsrc: powerpc64 add scripts prepare support

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield Similar to 32bit powerpc, we need more vdso bits in devsrc to support on target scripts prepare for powerpc64. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/kernel-devsrc.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git

[OE-core] [PATCH 4/8] linux-libc-headers: update to 5.13

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield Bumping the libc-headers to match the latest OE core reference kernel. We refresh one of the musl patches to udpate to the 5.12+ context of the header, but otherwise everything is unchanged. Signed-off-by: Bruce Ashfield --- meta/conf/distro/include/tcmode-default.inc

[OE-core] [PATCH 2/8] linux-yocto/5.4: update to v5.4.129

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 82ffbc138a1f Linux 5.4.129 9011aaab90b8 certs: Move load_system_certificate_list to a common function e20b90e4f81b certs: Add EFI_CERT_X509_GUID support for dbx

[OE-core] [PATCH 3/8] linux-yocto/5.10: scsi-debug needs scsi-disk

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield It was pointed out that the default scsi-debug feature didn't behave the same as other distros, since it doesn't have disk supporrt enabled. We already have a disk.cfg for scsi so we include it into the debug fragment to get the support we want. Integrating the following

[OE-core] [PATCH 1/8] linux-yocto/5.10: update to v5.10.47

2021-07-02 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 4357ae26d4cd Linux 5.10.47 1573d595e239 integrity: Load mokx variables into the blacklist keyring c6ae6f89fc4f certs: Add ability to preload revocation certs

Re: [OE-core] [update-rc.d][PATCH] update-rc.d: Fix enable/disable command

2021-07-02 Thread Einar Gunnarsson
I forgot the third error in this line: Links numbered 91 or higher will create a single digit link. # update-rc.d -v -n smack disable rename /etc/rc2.d/S91smack -> /etc/rc2.d/K9smack I guess this fixes all three: printf -v newnn "%02d" $((100-${oldnn#0})) How do I resubmit a patch? On Fri,

Re: [OE-core] sstate not used due to runtaskdeps

2021-07-02 Thread Daniel Gomez
On Fri, 2 Jul 2021 at 13:10, Daniel Gomez wrote: > > Hi all, > > I'm having a problem with perf recipe sstate not being reused in one > of my 'sstate clients' due to the following difference/change: > > pokyuser@da642d39231a:/workdir/build$ bitbake-diffsigs -t perf do_configure > runtaskdeps

[OE-core] [update-rc.d][PATCH] update-rc.d: Fix enable/disable command

2021-07-02 Thread Einar Gunnarsson
$[] is a bashism and does not work on POSIX shells enable/disable on links numbered 08 and 09 gives the error: 'bash: 100-08: value too great for base (error token is "08")' Signed-off-by: Einar Gunnarsson --- update-rc.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH v2] license_image: Use sstate to populate license directory

2021-07-02 Thread Alexandre Belloni
Hello Douglas, Thank you for this patch, On 02/07/2021 09:44:37+1200, Douglas via lists.openembedded.org wrote: > We were getting an endlessly-growing list of directories in > build/tmp/deploy/licenses/ of the form myimage-mymachine-20210629010203. > Use the normal sstate behaviour to clean

[OE-core] [PATCH] Revert "libubootenv: inherit uboot-config"

2021-07-02 Thread Peter Bergin
This reverts commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5. As there is no build dependency between libubootenv and the configuration of u-boot there is no reason to check for UBOOT_CONFIG or UBOOT_MACHINE by adding the class uboot-config. Revert this in order to remove useless workaround in

Re: [OE-core] [hardknott][PATCH] Binutils: Fix CVE-2021-20197

2021-07-02 Thread Vinay Kumar
Hi Randy, Anuj, Sent for review with 3 separate patches. https://lists.openembedded.org/g/openembedded-core/message/153462 Regards, Vinay On Tue, Jun 29, 2021 at 6:56 PM Randy MacLeod wrote: > > On 2021-05-07 10:48 a.m., Vinay Kumar wrote: > > Hi Anuj, > > > >>> Right now, the patch header is

[OE-core] [hardknott][PATCH v3] binutils: Fix CVE-2021-20197

2021-07-02 Thread Vinay Kumar
Source: git://sourceware.org/git/binutils-gdb.git Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=26945 Backported upstream commit id d3edaa91d4cf7202ec14342410194841e2f67f12 and its dependent commits 8e03235147a9e774d3ba084e93c2da1aa94d1cec and

[OE-core] sstate not used due to runtaskdeps

2021-07-02 Thread Daniel Gomez
Hi all, I'm having a problem with perf recipe sstate not being reused in one of my 'sstate clients' due to the following difference/change: pokyuser@da642d39231a:/workdir/build$ bitbake-diffsigs -t perf do_configure runtaskdeps changed: perf/perf.bb:do_deploy_source_date_epoch with hash

Re: [OE-core] [PATCH v3] pulseaudio: check if NEON code can be compiled on arm

2021-07-02 Thread Andrea Adami
On Fri, Jul 2, 2021 at 10:11 AM Yu, Mingli wrote: > > From: Mingli Yu > > Backport a patch to check if NEON code can be compiled on arm to > fix below issue: > | >

Re: [OE-core] [PATCH v2] pypi: set SRC_URI with _prepend, not with +=

2021-07-02 Thread Martin Jansa
FYI this breaks podman-compose in meta-virtualization which was setting own git:// SRC_URI after pypi inherit and now both entries end in SRC_URI and fetch fails with: ERROR: podman-compose-0.1.5-r0 do_fetch: No checksum specified for '/OE/build/oe-core/downloads/podman-compose-0.1.5.tar.gz',

[OE-core] [PATCH v2] perlcross: check the file if patched or not

2021-07-02 Thread Yu, Mingli
From: Mingli Yu After the commit(60dcb230f6 perl: split perl-cross into its own recipe) introduced, the source files mainly come from two parts, one is from SRI_URI during do_fetch and the other with below means during do_configure. do_configure_prepend() { cp -rfp

[OE-core] [PATCH v3] pulseaudio: check if NEON code can be compiled on arm

2021-07-02 Thread Yu, Mingli
From: Mingli Yu Backport a patch to check if NEON code can be compiled on arm to fix below issue: | /prj/tmp-glibc/work/armv5e-wrs-linux-gnueabi/pulseaudio/14.0-r0/recipe-sysroot-native/usr/lib/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/10.2.0/include/arm_neon.h:31:2: error: #error "NEON