Commit Graph

63139 Commits

Author SHA1 Message Date
Peter Kjellerstedt
881bafcbb9 buildhistory-collect-srcrevs: Adapt to the new variable override syntax
(From OE-Core rev: bcce0e7cef5768d5cfe58c356f6196af8ce03537)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Peter Kjellerstedt
f42b404a99 bitbake.conf: Use the new variable override syntax in a comment
It is probably a good idea if the comment that describes how variable
overrides work use the new override syntax...

(From OE-Core rev: 1fd8882db9011a6fe18da7611fba3426fd5cb00d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
0e6b9a1e5f oeqa/selftest/reproducibile: Exclude rust packages
rust-llvm-liblto and rust-llvm-staticdev sometimes vary in contents. Exclude
them from the test for now until we can work on and resolve the issues.

(From OE-Core rev: 60c12da5aae2534c972df851f26e4523fed03afc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
b7fc3113a7 rust-common: Add LDFLAGS to cc wrapper
The -cc wrapper can be used for linking and can fail if key flags are missing:

| error: linking with `[path]/tmp/work/x86_64-linux/rust-native/1.54.0-r0/wrapper/target-rust-cc`

Add the flags to fix builds even if that is counter-intuitive (cc would
normally be used for compiling and ccld for linking).

(From OE-Core rev: 62242e83c49b81a9ea65c9a1f5957a7c309d910a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
fe90461e2d rust: Avoid buildtools+uninative issues with glibc symbols mismatches
If we use an external buildtools tarball, that combined with uninative results
in build failures with symbol mismatches. This was tracked down to the prebuilt
rust binaries that are downloaded. The libc/loader used to load them is used to
execute target binaries/libraries and therefore anything with built with a newer
libc would fail.

Add code to use patchelf to change the interpreter to our own uninative one if
present which ensures the newer libc and loader are used, hence avoiding the issue.

(From OE-Core rev: 099c761ffddcc828329d3083cc8f3d24b43e9277)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
c9de49fb80 oeqa/selftest/distrodata: Fix up rust maintainer testing
Since the target rust recipe is skipped but the native variant is not,
this confuses the test. Add rust to the list of special cases to avoid
test failures as the current code can't handle the skip.

(From OE-Core rev: 842cba1820416d79e30e3f1940e2486707fc7cff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
d6f10a5d65 rust: Skip target recipe since it doesn't work
The target rust recipe is known not to work. Add a SkipRecipe entry for
that so world builds don't include something known to be broken and
hence give users a sensible message if they do try and build it rather
than a build failure.

(From OE-Core rev: 16c77c82ff6635b0180690ea117e2eff8fd63afb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
a4d2b03d3b rust-llvm: Add missing HOMEPAGE
Add a missing HOMEPAGE entry to the recipe (fixing a selftest failure).

(From OE-Core rev: 71782d90cff825bd9c20d49590245565a6194bf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
f37be5cafa rust-native: Avoid stripped warning
Instead of giving the following warning, hide it since we don't plan to change it.

WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging!

(From OE-Core rev: ec5f0c77882ccbd5797519f5ded4e528eb687008)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
cfc8d6dd64 cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions
native/nativesdk variants of a cross-canadian recipe don't make any
sense so avoid these recipe variants.

(From OE-Core rev: 4ba7fb0b6a5021bca73aade4af390e8e017b491a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
37b2059a7f rust-cross-canadian-common: Use rust.inc directly, not rust-target
We don't want cross-canadian to see the native BBCLASSEXTEND as that
generates a recipe which makes no sense. Avoid this.

(From OE-Core rev: f3648d18c4e05f38053bb1fd73796a6e05d61928)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
857cf2d7b3 rust-cross*: Fix OVERRRIDE references in task signature computation
The oeqa selftest test:
   sstatetests.SStateTests.test_sstate_sametune_samesigs
which checks if the sstate checksums of two identical machines
(using the same tune) are the same, apart from changes within
the machine specific stamps directory, fails on the assertion:
   self.assertCountEqual(files1, files2)
due to the signature of various 32 bit package builds such as:
   x86_64-linux/lib32-rust-cross-i686
   x86_64-linux/rust-cross-i686
   x86-pokymllib32-linux/lib32-libstd-rs
   x86-pokymllib32-linux/lib32-rust
differing. Jumping down the rabbit hole past all the bitbake-diffsig
outputs that differ due to dependent hashes, you come to a  diff of:
   -Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}
   +Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}:qemux86
in
   stamps/x86_64-linux/rust-cross-i686/1.54.0-r0.do_rust_gen_target.<sig>

This is because there are two rust functions referencing OVERRIDES
related variables (target_is_armv7 and llvm_features_from_tune). These
indirectly influnce the build and should be excluded from the signatures
directly as is done in other toolchain recipes, e.g.:

   39bfa0dd32 recipes/*-cross recipes: ignore TARGET_ARCH sstate hash

(From OE-Core rev: 72d67410e92207a98a801ddf0cb9f1297a752975)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
9632185627 rust: remove Rust version 1.51.0 toolchain
We typically only have one version so remove the older
rust toolchain. This also fixes a maintainers oe-selftest.

(From OE-Core rev: d8ff9672d2686801d535a91fa28a92e38d8f0409)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
83651eda51 cargo_common: remove http_proxy
Fix the test_sstate_noop_samesigs oe-selftest that
produces an error like:

   core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs:
   basehash changed from <hash-a> to <hash-b>
   Variable http_proxy value changed from '' to 'http://example.com/'

by simply removing the proxy config option. This may be added back
after merge to oe-core if needed and if the diffsigs check passes.

(From OE-Core rev: 81ad8aceaacda726361e953778294de20eeac24e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Vinay Kumar
766f9eca83 rust-common.inc: Fix build failure with qemuppc64.
The glibc build of "rust-hello-world" throws error in libstd-rs package.
   error: unrecognized arch "powerpc64le" in target specification

The same got fixed by changing the arch to "powerpc64".

(From OE-Core rev: 1a28dd447c248f6b7f0efd121160ac798e2abf0c)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
16093ecf50 maintainers: Add myself as maintainer for rust pkgs
I'm willing to do the rust package maintenance but
if anyone else wants to sign up, that would be welcome.

(From OE-Core rev: 531d86cf1e11b034e23d1b682e475c1dde7b1a20)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
284f0b11a5 cargo/rust/rustfmt: exclude from world
cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.

(From OE-Core rev: 3ade1015b5bbd6aac9dd9974a6a5712958a5f5ed)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
3550bfe387 rust: update the README to conform to being in oe-core
Provide the full link to the meta-rust issue since
the README is no longer part of meta-rust.

(From OE-Core rev: 11cb8e67f356d4758c3aae0e5851a44256459e77)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
e9263ee764 rust: mv README.md to recipes-devtools/rust/README-rust.md
Import the meta-rust/README.md but relocate and rename it.

(From OE-Core rev: a36b43187f9b78c279bdbd0ee9c6f7063a0e7cc7)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
61e1570c6a rust: initial merge of most of meta-rust
In the meta-rust repo at commit:
   448047c Upgrade to 1.54.0 (#359)

Make the required directories:
  mkdir ../oe-core/meta/recipes-devtools/rust
  mkdir ../oe-core/meta/recipes-devtools/cargo
  mkdir ../oe-core/meta/recipes-example
and then:
  cp recipes-devtools/rust/* ../oe-core/meta/recipes-devtools/rust
  cp recipes-devtools/cargo/* ../oe-core/meta/recipes-devtools/cargo
  cp lib/crate.py ../oe-core/meta/lib
  cp recipes-example/* ../oe-core/meta/recipes-example
  cp conf/distro/include/rust_* ../oe-core/meta/conf/distro/include/
  cp classes/* ../oe-core/meta/classes/
  cp recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb ../oe-core/meta/recipes-core/packagegroups

(From OE-Core rev: 3ed57578cca93ff1ba4e0bf3f25566e10659a2f9)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Peter Kjellerstedt
705b1d757f local.conf.sample: Use the new override syntax for a commented variable
(From meta-yocto rev: 69e1d8c7a95081a243f36fc911ff9be3ce8cae44)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Peter Kjellerstedt
3480d0224b poky-floating-revisions.inc: Use new override syntax for commented vars
(From meta-yocto rev: ab8cec2cc136f03747995565c3f5ae923883a55c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Richard Purdie
1092cdfb8d bitbake: README: Fix typo
Thanks Peter for spotting.

(Bitbake rev: 8c7a54ea7fdc721278380895d01868b96b330b90)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 15:23:12 +01:00
Alexander Kanavin
29b3fe80ee harfbuzz: upgrade 2.8.2 -> 2.9.0
(From OE-Core rev: 1e99e5cd02c628db4f7058a98fe33670f6f85e96)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
16b2d77a57 bind: upgrade 9.16.19 -> 9.16.20
(From OE-Core rev: 58bcdd72ccd21d598008cdbde4a0f27e4d3740cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
b8c69b9a31 json-glib: upgrade 1.6.2 -> 1.6.4
Upstream has converted from gtk-doc to gi-docgen.

(From OE-Core rev: 7fc1ca1edc9ab6eca7a57588397607b86beb3f07)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
62d28cc254 gi-docgen: upgrade 2021.6 -> 2021.7
(From OE-Core rev: 3d1a76f28160a6a56f26e360c010096c763d40dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
d587428e48 libnsl2: upgrade 1.3.0 -> 2.0.0
(From OE-Core rev: 5420eebf63ed142a3c1897913410beb8bfce9ed9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
fa6573092f vala: upgrade 0.52.4 -> 0.52.5
(From OE-Core rev: 7e33b8ca62122cd04d6c7f28183da7cd2c678775)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
63daa467d5 python3-mako: upgrade 1.1.4 -> 1.1.5
(From OE-Core rev: 55e168eb2961dc4c1ae99a3ddee31b36d84c8fa9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1ddfa92934 ell: upgrade 0.42 -> 0.43
(From OE-Core rev: 40ffd1e0e581868bee90f5c43ea84dfa470eda78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
426bc4fefa openssh: upgrade 8.6p1 -> 8.7p1
(From OE-Core rev: e744b59d6ba40ba1b810d8912ea65778655103bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1280c8191c git: upgrade 2.32.0 -> 2.33.0
(From OE-Core rev: 94ea5d103a8941d710814f6e2c579626b54a40eb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
4de67aba89 ccache: upgrade 4.3 -> 4.4
License-Update: formatting
(From OE-Core rev: 1c30f8005a69fcb910d70fa257bdf305c1220696)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
ab1d826a70 util-linux: upgrade 2.37.1 -> 2.37.2
(From OE-Core rev: d469dfa08ae52ca720ef1315994050f956b6ea50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
e617435893 glib-2.0: upgrade 2.68.3 -> 2.68.4
Drop merged 0001-correctly-use-3-parameters-for-close_range.patch

(From OE-Core rev: 592335a75dbf28d2e3c5f0c62ad96d38420ae1f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
3ae0b7c128 gnu-efi: update 3.0.13 -> 3.0.14
Removed non-existent header from licensing.

(From OE-Core rev: 2e768f1dc6fa96cb2155eb0c1f168c4405032948)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
bcdaf2486b binutils: drop target flex/bison from build dependencies
This lengthens dependency chains unnecessarily;
also -native versions are already included in DEPENDS via binutils.inc:

DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"

I have also checked that nothing in binutils needs anything from target
sysroots of flex/bison:
https://lists.openembedded.org/g/openembedded-core/message/155131

(From OE-Core rev: 8e9d3b5c8c994d307b2cca6a053b29403af9d5ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Randy MacLeod
e4905f5566 openssl: upgrade from 1.1.1k to 1.1.1l
Includes fixes for:

CVE: CVE-2021-3711
CVE: CVE-2021-3712

as described by:
   https://www.openssl.org/news/secadv/20210824.txt

Ptest results on qemux86-64 with kvm:
   All tests successful.
   Files=158, Tests=2532, 137 wallclock secs \
     ( 2.59 usr  0.33 sys + 104.71 cusr 44.19 csys = 151.82 CPU)
   Result: PASS
   DURATION: 137

(From OE-Core rev: fdb6d8c0604e7170ad0c361d54ce9a19253afe36)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Peter Kjellerstedt
85a97d3985 lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again
Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch was updated
with the 2.13.0 update (commit 5dad15af), but unfortunately it no
longer did what it was intended to do. There is also
0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch, which
was based on the former patch, but it too does not solve the problem.

Unify the two patches, and actually disable building of the kernel
module if CONFIG_TRACEPOINTS is not enabled, the way it was intended.

(From OE-Core rev: f2411917c09a31d154d29060f6c7e4ce7d544fc7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Paul Gortmaker
ef3ad59d2a ltp: backport ioctl_ns05 fix from upstream
This false positive keeps showing up in our testing but the fix isn't
yet a part of a tagged release, and it is probably too late for doing
an uprev for the fall release anyway.

(From OE-Core rev: f216d7e3e7eb94f53a69e25c805344b04ada60f5)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Trevor Gamblin
120e36e89c bluez: upgrade 5.60 -> 5.61
5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly
restores Discoverable state after powered down), as well as other
fixes.

>From the changelog:

ver 5.61:
   Fix issue with A2DP while waiting for command response.
   Fix issue with A2DP when SetConfiguration fails.
   Fix issue with device removal handling.
   Fix issue with storing discoverable setting.
   Add support for Central Address Resolution characteristic.
   Add support for admin policy plugin.

(From OE-Core rev: 5f87fbf13bd35169a488ca564875974681aafd4f)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Richard Purdie
4cc61c81f7 pseudo: Fix to work with glibc 2.34 systems
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix
that works around this issue.

(From OE-Core rev: dd3e46a043c81cd4d81731a0f691868d3c059742)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-25 21:53:34 +01:00
Alexander Kanavin
c3e72164e7 libjitterentropy: remove contaminated hashequiv entry
This was caused by intermittent reproducibility problems.

(From OE-Core rev: dd7c61ecd79f1439ae20d66cda32c2beb5daf0de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-24 09:37:22 +01:00
Alexander Kanavin
47d982e36f mc: fix reproducibility
It is probing into what options the /usr/bin/file executable does
and does not support and bakes that into target binaries, so we
need to use a deterministic one we build ourselves.

(From OE-Core rev: 91bb0c4180b0e788b4483f836478b7de948029a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-24 09:37:21 +01:00
Ross Burton
cae167c5ba local.conf.sample.extended: fix commented-out override syntax
(From meta-yocto rev: af596adf3eb5275656cda94b2ad41ca2deef3eab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 13:14:02 +01:00
Scott Murray
3874ce6ee5 prservice: remove connection caching
This patch is a follow on of the the PR server rework in bitbake to add
read-only support.  The shift to using the bb.asyncrpc code in the PR
server and client brings issues with respect to reuse of the same
asyncio loop in different processes.  This patch removes the PR service
connection caching to avoid one source of this problem.  It is believed
that in practice this should have little impact on overall performance.

(From OE-Core rev: 0fc3055027e2a76ac863f1c0e0d52e95748066aa)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Richard Purdie
9d88d1d095 bitbake: README: Add note about test suite and new tests
Document that bitbake-selftest exists and that we appreciate test cases.

(Bitbake rev: 52896ca1fabd22cce01b75cc6fe3412b1ec09b5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Paul Barker
295b75cf1c bitbake: prserv: Add read-only mode
[YOCTO #13659]

(Bitbake rev: 44287430b9804fcbf2440f85a2424792140e4dc9)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[updated for asyncrpc changes]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Paul Barker
fb3b05fe8d bitbake: prserv: Replace XML RPC with modern asyncrpc implementation
Update the prserv client and server classes to use the modern json and
asyncio based RPC system implemented by the asyncrpc module.

(Bitbake rev: 6a2b23e27bb61185b8afb382e20ce79f996d9183)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[updated for asyncrpc changes, client split to separate file]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00