Date   

Re: Error during linux booting

Vaibhav Deshpande
 

Helo 

I have added systemd in rootfs by adding IMAGE_INSTALL = " systemd" in local.conf and the issue solved 
is this required for the latest yocto version (kirkstone)?


Thank you.

Regards
Vaibhav Vivek Deshpande


On Mon, Oct 17, 2022 at 1:28 AM Zoran Stojsavljevic <zoran.stojsavljevic@...> wrote:
Interesting... Looking into the log massage itself!

> [    0.000000] Kernel command line: root=/dev/vda2 rootwait console=ttyS0 earlycon=uart8250,mmio,0x10000000

Command line does not specify baud rate... Usually by default it is
115200. Just a kludge.

Then:

> [    0.000000] earlycon: uart8250 at MMIO 0x0000000010000000 (options '')
> [    0.000000] printk: bootconsole [uart8250] enabled

bootconsole enabled, seems correct.

Then:

> [    1.628806] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [    1.648238] printk: console [ttyS0] disabled
> [    1.652252] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 166, base_baud = 230400) is a 16550A
> [    1.656816] printk: console [ttyS0] enabled
> [    1.656816] printk: console [ttyS0] enabled
> [    1.657728] printk: bootconsole [uart8250] disabled
> [    1.657728] printk: bootconsole [uart8250] disabled

From what we see that the base baud rate is 230400 (?), everything
else is, seems, correct.

So, three things, which came adhoc to my mind:
[1] Please, check the baud rate;
[2] Please, check to which group /dev/ttyS0 belongs (root dialout)?
[3] The terminal should be interactive, but no way to check this (from
the logs)???

My two cent worth answer,
Zee
_______

On Sun, Oct 16, 2022 at 8:32 PM Vaibhav Deshpande
<vdeshpande@...> wrote:
>
> Hello
>
> I am trying to build a yocto image from the kirkstone branch (https://github.com/openembedded/openembedded-core/tree/kirkstone) build gets successful but at the time of linux booting I am getting below error.

...[snap]...


Minutes: Yocto Project Weekly Triage Meeting 10/18/2022

sakib.sajal@...
 

Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage

Attendees: Steve Sakoman, Stephen Jolley, Randy Macleod, Joshua Watt, Alexandre Belloni, , Ross Burton, Tim Orling, Alexandre Belloni, Zheng

ARs:

N/A

Notes:

Medium+ 4.2 Unassigned Enhancements/Bugs: 45 (Last week 27)

Medium+ 4.99 Unassigned Enhancements/Bugs: 44 (Last week 44)

AB Bugs: 66 (Last week 53)


[meta-parsec][PATCH] Update PARSEC recipe to latest v1.1.0 release

Gowtham Suresh Kumar
 

This commit updates the parsec-service to v1.1.0 and the parsec-tool
to v0.5.4.

The buildpaths QA check has been disabled and relevant
issue links have been added to address this.

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@...>
---
meta-parsec/README.md | 1 +
...rvice_1.0.0.bb => parsec-service_1.1.0.bb} | 5 +
...ice_1.0.0.inc => parsec-service_1.1.0.inc} | 207 +++++++++---------
.../parsec-tool/parsec-tool_0.5.2.inc | 196 -----------------
...sec-tool_0.5.2.bb => parsec-tool_0.5.4.bb} | 5 +
.../parsec-tool/parsec-tool_0.5.4.inc | 176 +++++++++++++++
6 files changed, 286 insertions(+), 304 deletions(-)
rename meta-parsec/recipes-parsec/parsec-service/{parsec-service_1.0.0.bb => parsec-service_1.1.0.bb} (95%)
rename meta-parsec/recipes-parsec/parsec-service/{parsec-service_1.0.0.inc => parsec-service_1.1.0.inc} (52%)
delete mode 100644 meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc
rename meta-parsec/recipes-parsec/parsec-tool/{parsec-tool_0.5.2.bb => parsec-tool_0.5.4.bb} (71%)
create mode 100644 meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc

diff --git a/meta-parsec/README.md b/meta-parsec/README.md
index 99935bc..9b231f6 100644
--- a/meta-parsec/README.md
+++ b/meta-parsec/README.md
@@ -48,6 +48,7 @@ PKCS11 and MBED-CRYPTO providers build-in.
- DISTRO_FEATURES contains "tmp2" and
- "tpm-layer" (meta-tpm) is included in BBLAYERS

+The trusted service provider depends on libts recipe from meta-arm layer.

You can use PACKAGECONFIG for Parsec servic recipe to define
what providers should be built in. For example:
diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.bb
similarity index 95%
rename from meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
rename to meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.bb
index 931abee..218b776 100644
--- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
+++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.bb
@@ -83,3 +83,8 @@ FILES:${PN} += " \
"

require parsec-service_${PV}.inc
+
+# The QA check has been temporarily disabled. An issue has been created
+# upstream to fix this.
+# https://github.com/parallaxsecond/parsec/issues/645
+INSANE_SKIP:${PN}-dbg += "buildpaths"
diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.inc b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.inc
similarity index 52%
rename from meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.inc
rename to meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.inc
index b6934f8..c04bcbd 100644
--- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.inc
+++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.inc
@@ -2,61 +2,59 @@

SRC_URI += " \
crate://crates.io/ahash/0.7.6 \
- crate://crates.io/aho-corasick/0.7.18 \
+ crate://crates.io/aho-corasick/0.7.19 \
crate://crates.io/ansi_term/0.12.1 \
- crate://crates.io/anyhow/1.0.56 \
- crate://crates.io/arrayvec/0.5.2 \
+ crate://crates.io/anyhow/1.0.64 \
+ crate://crates.io/asn1-rs-derive/0.1.0 \
+ crate://crates.io/asn1-rs-impl/0.1.0 \
+ crate://crates.io/asn1-rs/0.3.1 \
crate://crates.io/atty/0.2.14 \
crate://crates.io/autocfg/1.1.0 \
- crate://crates.io/base64/0.12.3 \
crate://crates.io/base64/0.13.0 \
crate://crates.io/bincode/1.3.3 \
crate://crates.io/bindgen/0.57.0 \
crate://crates.io/bindgen/0.59.2 \
crate://crates.io/bitfield/0.13.2 \
crate://crates.io/bitflags/1.3.2 \
- crate://crates.io/bitvec/0.19.6 \
- crate://crates.io/bumpalo/3.9.1 \
- crate://crates.io/bytes/1.1.0 \
+ crate://crates.io/bumpalo/3.11.0 \
+ crate://crates.io/bytes/1.2.1 \
crate://crates.io/cc/1.0.73 \
crate://crates.io/cexpr/0.4.0 \
crate://crates.io/cexpr/0.6.0 \
crate://crates.io/cfg-if/1.0.0 \
- crate://crates.io/chrono/0.4.19 \
- crate://crates.io/clang-sys/1.3.1 \
+ crate://crates.io/clang-sys/1.3.3 \
crate://crates.io/clap/2.34.0 \
crate://crates.io/cmake/0.1.45 \
- crate://crates.io/const-oid/0.6.2 \
+ crate://crates.io/const-oid/0.7.1 \
crate://crates.io/cryptoauthlib-sys/0.2.2 \
- crate://crates.io/cryptoki-sys/0.1.3 \
- crate://crates.io/cryptoki/0.2.1 \
+ crate://crates.io/cryptoki-sys/0.1.4 \
+ crate://crates.io/cryptoki/0.3.0 \
crate://crates.io/data-encoding/2.3.2 \
- crate://crates.io/der-oid-macro/0.4.0 \
- crate://crates.io/der-parser/5.1.2 \
- crate://crates.io/der/0.4.5 \
+ crate://crates.io/der-parser/7.0.0 \
+ crate://crates.io/der/0.5.1 \
crate://crates.io/derivative/2.2.0 \
- crate://crates.io/either/1.6.1 \
- crate://crates.io/enumflags2/0.7.3 \
- crate://crates.io/enumflags2_derive/0.7.3 \
+ crate://crates.io/displaydoc/0.2.3 \
+ crate://crates.io/either/1.8.0 \
+ crate://crates.io/enumflags2/0.7.5 \
+ crate://crates.io/enumflags2_derive/0.7.4 \
crate://crates.io/env_logger/0.8.4 \
crate://crates.io/env_logger/0.9.0 \
crate://crates.io/fallible-iterator/0.2.0 \
crate://crates.io/fallible-streaming-iterator/0.1.9 \
- crate://crates.io/fastrand/1.7.0 \
+ crate://crates.io/fastrand/1.8.0 \
crate://crates.io/fixedbitset/0.2.0 \
crate://crates.io/form_urlencoded/1.0.1 \
- crate://crates.io/funty/1.1.0 \
- crate://crates.io/futures-channel/0.3.21 \
- crate://crates.io/futures-core/0.3.21 \
- crate://crates.io/futures-executor/0.3.21 \
- crate://crates.io/futures-io/0.3.21 \
- crate://crates.io/futures-macro/0.3.21 \
- crate://crates.io/futures-sink/0.3.21 \
- crate://crates.io/futures-task/0.3.21 \
- crate://crates.io/futures-util/0.3.21 \
- crate://crates.io/futures/0.3.21 \
- crate://crates.io/generic-array/0.14.5 \
- crate://crates.io/getrandom/0.2.5 \
+ crate://crates.io/futures-channel/0.3.24 \
+ crate://crates.io/futures-core/0.3.24 \
+ crate://crates.io/futures-executor/0.3.24 \
+ crate://crates.io/futures-io/0.3.24 \
+ crate://crates.io/futures-macro/0.3.24 \
+ crate://crates.io/futures-sink/0.3.24 \
+ crate://crates.io/futures-task/0.3.24 \
+ crate://crates.io/futures-util/0.3.24 \
+ crate://crates.io/futures/0.3.24 \
+ crate://crates.io/generic-array/0.14.6 \
+ crate://crates.io/getrandom/0.2.7 \
crate://crates.io/glob/0.3.0 \
crate://crates.io/grpcio-sys/0.9.1+1.38.0 \
crate://crates.io/grpcio/0.9.1 \
@@ -65,140 +63,134 @@ SRC_URI += " \
crate://crates.io/heck/0.3.3 \
crate://crates.io/hermit-abi/0.1.19 \
crate://crates.io/hex/0.4.3 \
- crate://crates.io/hostname-validator/1.1.0 \
+ crate://crates.io/hostname-validator/1.1.1 \
crate://crates.io/humantime/2.1.0 \
crate://crates.io/idna/0.2.3 \
- crate://crates.io/indexmap/1.8.0 \
+ crate://crates.io/indexmap/1.8.2 \
crate://crates.io/instant/0.1.12 \
crate://crates.io/itertools/0.10.3 \
- crate://crates.io/itoa/1.0.1 \
- crate://crates.io/js-sys/0.3.56 \
- crate://crates.io/jsonwebkey/0.3.2 \
- crate://crates.io/jsonwebtoken/7.2.0 \
+ crate://crates.io/itoa/1.0.3 \
+ crate://crates.io/js-sys/0.3.59 \
+ crate://crates.io/jsonwebkey/0.3.5 \
+ crate://crates.io/jsonwebtoken/8.1.1 \
crate://crates.io/lazy_static/1.4.0 \
crate://crates.io/lazycell/1.3.0 \
- crate://crates.io/lexical-core/0.7.6 \
- crate://crates.io/libc/0.2.120 \
+ crate://crates.io/libc/0.2.132 \
crate://crates.io/libloading/0.7.3 \
crate://crates.io/libsqlite3-sys/0.23.2 \
- crate://crates.io/libz-sys/1.1.5 \
- crate://crates.io/lock_api/0.4.6 \
- crate://crates.io/log/0.4.14 \
+ crate://crates.io/libz-sys/1.1.8 \
+ crate://crates.io/lock_api/0.4.8 \
+ crate://crates.io/log/0.4.17 \
crate://crates.io/matches/0.1.9 \
crate://crates.io/mbox/0.6.0 \
- crate://crates.io/memchr/2.4.1 \
+ crate://crates.io/memchr/2.5.0 \
crate://crates.io/minimal-lexical/0.2.1 \
crate://crates.io/multimap/0.8.3 \
crate://crates.io/nom/5.1.2 \
- crate://crates.io/nom/6.1.2 \
crate://crates.io/nom/7.1.1 \
- crate://crates.io/num-bigint/0.2.6 \
- crate://crates.io/num-bigint/0.3.3 \
crate://crates.io/num-bigint/0.4.3 \
- crate://crates.io/num-complex/0.3.1 \
+ crate://crates.io/num-complex/0.4.2 \
crate://crates.io/num-derive/0.3.3 \
- crate://crates.io/num-integer/0.1.44 \
- crate://crates.io/num-iter/0.1.42 \
- crate://crates.io/num-rational/0.3.2 \
- crate://crates.io/num-traits/0.2.14 \
- crate://crates.io/num/0.3.1 \
+ crate://crates.io/num-integer/0.1.45 \
+ crate://crates.io/num-iter/0.1.43 \
+ crate://crates.io/num-rational/0.4.1 \
+ crate://crates.io/num-traits/0.2.15 \
+ crate://crates.io/num/0.4.0 \
crate://crates.io/num_cpus/1.13.1 \
- crate://crates.io/oid-registry/0.1.5 \
+ crate://crates.io/num_threads/0.1.6 \
+ crate://crates.io/oid-registry/0.4.0 \
crate://crates.io/oid/0.2.1 \
- crate://crates.io/once_cell/1.10.0 \
+ crate://crates.io/once_cell/1.14.0 \
crate://crates.io/parking_lot/0.11.2 \
crate://crates.io/parking_lot_core/0.8.5 \
- crate://crates.io/parsec-interface/0.26.0 \
+ crate://crates.io/parsec-interface/0.27.0 \
crate://crates.io/peeking_take_while/0.1.2 \
- crate://crates.io/pem/0.8.3 \
+ crate://crates.io/pem/1.1.0 \
crate://crates.io/percent-encoding/2.1.0 \
- crate://crates.io/pest/2.1.3 \
+ crate://crates.io/pest/2.3.0 \
crate://crates.io/petgraph/0.5.1 \
crate://crates.io/picky-asn1-der/0.2.5 \
crate://crates.io/picky-asn1-x509/0.6.1 \
crate://crates.io/picky-asn1/0.3.3 \
- crate://crates.io/pin-project-lite/0.2.8 \
+ crate://crates.io/pin-project-lite/0.2.9 \
crate://crates.io/pin-utils/0.1.0 \
- crate://crates.io/pkcs8/0.7.6 \
- crate://crates.io/pkg-config/0.3.24 \
+ crate://crates.io/pkcs8/0.8.0 \
+ crate://crates.io/pkg-config/0.3.25 \
crate://crates.io/ppv-lite86/0.2.16 \
crate://crates.io/proc-macro-error-attr/1.0.4 \
crate://crates.io/proc-macro-error/1.0.4 \
- crate://crates.io/proc-macro2/1.0.36 \
+ crate://crates.io/proc-macro2/1.0.43 \
crate://crates.io/prost-build/0.8.0 \
crate://crates.io/prost-derive/0.8.0 \
crate://crates.io/prost-types/0.8.0 \
crate://crates.io/prost/0.8.0 \
crate://crates.io/protobuf/2.27.1 \
- crate://crates.io/psa-crypto-sys/0.9.2 \
- crate://crates.io/psa-crypto/0.9.1 \
- crate://crates.io/quote/1.0.15 \
- crate://crates.io/radium/0.5.3 \
+ crate://crates.io/psa-crypto-sys/0.9.3 \
+ crate://crates.io/psa-crypto/0.9.2 \
+ crate://crates.io/quote/1.0.21 \
crate://crates.io/rand/0.8.5 \
crate://crates.io/rand_chacha/0.3.1 \
crate://crates.io/rand_core/0.6.3 \
- crate://crates.io/redox_syscall/0.2.11 \
- crate://crates.io/regex-syntax/0.6.25 \
- crate://crates.io/regex/1.5.5 \
+ crate://crates.io/redox_syscall/0.2.16 \
+ crate://crates.io/regex-syntax/0.6.27 \
+ crate://crates.io/regex/1.6.0 \
crate://crates.io/remove_dir_all/0.5.3 \
crate://crates.io/ring/0.16.20 \
crate://crates.io/rusqlite/0.26.3 \
crate://crates.io/rust-cryptoauthlib/0.4.5 \
crate://crates.io/rustc-hash/1.1.0 \
crate://crates.io/rustc_version/0.3.3 \
- crate://crates.io/rusticata-macros/3.2.0 \
- crate://crates.io/rustversion/1.0.6 \
- crate://crates.io/ryu/1.0.9 \
+ crate://crates.io/rusticata-macros/4.1.0 \
+ crate://crates.io/ryu/1.0.11 \
crate://crates.io/same-file/1.0.6 \
crate://crates.io/scopeguard/1.1.0 \
crate://crates.io/sd-notify/0.2.0 \
crate://crates.io/secrecy/0.7.0 \
crate://crates.io/semver-parser/0.10.2 \
crate://crates.io/semver/0.11.0 \
- crate://crates.io/serde/1.0.136 \
- crate://crates.io/serde_bytes/0.11.5 \
- crate://crates.io/serde_derive/1.0.136 \
- crate://crates.io/serde_json/1.0.79 \
+ crate://crates.io/serde/1.0.144 \
+ crate://crates.io/serde_bytes/0.11.7 \
+ crate://crates.io/serde_derive/1.0.144 \
+ crate://crates.io/serde_json/1.0.85 \
crate://crates.io/shlex/0.1.1 \
crate://crates.io/shlex/1.1.0 \
crate://crates.io/signal-hook-registry/1.4.0 \
- crate://crates.io/signal-hook/0.3.13 \
- crate://crates.io/simple_asn1/0.4.1 \
- crate://crates.io/simple_asn1/0.5.4 \
- crate://crates.io/slab/0.4.5 \
- crate://crates.io/smallvec/1.8.0 \
- crate://crates.io/spiffe/0.2.0 \
+ crate://crates.io/signal-hook/0.3.14 \
+ crate://crates.io/simple_asn1/0.6.2 \
+ crate://crates.io/slab/0.4.7 \
+ crate://crates.io/smallvec/1.9.0 \
+ crate://crates.io/spiffe/0.2.1 \
crate://crates.io/spin/0.5.2 \
- crate://crates.io/spki/0.4.1 \
+ crate://crates.io/spki/0.5.4 \
crate://crates.io/stable_deref_trait/1.2.0 \
- crate://crates.io/static_assertions/1.1.0 \
crate://crates.io/strsim/0.8.0 \
crate://crates.io/structopt-derive/0.4.18 \
crate://crates.io/structopt/0.3.26 \
crate://crates.io/strum_macros/0.21.1 \
- crate://crates.io/syn/1.0.88 \
+ crate://crates.io/syn/1.0.99 \
crate://crates.io/synstructure/0.12.6 \
- crate://crates.io/tap/1.0.1 \
- crate://crates.io/target-lexicon/0.12.3 \
+ crate://crates.io/target-lexicon/0.12.4 \
crate://crates.io/tempfile/3.3.0 \
crate://crates.io/termcolor/1.1.3 \
crate://crates.io/textwrap/0.11.0 \
- crate://crates.io/thiserror-impl/1.0.30 \
- crate://crates.io/thiserror/1.0.30 \
+ crate://crates.io/thiserror-impl/1.0.33 \
+ crate://crates.io/thiserror/1.0.33 \
crate://crates.io/threadpool/1.8.1 \
- crate://crates.io/time/0.1.44 \
- crate://crates.io/tinyvec/1.5.1 \
+ crate://crates.io/time-macros/0.2.4 \
+ crate://crates.io/time/0.3.14 \
+ crate://crates.io/tinyvec/1.6.0 \
crate://crates.io/tinyvec_macros/0.1.0 \
- crate://crates.io/toml/0.5.8 \
+ crate://crates.io/toml/0.5.9 \
crate://crates.io/tss-esapi-sys/0.3.0 \
- crate://crates.io/tss-esapi/7.0.1 \
+ crate://crates.io/tss-esapi/7.1.0 \
crate://crates.io/typenum/1.15.0 \
- crate://crates.io/ucd-trie/0.1.3 \
- crate://crates.io/unicode-bidi/0.3.7 \
- crate://crates.io/unicode-normalization/0.1.19 \
+ crate://crates.io/ucd-trie/0.1.4 \
+ crate://crates.io/unicode-bidi/0.3.8 \
+ crate://crates.io/unicode-ident/1.0.3 \
+ crate://crates.io/unicode-normalization/0.1.21 \
crate://crates.io/unicode-segmentation/1.9.0 \
crate://crates.io/unicode-width/0.1.9 \
- crate://crates.io/unicode-xid/0.2.2 \
+ crate://crates.io/unicode-xid/0.2.3 \
crate://crates.io/untrusted/0.7.1 \
crate://crates.io/url/2.2.2 \
crate://crates.io/users/0.11.0 \
@@ -208,22 +200,21 @@ SRC_URI += " \
crate://crates.io/version/3.0.0 \
crate://crates.io/version_check/0.9.4 \
crate://crates.io/walkdir/2.3.2 \
- crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \
- crate://crates.io/wasm-bindgen-backend/0.2.79 \
- crate://crates.io/wasm-bindgen-macro-support/0.2.79 \
- crate://crates.io/wasm-bindgen-macro/0.2.79 \
- crate://crates.io/wasm-bindgen-shared/0.2.79 \
- crate://crates.io/wasm-bindgen/0.2.79 \
- crate://crates.io/web-sys/0.3.56 \
- crate://crates.io/which/4.2.4 \
+ crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
+ crate://crates.io/wasm-bindgen-backend/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro-support/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro/0.2.82 \
+ crate://crates.io/wasm-bindgen-shared/0.2.82 \
+ crate://crates.io/wasm-bindgen/0.2.82 \
+ crate://crates.io/web-sys/0.3.59 \
+ crate://crates.io/which/4.3.0 \
crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
crate://crates.io/winapi-util/0.1.5 \
crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
crate://crates.io/winapi/0.3.9 \
- crate://crates.io/wyz/0.2.0 \
- crate://crates.io/x509-parser/0.9.2 \
- crate://crates.io/yasna/0.3.2 \
- crate://crates.io/zeroize/1.3.0 \
+ crate://crates.io/x509-parser/0.13.2 \
+ crate://crates.io/yasna/0.4.0 \
+ crate://crates.io/zeroize/1.5.7 \
crate://crates.io/zeroize_derive/1.3.2 \
"

diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc
deleted file mode 100644
index d17ec25..0000000
--- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc
+++ /dev/null
@@ -1,196 +0,0 @@
-# This file is created from parsec-tool repository Cargo.lock using cargo-bitbake tool
-
-SRC_URI += " \
- crate://crates.io/aho-corasick/0.7.18 \
- crate://crates.io/ansi_term/0.12.1 \
- crate://crates.io/anyhow/1.0.56 \
- crate://crates.io/arrayvec/0.5.2 \
- crate://crates.io/atty/0.2.14 \
- crate://crates.io/autocfg/1.1.0 \
- crate://crates.io/base64/0.12.3 \
- crate://crates.io/base64/0.13.0 \
- crate://crates.io/bincode/1.3.3 \
- crate://crates.io/bindgen/0.57.0 \
- crate://crates.io/bitflags/1.3.2 \
- crate://crates.io/bitvec/0.19.6 \
- crate://crates.io/block-buffer/0.9.0 \
- crate://crates.io/bumpalo/3.9.1 \
- crate://crates.io/bytes/1.1.0 \
- crate://crates.io/cc/1.0.73 \
- crate://crates.io/cexpr/0.4.0 \
- crate://crates.io/cfg-if/1.0.0 \
- crate://crates.io/chrono/0.4.19 \
- crate://crates.io/clang-sys/1.3.1 \
- crate://crates.io/clap/2.34.0 \
- crate://crates.io/clap/3.0.0-beta.5 \
- crate://crates.io/clap_derive/3.0.0-beta.5 \
- crate://crates.io/cmake/0.1.48 \
- crate://crates.io/const-oid/0.6.2 \
- crate://crates.io/cpufeatures/0.2.1 \
- crate://crates.io/data-encoding/2.3.2 \
- crate://crates.io/der-oid-macro/0.4.0 \
- crate://crates.io/der-parser/5.1.2 \
- crate://crates.io/der/0.4.5 \
- crate://crates.io/derivative/2.2.0 \
- crate://crates.io/digest/0.9.0 \
- crate://crates.io/either/1.6.1 \
- crate://crates.io/env_logger/0.8.4 \
- crate://crates.io/form_urlencoded/1.0.1 \
- crate://crates.io/funty/1.1.0 \
- crate://crates.io/futures-channel/0.3.21 \
- crate://crates.io/futures-core/0.3.21 \
- crate://crates.io/futures-executor/0.3.21 \
- crate://crates.io/futures-io/0.3.21 \
- crate://crates.io/futures-macro/0.3.21 \
- crate://crates.io/futures-sink/0.3.21 \
- crate://crates.io/futures-task/0.3.21 \
- crate://crates.io/futures-util/0.3.21 \
- crate://crates.io/futures/0.3.21 \
- crate://crates.io/generic-array/0.14.5 \
- crate://crates.io/glob/0.3.0 \
- crate://crates.io/grpcio-sys/0.9.1+1.38.0 \
- crate://crates.io/grpcio/0.9.1 \
- crate://crates.io/hashbrown/0.11.2 \
- crate://crates.io/heck/0.3.3 \
- crate://crates.io/hermit-abi/0.1.19 \
- crate://crates.io/humantime/2.1.0 \
- crate://crates.io/idna/0.2.3 \
- crate://crates.io/indexmap/1.8.0 \
- crate://crates.io/instant/0.1.12 \
- crate://crates.io/itertools/0.10.3 \
- crate://crates.io/itoa/1.0.1 \
- crate://crates.io/js-sys/0.3.56 \
- crate://crates.io/jsonwebkey/0.3.2 \
- crate://crates.io/jsonwebtoken/7.2.0 \
- crate://crates.io/lazy_static/1.4.0 \
- crate://crates.io/lazycell/1.3.0 \
- crate://crates.io/lexical-core/0.7.6 \
- crate://crates.io/libc/0.2.120 \
- crate://crates.io/libloading/0.7.3 \
- crate://crates.io/libz-sys/1.1.5 \
- crate://crates.io/lock_api/0.4.6 \
- crate://crates.io/log/0.4.14 \
- crate://crates.io/matches/0.1.9 \
- crate://crates.io/memchr/2.4.1 \
- crate://crates.io/nom/5.1.2 \
- crate://crates.io/nom/6.1.2 \
- crate://crates.io/num-bigint/0.2.6 \
- crate://crates.io/num-bigint/0.3.3 \
- crate://crates.io/num-bigint/0.4.3 \
- crate://crates.io/num-complex/0.3.1 \
- crate://crates.io/num-derive/0.3.3 \
- crate://crates.io/num-integer/0.1.44 \
- crate://crates.io/num-iter/0.1.42 \
- crate://crates.io/num-rational/0.3.2 \
- crate://crates.io/num-traits/0.2.14 \
- crate://crates.io/num/0.3.1 \
- crate://crates.io/num_threads/0.1.5 \
- crate://crates.io/oid-registry/0.1.5 \
- crate://crates.io/oid/0.2.1 \
- crate://crates.io/once_cell/1.10.0 \
- crate://crates.io/opaque-debug/0.3.0 \
- crate://crates.io/os_str_bytes/4.1.1 \
- crate://crates.io/parking_lot/0.11.2 \
- crate://crates.io/parking_lot_core/0.8.5 \
- crate://crates.io/parsec-client/0.14.0 \
- crate://crates.io/parsec-interface/0.26.0 \
- crate://crates.io/peeking_take_while/0.1.2 \
- crate://crates.io/pem/0.8.3 \
- crate://crates.io/pem/1.0.2 \
- crate://crates.io/percent-encoding/2.1.0 \
- crate://crates.io/picky-asn1-der/0.2.5 \
- crate://crates.io/picky-asn1-x509/0.6.1 \
- crate://crates.io/picky-asn1/0.3.3 \
- crate://crates.io/pin-project-lite/0.2.8 \
- crate://crates.io/pin-utils/0.1.0 \
- crate://crates.io/pkcs8/0.7.6 \
- crate://crates.io/pkg-config/0.3.24 \
- crate://crates.io/proc-macro-error-attr/1.0.4 \
- crate://crates.io/proc-macro-error/1.0.4 \
- crate://crates.io/proc-macro2/1.0.36 \
- crate://crates.io/prost-derive/0.8.0 \
- crate://crates.io/prost/0.8.0 \
- crate://crates.io/protobuf/2.27.1 \
- crate://crates.io/psa-crypto-sys/0.9.2 \
- crate://crates.io/psa-crypto/0.9.1 \
- crate://crates.io/quote/1.0.15 \
- crate://crates.io/radium/0.5.3 \
- crate://crates.io/rcgen/0.9.2 \
- crate://crates.io/redox_syscall/0.2.11 \
- crate://crates.io/regex-syntax/0.6.25 \
- crate://crates.io/regex/1.5.5 \
- crate://crates.io/ring/0.16.20 \
- crate://crates.io/rustc-hash/1.1.0 \
- crate://crates.io/rusticata-macros/3.2.0 \
- crate://crates.io/rustversion/1.0.6 \
- crate://crates.io/ryu/1.0.9 \
- crate://crates.io/same-file/1.0.6 \
- crate://crates.io/scopeguard/1.1.0 \
- crate://crates.io/secrecy/0.7.0 \
- crate://crates.io/serde/1.0.136 \
- crate://crates.io/serde_bytes/0.11.5 \
- crate://crates.io/serde_derive/1.0.136 \
- crate://crates.io/serde_json/1.0.79 \
- crate://crates.io/sha2/0.9.9 \
- crate://crates.io/shlex/0.1.1 \
- crate://crates.io/simple_asn1/0.4.1 \
- crate://crates.io/simple_asn1/0.5.4 \
- crate://crates.io/slab/0.4.5 \
- crate://crates.io/smallvec/1.8.0 \
- crate://crates.io/spiffe/0.2.0 \
- crate://crates.io/spin/0.5.2 \
- crate://crates.io/spki/0.4.1 \
- crate://crates.io/static_assertions/1.1.0 \
- crate://crates.io/strsim/0.10.0 \
- crate://crates.io/strsim/0.8.0 \
- crate://crates.io/structopt-derive/0.4.18 \
- crate://crates.io/structopt/0.3.26 \
- crate://crates.io/syn/1.0.89 \
- crate://crates.io/synstructure/0.12.6 \
- crate://crates.io/tap/1.0.1 \
- crate://crates.io/termcolor/1.1.3 \
- crate://crates.io/textwrap/0.11.0 \
- crate://crates.io/textwrap/0.14.2 \
- crate://crates.io/thiserror-impl/1.0.30 \
- crate://crates.io/thiserror/1.0.30 \
- crate://crates.io/time/0.1.44 \
- crate://crates.io/time/0.3.7 \
- crate://crates.io/tinyvec/1.5.1 \
- crate://crates.io/tinyvec_macros/0.1.0 \
- crate://crates.io/typenum/1.15.0 \
- crate://crates.io/unicase/2.6.0 \
- crate://crates.io/unicode-bidi/0.3.7 \
- crate://crates.io/unicode-normalization/0.1.19 \
- crate://crates.io/unicode-segmentation/1.9.0 \
- crate://crates.io/unicode-width/0.1.9 \
- crate://crates.io/unicode-xid/0.2.2 \
- crate://crates.io/untrusted/0.7.1 \
- crate://crates.io/url/2.2.2 \
- crate://crates.io/users/0.10.0 \
- crate://crates.io/uuid/0.8.2 \
- crate://crates.io/vcpkg/0.2.15 \
- crate://crates.io/vec_map/0.8.2 \
- crate://crates.io/version_check/0.9.4 \
- crate://crates.io/walkdir/2.3.2 \
- crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \
- crate://crates.io/wasm-bindgen-backend/0.2.79 \
- crate://crates.io/wasm-bindgen-macro-support/0.2.79 \
- crate://crates.io/wasm-bindgen-macro/0.2.79 \
- crate://crates.io/wasm-bindgen-shared/0.2.79 \
- crate://crates.io/wasm-bindgen/0.2.79 \
- crate://crates.io/web-sys/0.3.56 \
- crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
- crate://crates.io/winapi-util/0.1.5 \
- crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
- crate://crates.io/winapi/0.3.9 \
- crate://crates.io/wyz/0.2.0 \
- crate://crates.io/x509-parser/0.9.2 \
- crate://crates.io/yasna/0.3.2 \
- crate://crates.io/yasna/0.5.0 \
- crate://crates.io/zeroize/1.3.0 \
- crate://crates.io/zeroize_derive/1.3.2 \
-"
-
-LIC_FILES_CHKSUM = " \
- file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
-"
diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.bb b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.bb
similarity index 71%
rename from meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.bb
rename to meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.bb
index 6ecce8e..0f62009 100644
--- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.bb
+++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.bb
@@ -16,3 +16,8 @@ do_install() {
}

require parsec-tool_${PV}.inc
+
+# The QA check has been temporarily disabled. An issue has been created
+# upstream to fix this.
+# https://github.com/parallaxsecond/parsec-tool/issues/94
+INSANE_SKIP:${PN}-dbg += "buildpaths"
diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc
new file mode 100644
index 0000000..36d98d3
--- /dev/null
+++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc
@@ -0,0 +1,176 @@
+# This file is created from parsec-tool repository Cargo.lock using cargo-bitbake tool
+
+SRC_URI += " \
+ crate://crates.io/aho-corasick/0.7.19 \
+ crate://crates.io/ansi_term/0.12.1 \
+ crate://crates.io/anyhow/1.0.64 \
+ crate://crates.io/asn1-rs-derive/0.1.0 \
+ crate://crates.io/asn1-rs-impl/0.1.0 \
+ crate://crates.io/asn1-rs/0.3.1 \
+ crate://crates.io/atty/0.2.14 \
+ crate://crates.io/autocfg/1.1.0 \
+ crate://crates.io/base64/0.13.0 \
+ crate://crates.io/bincode/1.3.3 \
+ crate://crates.io/bindgen/0.57.0 \
+ crate://crates.io/bitflags/1.3.2 \
+ crate://crates.io/block-buffer/0.9.0 \
+ crate://crates.io/bumpalo/3.11.0 \
+ crate://crates.io/bytes/1.2.1 \
+ crate://crates.io/cc/1.0.73 \
+ crate://crates.io/cexpr/0.4.0 \
+ crate://crates.io/cfg-if/1.0.0 \
+ crate://crates.io/clang-sys/1.3.3 \
+ crate://crates.io/clap/2.34.0 \
+ crate://crates.io/cmake/0.1.45 \
+ crate://crates.io/const-oid/0.7.1 \
+ crate://crates.io/cpufeatures/0.2.5 \
+ crate://crates.io/data-encoding/2.3.2 \
+ crate://crates.io/der-parser/7.0.0 \
+ crate://crates.io/der/0.5.1 \
+ crate://crates.io/derivative/2.2.0 \
+ crate://crates.io/digest/0.9.0 \
+ crate://crates.io/displaydoc/0.2.3 \
+ crate://crates.io/either/1.8.0 \
+ crate://crates.io/env_logger/0.8.4 \
+ crate://crates.io/form_urlencoded/1.1.0 \
+ crate://crates.io/futures-channel/0.3.24 \
+ crate://crates.io/futures-core/0.3.24 \
+ crate://crates.io/futures-executor/0.3.24 \
+ crate://crates.io/futures-io/0.3.24 \
+ crate://crates.io/futures-macro/0.3.24 \
+ crate://crates.io/futures-sink/0.3.24 \
+ crate://crates.io/futures-task/0.3.24 \
+ crate://crates.io/futures-util/0.3.24 \
+ crate://crates.io/futures/0.3.24 \
+ crate://crates.io/generic-array/0.14.6 \
+ crate://crates.io/glob/0.3.0 \
+ crate://crates.io/grpcio-sys/0.9.1+1.38.0 \
+ crate://crates.io/grpcio/0.9.1 \
+ crate://crates.io/heck/0.3.3 \
+ crate://crates.io/hermit-abi/0.1.19 \
+ crate://crates.io/humantime/2.1.0 \
+ crate://crates.io/idna/0.3.0 \
+ crate://crates.io/instant/0.1.12 \
+ crate://crates.io/itertools/0.10.3 \
+ crate://crates.io/itoa/1.0.3 \
+ crate://crates.io/js-sys/0.3.59 \
+ crate://crates.io/jsonwebkey/0.3.5 \
+ crate://crates.io/jsonwebtoken/8.1.1 \
+ crate://crates.io/lazy_static/1.4.0 \
+ crate://crates.io/lazycell/1.3.0 \
+ crate://crates.io/libc/0.2.132 \
+ crate://crates.io/libloading/0.7.3 \
+ crate://crates.io/libz-sys/1.1.8 \
+ crate://crates.io/lock_api/0.4.8 \
+ crate://crates.io/log/0.4.17 \
+ crate://crates.io/memchr/2.5.0 \
+ crate://crates.io/minimal-lexical/0.2.1 \
+ crate://crates.io/nom/5.1.2 \
+ crate://crates.io/nom/7.1.1 \
+ crate://crates.io/num-bigint/0.4.3 \
+ crate://crates.io/num-complex/0.4.2 \
+ crate://crates.io/num-derive/0.3.3 \
+ crate://crates.io/num-integer/0.1.45 \
+ crate://crates.io/num-iter/0.1.43 \
+ crate://crates.io/num-rational/0.4.1 \
+ crate://crates.io/num-traits/0.2.15 \
+ crate://crates.io/num/0.4.0 \
+ crate://crates.io/num_threads/0.1.6 \
+ crate://crates.io/oid-registry/0.4.0 \
+ crate://crates.io/oid/0.2.1 \
+ crate://crates.io/once_cell/1.14.0 \
+ crate://crates.io/opaque-debug/0.3.0 \
+ crate://crates.io/parking_lot/0.11.2 \
+ crate://crates.io/parking_lot_core/0.8.5 \
+ crate://crates.io/parsec-client/0.14.1 \
+ crate://crates.io/parsec-interface/0.27.0 \
+ crate://crates.io/peeking_take_while/0.1.2 \
+ crate://crates.io/pem/1.1.0 \
+ crate://crates.io/percent-encoding/2.2.0 \
+ crate://crates.io/picky-asn1-der/0.2.5 \
+ crate://crates.io/picky-asn1-x509/0.6.1 \
+ crate://crates.io/picky-asn1/0.3.3 \
+ crate://crates.io/pin-project-lite/0.2.9 \
+ crate://crates.io/pin-utils/0.1.0 \
+ crate://crates.io/pkcs8/0.8.0 \
+ crate://crates.io/pkg-config/0.3.25 \
+ crate://crates.io/proc-macro-error-attr/1.0.4 \
+ crate://crates.io/proc-macro-error/1.0.4 \
+ crate://crates.io/proc-macro2/1.0.43 \
+ crate://crates.io/prost-derive/0.8.0 \
+ crate://crates.io/prost/0.8.0 \
+ crate://crates.io/protobuf/2.27.1 \
+ crate://crates.io/psa-crypto-sys/0.9.3 \
+ crate://crates.io/psa-crypto/0.9.2 \
+ crate://crates.io/quote/1.0.21 \
+ crate://crates.io/rcgen/0.9.3 \
+ crate://crates.io/redox_syscall/0.2.16 \
+ crate://crates.io/regex-syntax/0.6.27 \
+ crate://crates.io/regex/1.6.0 \
+ crate://crates.io/ring/0.16.20 \
+ crate://crates.io/rustc-hash/1.1.0 \
+ crate://crates.io/rusticata-macros/4.1.0 \
+ crate://crates.io/ryu/1.0.11 \
+ crate://crates.io/same-file/1.0.6 \
+ crate://crates.io/scopeguard/1.1.0 \
+ crate://crates.io/secrecy/0.7.0 \
+ crate://crates.io/serde/1.0.144 \
+ crate://crates.io/serde_bytes/0.11.7 \
+ crate://crates.io/serde_derive/1.0.144 \
+ crate://crates.io/serde_json/1.0.85 \
+ crate://crates.io/sha2/0.9.9 \
+ crate://crates.io/shlex/0.1.1 \
+ crate://crates.io/simple_asn1/0.6.2 \
+ crate://crates.io/slab/0.4.7 \
+ crate://crates.io/smallvec/1.9.0 \
+ crate://crates.io/spiffe/0.2.1 \
+ crate://crates.io/spin/0.5.2 \
+ crate://crates.io/spki/0.5.4 \
+ crate://crates.io/strsim/0.8.0 \
+ crate://crates.io/structopt-derive/0.4.18 \
+ crate://crates.io/structopt/0.3.26 \
+ crate://crates.io/syn/1.0.99 \
+ crate://crates.io/synstructure/0.12.6 \
+ crate://crates.io/termcolor/1.1.3 \
+ crate://crates.io/textwrap/0.11.0 \
+ crate://crates.io/thiserror-impl/1.0.34 \
+ crate://crates.io/thiserror/1.0.34 \
+ crate://crates.io/time-macros/0.2.3 \
+ crate://crates.io/time/0.3.7 \
+ crate://crates.io/tinyvec/1.6.0 \
+ crate://crates.io/tinyvec_macros/0.1.0 \
+ crate://crates.io/typenum/1.15.0 \
+ crate://crates.io/unicode-bidi/0.3.8 \
+ crate://crates.io/unicode-ident/1.0.3 \
+ crate://crates.io/unicode-normalization/0.1.21 \
+ crate://crates.io/unicode-segmentation/1.9.0 \
+ crate://crates.io/unicode-width/0.1.9 \
+ crate://crates.io/unicode-xid/0.2.3 \
+ crate://crates.io/untrusted/0.7.1 \
+ crate://crates.io/url/2.3.1 \
+ crate://crates.io/users/0.11.0 \
+ crate://crates.io/uuid/0.8.2 \
+ crate://crates.io/vcpkg/0.2.15 \
+ crate://crates.io/vec_map/0.8.2 \
+ crate://crates.io/version_check/0.9.4 \
+ crate://crates.io/walkdir/2.3.2 \
+ crate://crates.io/wasm-bindgen-backend/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro-support/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro/0.2.82 \
+ crate://crates.io/wasm-bindgen-shared/0.2.82 \
+ crate://crates.io/wasm-bindgen/0.2.82 \
+ crate://crates.io/web-sys/0.3.59 \
+ crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
+ crate://crates.io/winapi-util/0.1.5 \
+ crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
+ crate://crates.io/winapi/0.3.9 \
+ crate://crates.io/x509-parser/0.13.2 \
+ crate://crates.io/yasna/0.4.0 \
+ crate://crates.io/yasna/0.5.0 \
+ crate://crates.io/zeroize/1.5.7 \
+ crate://crates.io/zeroize_derive/1.3.2 \
+"
+
+LIC_FILES_CHKSUM = " \
+ file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+"
--
2.17.1


[meta-security][PATCH] Update PARSEC recipe to latest v1.1.0 release

Gowtham Suresh Kumar
 

This commit updates the parsec-service to v1.1.0 and the parsec-tool
to v0.5.4.

The buildpaths QA check has been disabled and relevant
issue links have been added to address this.

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@...>
---
meta-parsec/README.md | 1 +
...rvice_1.0.0.bb => parsec-service_1.1.0.bb} | 5 +
...ice_1.0.0.inc => parsec-service_1.1.0.inc} | 207 +++++++++---------
.../parsec-tool/parsec-tool_0.5.2.inc | 196 -----------------
...sec-tool_0.5.2.bb => parsec-tool_0.5.4.bb} | 5 +
.../parsec-tool/parsec-tool_0.5.4.inc | 176 +++++++++++++++
6 files changed, 286 insertions(+), 304 deletions(-)
rename meta-parsec/recipes-parsec/parsec-service/{parsec-service_1.0.0.bb => parsec-service_1.1.0.bb} (95%)
rename meta-parsec/recipes-parsec/parsec-service/{parsec-service_1.0.0.inc => parsec-service_1.1.0.inc} (52%)
delete mode 100644 meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc
rename meta-parsec/recipes-parsec/parsec-tool/{parsec-tool_0.5.2.bb => parsec-tool_0.5.4.bb} (71%)
create mode 100644 meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc

diff --git a/meta-parsec/README.md b/meta-parsec/README.md
index 99935bc..9b231f6 100644
--- a/meta-parsec/README.md
+++ b/meta-parsec/README.md
@@ -48,6 +48,7 @@ PKCS11 and MBED-CRYPTO providers build-in.
- DISTRO_FEATURES contains "tmp2" and
- "tpm-layer" (meta-tpm) is included in BBLAYERS

+The trusted service provider depends on libts recipe from meta-arm layer.

You can use PACKAGECONFIG for Parsec servic recipe to define
what providers should be built in. For example:
diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.bb
similarity index 95%
rename from meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
rename to meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.bb
index 931abee..218b776 100644
--- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
+++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.bb
@@ -83,3 +83,8 @@ FILES:${PN} += " \
"

require parsec-service_${PV}.inc
+
+# The QA check has been temporarily disabled. An issue has been created
+# upstream to fix this.
+# https://github.com/parallaxsecond/parsec/issues/645
+INSANE_SKIP:${PN}-dbg += "buildpaths"
diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.inc b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.inc
similarity index 52%
rename from meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.inc
rename to meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.inc
index b6934f8..c04bcbd 100644
--- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.inc
+++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.1.0.inc
@@ -2,61 +2,59 @@

SRC_URI += " \
crate://crates.io/ahash/0.7.6 \
- crate://crates.io/aho-corasick/0.7.18 \
+ crate://crates.io/aho-corasick/0.7.19 \
crate://crates.io/ansi_term/0.12.1 \
- crate://crates.io/anyhow/1.0.56 \
- crate://crates.io/arrayvec/0.5.2 \
+ crate://crates.io/anyhow/1.0.64 \
+ crate://crates.io/asn1-rs-derive/0.1.0 \
+ crate://crates.io/asn1-rs-impl/0.1.0 \
+ crate://crates.io/asn1-rs/0.3.1 \
crate://crates.io/atty/0.2.14 \
crate://crates.io/autocfg/1.1.0 \
- crate://crates.io/base64/0.12.3 \
crate://crates.io/base64/0.13.0 \
crate://crates.io/bincode/1.3.3 \
crate://crates.io/bindgen/0.57.0 \
crate://crates.io/bindgen/0.59.2 \
crate://crates.io/bitfield/0.13.2 \
crate://crates.io/bitflags/1.3.2 \
- crate://crates.io/bitvec/0.19.6 \
- crate://crates.io/bumpalo/3.9.1 \
- crate://crates.io/bytes/1.1.0 \
+ crate://crates.io/bumpalo/3.11.0 \
+ crate://crates.io/bytes/1.2.1 \
crate://crates.io/cc/1.0.73 \
crate://crates.io/cexpr/0.4.0 \
crate://crates.io/cexpr/0.6.0 \
crate://crates.io/cfg-if/1.0.0 \
- crate://crates.io/chrono/0.4.19 \
- crate://crates.io/clang-sys/1.3.1 \
+ crate://crates.io/clang-sys/1.3.3 \
crate://crates.io/clap/2.34.0 \
crate://crates.io/cmake/0.1.45 \
- crate://crates.io/const-oid/0.6.2 \
+ crate://crates.io/const-oid/0.7.1 \
crate://crates.io/cryptoauthlib-sys/0.2.2 \
- crate://crates.io/cryptoki-sys/0.1.3 \
- crate://crates.io/cryptoki/0.2.1 \
+ crate://crates.io/cryptoki-sys/0.1.4 \
+ crate://crates.io/cryptoki/0.3.0 \
crate://crates.io/data-encoding/2.3.2 \
- crate://crates.io/der-oid-macro/0.4.0 \
- crate://crates.io/der-parser/5.1.2 \
- crate://crates.io/der/0.4.5 \
+ crate://crates.io/der-parser/7.0.0 \
+ crate://crates.io/der/0.5.1 \
crate://crates.io/derivative/2.2.0 \
- crate://crates.io/either/1.6.1 \
- crate://crates.io/enumflags2/0.7.3 \
- crate://crates.io/enumflags2_derive/0.7.3 \
+ crate://crates.io/displaydoc/0.2.3 \
+ crate://crates.io/either/1.8.0 \
+ crate://crates.io/enumflags2/0.7.5 \
+ crate://crates.io/enumflags2_derive/0.7.4 \
crate://crates.io/env_logger/0.8.4 \
crate://crates.io/env_logger/0.9.0 \
crate://crates.io/fallible-iterator/0.2.0 \
crate://crates.io/fallible-streaming-iterator/0.1.9 \
- crate://crates.io/fastrand/1.7.0 \
+ crate://crates.io/fastrand/1.8.0 \
crate://crates.io/fixedbitset/0.2.0 \
crate://crates.io/form_urlencoded/1.0.1 \
- crate://crates.io/funty/1.1.0 \
- crate://crates.io/futures-channel/0.3.21 \
- crate://crates.io/futures-core/0.3.21 \
- crate://crates.io/futures-executor/0.3.21 \
- crate://crates.io/futures-io/0.3.21 \
- crate://crates.io/futures-macro/0.3.21 \
- crate://crates.io/futures-sink/0.3.21 \
- crate://crates.io/futures-task/0.3.21 \
- crate://crates.io/futures-util/0.3.21 \
- crate://crates.io/futures/0.3.21 \
- crate://crates.io/generic-array/0.14.5 \
- crate://crates.io/getrandom/0.2.5 \
+ crate://crates.io/futures-channel/0.3.24 \
+ crate://crates.io/futures-core/0.3.24 \
+ crate://crates.io/futures-executor/0.3.24 \
+ crate://crates.io/futures-io/0.3.24 \
+ crate://crates.io/futures-macro/0.3.24 \
+ crate://crates.io/futures-sink/0.3.24 \
+ crate://crates.io/futures-task/0.3.24 \
+ crate://crates.io/futures-util/0.3.24 \
+ crate://crates.io/futures/0.3.24 \
+ crate://crates.io/generic-array/0.14.6 \
+ crate://crates.io/getrandom/0.2.7 \
crate://crates.io/glob/0.3.0 \
crate://crates.io/grpcio-sys/0.9.1+1.38.0 \
crate://crates.io/grpcio/0.9.1 \
@@ -65,140 +63,134 @@ SRC_URI += " \
crate://crates.io/heck/0.3.3 \
crate://crates.io/hermit-abi/0.1.19 \
crate://crates.io/hex/0.4.3 \
- crate://crates.io/hostname-validator/1.1.0 \
+ crate://crates.io/hostname-validator/1.1.1 \
crate://crates.io/humantime/2.1.0 \
crate://crates.io/idna/0.2.3 \
- crate://crates.io/indexmap/1.8.0 \
+ crate://crates.io/indexmap/1.8.2 \
crate://crates.io/instant/0.1.12 \
crate://crates.io/itertools/0.10.3 \
- crate://crates.io/itoa/1.0.1 \
- crate://crates.io/js-sys/0.3.56 \
- crate://crates.io/jsonwebkey/0.3.2 \
- crate://crates.io/jsonwebtoken/7.2.0 \
+ crate://crates.io/itoa/1.0.3 \
+ crate://crates.io/js-sys/0.3.59 \
+ crate://crates.io/jsonwebkey/0.3.5 \
+ crate://crates.io/jsonwebtoken/8.1.1 \
crate://crates.io/lazy_static/1.4.0 \
crate://crates.io/lazycell/1.3.0 \
- crate://crates.io/lexical-core/0.7.6 \
- crate://crates.io/libc/0.2.120 \
+ crate://crates.io/libc/0.2.132 \
crate://crates.io/libloading/0.7.3 \
crate://crates.io/libsqlite3-sys/0.23.2 \
- crate://crates.io/libz-sys/1.1.5 \
- crate://crates.io/lock_api/0.4.6 \
- crate://crates.io/log/0.4.14 \
+ crate://crates.io/libz-sys/1.1.8 \
+ crate://crates.io/lock_api/0.4.8 \
+ crate://crates.io/log/0.4.17 \
crate://crates.io/matches/0.1.9 \
crate://crates.io/mbox/0.6.0 \
- crate://crates.io/memchr/2.4.1 \
+ crate://crates.io/memchr/2.5.0 \
crate://crates.io/minimal-lexical/0.2.1 \
crate://crates.io/multimap/0.8.3 \
crate://crates.io/nom/5.1.2 \
- crate://crates.io/nom/6.1.2 \
crate://crates.io/nom/7.1.1 \
- crate://crates.io/num-bigint/0.2.6 \
- crate://crates.io/num-bigint/0.3.3 \
crate://crates.io/num-bigint/0.4.3 \
- crate://crates.io/num-complex/0.3.1 \
+ crate://crates.io/num-complex/0.4.2 \
crate://crates.io/num-derive/0.3.3 \
- crate://crates.io/num-integer/0.1.44 \
- crate://crates.io/num-iter/0.1.42 \
- crate://crates.io/num-rational/0.3.2 \
- crate://crates.io/num-traits/0.2.14 \
- crate://crates.io/num/0.3.1 \
+ crate://crates.io/num-integer/0.1.45 \
+ crate://crates.io/num-iter/0.1.43 \
+ crate://crates.io/num-rational/0.4.1 \
+ crate://crates.io/num-traits/0.2.15 \
+ crate://crates.io/num/0.4.0 \
crate://crates.io/num_cpus/1.13.1 \
- crate://crates.io/oid-registry/0.1.5 \
+ crate://crates.io/num_threads/0.1.6 \
+ crate://crates.io/oid-registry/0.4.0 \
crate://crates.io/oid/0.2.1 \
- crate://crates.io/once_cell/1.10.0 \
+ crate://crates.io/once_cell/1.14.0 \
crate://crates.io/parking_lot/0.11.2 \
crate://crates.io/parking_lot_core/0.8.5 \
- crate://crates.io/parsec-interface/0.26.0 \
+ crate://crates.io/parsec-interface/0.27.0 \
crate://crates.io/peeking_take_while/0.1.2 \
- crate://crates.io/pem/0.8.3 \
+ crate://crates.io/pem/1.1.0 \
crate://crates.io/percent-encoding/2.1.0 \
- crate://crates.io/pest/2.1.3 \
+ crate://crates.io/pest/2.3.0 \
crate://crates.io/petgraph/0.5.1 \
crate://crates.io/picky-asn1-der/0.2.5 \
crate://crates.io/picky-asn1-x509/0.6.1 \
crate://crates.io/picky-asn1/0.3.3 \
- crate://crates.io/pin-project-lite/0.2.8 \
+ crate://crates.io/pin-project-lite/0.2.9 \
crate://crates.io/pin-utils/0.1.0 \
- crate://crates.io/pkcs8/0.7.6 \
- crate://crates.io/pkg-config/0.3.24 \
+ crate://crates.io/pkcs8/0.8.0 \
+ crate://crates.io/pkg-config/0.3.25 \
crate://crates.io/ppv-lite86/0.2.16 \
crate://crates.io/proc-macro-error-attr/1.0.4 \
crate://crates.io/proc-macro-error/1.0.4 \
- crate://crates.io/proc-macro2/1.0.36 \
+ crate://crates.io/proc-macro2/1.0.43 \
crate://crates.io/prost-build/0.8.0 \
crate://crates.io/prost-derive/0.8.0 \
crate://crates.io/prost-types/0.8.0 \
crate://crates.io/prost/0.8.0 \
crate://crates.io/protobuf/2.27.1 \
- crate://crates.io/psa-crypto-sys/0.9.2 \
- crate://crates.io/psa-crypto/0.9.1 \
- crate://crates.io/quote/1.0.15 \
- crate://crates.io/radium/0.5.3 \
+ crate://crates.io/psa-crypto-sys/0.9.3 \
+ crate://crates.io/psa-crypto/0.9.2 \
+ crate://crates.io/quote/1.0.21 \
crate://crates.io/rand/0.8.5 \
crate://crates.io/rand_chacha/0.3.1 \
crate://crates.io/rand_core/0.6.3 \
- crate://crates.io/redox_syscall/0.2.11 \
- crate://crates.io/regex-syntax/0.6.25 \
- crate://crates.io/regex/1.5.5 \
+ crate://crates.io/redox_syscall/0.2.16 \
+ crate://crates.io/regex-syntax/0.6.27 \
+ crate://crates.io/regex/1.6.0 \
crate://crates.io/remove_dir_all/0.5.3 \
crate://crates.io/ring/0.16.20 \
crate://crates.io/rusqlite/0.26.3 \
crate://crates.io/rust-cryptoauthlib/0.4.5 \
crate://crates.io/rustc-hash/1.1.0 \
crate://crates.io/rustc_version/0.3.3 \
- crate://crates.io/rusticata-macros/3.2.0 \
- crate://crates.io/rustversion/1.0.6 \
- crate://crates.io/ryu/1.0.9 \
+ crate://crates.io/rusticata-macros/4.1.0 \
+ crate://crates.io/ryu/1.0.11 \
crate://crates.io/same-file/1.0.6 \
crate://crates.io/scopeguard/1.1.0 \
crate://crates.io/sd-notify/0.2.0 \
crate://crates.io/secrecy/0.7.0 \
crate://crates.io/semver-parser/0.10.2 \
crate://crates.io/semver/0.11.0 \
- crate://crates.io/serde/1.0.136 \
- crate://crates.io/serde_bytes/0.11.5 \
- crate://crates.io/serde_derive/1.0.136 \
- crate://crates.io/serde_json/1.0.79 \
+ crate://crates.io/serde/1.0.144 \
+ crate://crates.io/serde_bytes/0.11.7 \
+ crate://crates.io/serde_derive/1.0.144 \
+ crate://crates.io/serde_json/1.0.85 \
crate://crates.io/shlex/0.1.1 \
crate://crates.io/shlex/1.1.0 \
crate://crates.io/signal-hook-registry/1.4.0 \
- crate://crates.io/signal-hook/0.3.13 \
- crate://crates.io/simple_asn1/0.4.1 \
- crate://crates.io/simple_asn1/0.5.4 \
- crate://crates.io/slab/0.4.5 \
- crate://crates.io/smallvec/1.8.0 \
- crate://crates.io/spiffe/0.2.0 \
+ crate://crates.io/signal-hook/0.3.14 \
+ crate://crates.io/simple_asn1/0.6.2 \
+ crate://crates.io/slab/0.4.7 \
+ crate://crates.io/smallvec/1.9.0 \
+ crate://crates.io/spiffe/0.2.1 \
crate://crates.io/spin/0.5.2 \
- crate://crates.io/spki/0.4.1 \
+ crate://crates.io/spki/0.5.4 \
crate://crates.io/stable_deref_trait/1.2.0 \
- crate://crates.io/static_assertions/1.1.0 \
crate://crates.io/strsim/0.8.0 \
crate://crates.io/structopt-derive/0.4.18 \
crate://crates.io/structopt/0.3.26 \
crate://crates.io/strum_macros/0.21.1 \
- crate://crates.io/syn/1.0.88 \
+ crate://crates.io/syn/1.0.99 \
crate://crates.io/synstructure/0.12.6 \
- crate://crates.io/tap/1.0.1 \
- crate://crates.io/target-lexicon/0.12.3 \
+ crate://crates.io/target-lexicon/0.12.4 \
crate://crates.io/tempfile/3.3.0 \
crate://crates.io/termcolor/1.1.3 \
crate://crates.io/textwrap/0.11.0 \
- crate://crates.io/thiserror-impl/1.0.30 \
- crate://crates.io/thiserror/1.0.30 \
+ crate://crates.io/thiserror-impl/1.0.33 \
+ crate://crates.io/thiserror/1.0.33 \
crate://crates.io/threadpool/1.8.1 \
- crate://crates.io/time/0.1.44 \
- crate://crates.io/tinyvec/1.5.1 \
+ crate://crates.io/time-macros/0.2.4 \
+ crate://crates.io/time/0.3.14 \
+ crate://crates.io/tinyvec/1.6.0 \
crate://crates.io/tinyvec_macros/0.1.0 \
- crate://crates.io/toml/0.5.8 \
+ crate://crates.io/toml/0.5.9 \
crate://crates.io/tss-esapi-sys/0.3.0 \
- crate://crates.io/tss-esapi/7.0.1 \
+ crate://crates.io/tss-esapi/7.1.0 \
crate://crates.io/typenum/1.15.0 \
- crate://crates.io/ucd-trie/0.1.3 \
- crate://crates.io/unicode-bidi/0.3.7 \
- crate://crates.io/unicode-normalization/0.1.19 \
+ crate://crates.io/ucd-trie/0.1.4 \
+ crate://crates.io/unicode-bidi/0.3.8 \
+ crate://crates.io/unicode-ident/1.0.3 \
+ crate://crates.io/unicode-normalization/0.1.21 \
crate://crates.io/unicode-segmentation/1.9.0 \
crate://crates.io/unicode-width/0.1.9 \
- crate://crates.io/unicode-xid/0.2.2 \
+ crate://crates.io/unicode-xid/0.2.3 \
crate://crates.io/untrusted/0.7.1 \
crate://crates.io/url/2.2.2 \
crate://crates.io/users/0.11.0 \
@@ -208,22 +200,21 @@ SRC_URI += " \
crate://crates.io/version/3.0.0 \
crate://crates.io/version_check/0.9.4 \
crate://crates.io/walkdir/2.3.2 \
- crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \
- crate://crates.io/wasm-bindgen-backend/0.2.79 \
- crate://crates.io/wasm-bindgen-macro-support/0.2.79 \
- crate://crates.io/wasm-bindgen-macro/0.2.79 \
- crate://crates.io/wasm-bindgen-shared/0.2.79 \
- crate://crates.io/wasm-bindgen/0.2.79 \
- crate://crates.io/web-sys/0.3.56 \
- crate://crates.io/which/4.2.4 \
+ crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
+ crate://crates.io/wasm-bindgen-backend/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro-support/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro/0.2.82 \
+ crate://crates.io/wasm-bindgen-shared/0.2.82 \
+ crate://crates.io/wasm-bindgen/0.2.82 \
+ crate://crates.io/web-sys/0.3.59 \
+ crate://crates.io/which/4.3.0 \
crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
crate://crates.io/winapi-util/0.1.5 \
crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
crate://crates.io/winapi/0.3.9 \
- crate://crates.io/wyz/0.2.0 \
- crate://crates.io/x509-parser/0.9.2 \
- crate://crates.io/yasna/0.3.2 \
- crate://crates.io/zeroize/1.3.0 \
+ crate://crates.io/x509-parser/0.13.2 \
+ crate://crates.io/yasna/0.4.0 \
+ crate://crates.io/zeroize/1.5.7 \
crate://crates.io/zeroize_derive/1.3.2 \
"

diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc
deleted file mode 100644
index d17ec25..0000000
--- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.inc
+++ /dev/null
@@ -1,196 +0,0 @@
-# This file is created from parsec-tool repository Cargo.lock using cargo-bitbake tool
-
-SRC_URI += " \
- crate://crates.io/aho-corasick/0.7.18 \
- crate://crates.io/ansi_term/0.12.1 \
- crate://crates.io/anyhow/1.0.56 \
- crate://crates.io/arrayvec/0.5.2 \
- crate://crates.io/atty/0.2.14 \
- crate://crates.io/autocfg/1.1.0 \
- crate://crates.io/base64/0.12.3 \
- crate://crates.io/base64/0.13.0 \
- crate://crates.io/bincode/1.3.3 \
- crate://crates.io/bindgen/0.57.0 \
- crate://crates.io/bitflags/1.3.2 \
- crate://crates.io/bitvec/0.19.6 \
- crate://crates.io/block-buffer/0.9.0 \
- crate://crates.io/bumpalo/3.9.1 \
- crate://crates.io/bytes/1.1.0 \
- crate://crates.io/cc/1.0.73 \
- crate://crates.io/cexpr/0.4.0 \
- crate://crates.io/cfg-if/1.0.0 \
- crate://crates.io/chrono/0.4.19 \
- crate://crates.io/clang-sys/1.3.1 \
- crate://crates.io/clap/2.34.0 \
- crate://crates.io/clap/3.0.0-beta.5 \
- crate://crates.io/clap_derive/3.0.0-beta.5 \
- crate://crates.io/cmake/0.1.48 \
- crate://crates.io/const-oid/0.6.2 \
- crate://crates.io/cpufeatures/0.2.1 \
- crate://crates.io/data-encoding/2.3.2 \
- crate://crates.io/der-oid-macro/0.4.0 \
- crate://crates.io/der-parser/5.1.2 \
- crate://crates.io/der/0.4.5 \
- crate://crates.io/derivative/2.2.0 \
- crate://crates.io/digest/0.9.0 \
- crate://crates.io/either/1.6.1 \
- crate://crates.io/env_logger/0.8.4 \
- crate://crates.io/form_urlencoded/1.0.1 \
- crate://crates.io/funty/1.1.0 \
- crate://crates.io/futures-channel/0.3.21 \
- crate://crates.io/futures-core/0.3.21 \
- crate://crates.io/futures-executor/0.3.21 \
- crate://crates.io/futures-io/0.3.21 \
- crate://crates.io/futures-macro/0.3.21 \
- crate://crates.io/futures-sink/0.3.21 \
- crate://crates.io/futures-task/0.3.21 \
- crate://crates.io/futures-util/0.3.21 \
- crate://crates.io/futures/0.3.21 \
- crate://crates.io/generic-array/0.14.5 \
- crate://crates.io/glob/0.3.0 \
- crate://crates.io/grpcio-sys/0.9.1+1.38.0 \
- crate://crates.io/grpcio/0.9.1 \
- crate://crates.io/hashbrown/0.11.2 \
- crate://crates.io/heck/0.3.3 \
- crate://crates.io/hermit-abi/0.1.19 \
- crate://crates.io/humantime/2.1.0 \
- crate://crates.io/idna/0.2.3 \
- crate://crates.io/indexmap/1.8.0 \
- crate://crates.io/instant/0.1.12 \
- crate://crates.io/itertools/0.10.3 \
- crate://crates.io/itoa/1.0.1 \
- crate://crates.io/js-sys/0.3.56 \
- crate://crates.io/jsonwebkey/0.3.2 \
- crate://crates.io/jsonwebtoken/7.2.0 \
- crate://crates.io/lazy_static/1.4.0 \
- crate://crates.io/lazycell/1.3.0 \
- crate://crates.io/lexical-core/0.7.6 \
- crate://crates.io/libc/0.2.120 \
- crate://crates.io/libloading/0.7.3 \
- crate://crates.io/libz-sys/1.1.5 \
- crate://crates.io/lock_api/0.4.6 \
- crate://crates.io/log/0.4.14 \
- crate://crates.io/matches/0.1.9 \
- crate://crates.io/memchr/2.4.1 \
- crate://crates.io/nom/5.1.2 \
- crate://crates.io/nom/6.1.2 \
- crate://crates.io/num-bigint/0.2.6 \
- crate://crates.io/num-bigint/0.3.3 \
- crate://crates.io/num-bigint/0.4.3 \
- crate://crates.io/num-complex/0.3.1 \
- crate://crates.io/num-derive/0.3.3 \
- crate://crates.io/num-integer/0.1.44 \
- crate://crates.io/num-iter/0.1.42 \
- crate://crates.io/num-rational/0.3.2 \
- crate://crates.io/num-traits/0.2.14 \
- crate://crates.io/num/0.3.1 \
- crate://crates.io/num_threads/0.1.5 \
- crate://crates.io/oid-registry/0.1.5 \
- crate://crates.io/oid/0.2.1 \
- crate://crates.io/once_cell/1.10.0 \
- crate://crates.io/opaque-debug/0.3.0 \
- crate://crates.io/os_str_bytes/4.1.1 \
- crate://crates.io/parking_lot/0.11.2 \
- crate://crates.io/parking_lot_core/0.8.5 \
- crate://crates.io/parsec-client/0.14.0 \
- crate://crates.io/parsec-interface/0.26.0 \
- crate://crates.io/peeking_take_while/0.1.2 \
- crate://crates.io/pem/0.8.3 \
- crate://crates.io/pem/1.0.2 \
- crate://crates.io/percent-encoding/2.1.0 \
- crate://crates.io/picky-asn1-der/0.2.5 \
- crate://crates.io/picky-asn1-x509/0.6.1 \
- crate://crates.io/picky-asn1/0.3.3 \
- crate://crates.io/pin-project-lite/0.2.8 \
- crate://crates.io/pin-utils/0.1.0 \
- crate://crates.io/pkcs8/0.7.6 \
- crate://crates.io/pkg-config/0.3.24 \
- crate://crates.io/proc-macro-error-attr/1.0.4 \
- crate://crates.io/proc-macro-error/1.0.4 \
- crate://crates.io/proc-macro2/1.0.36 \
- crate://crates.io/prost-derive/0.8.0 \
- crate://crates.io/prost/0.8.0 \
- crate://crates.io/protobuf/2.27.1 \
- crate://crates.io/psa-crypto-sys/0.9.2 \
- crate://crates.io/psa-crypto/0.9.1 \
- crate://crates.io/quote/1.0.15 \
- crate://crates.io/radium/0.5.3 \
- crate://crates.io/rcgen/0.9.2 \
- crate://crates.io/redox_syscall/0.2.11 \
- crate://crates.io/regex-syntax/0.6.25 \
- crate://crates.io/regex/1.5.5 \
- crate://crates.io/ring/0.16.20 \
- crate://crates.io/rustc-hash/1.1.0 \
- crate://crates.io/rusticata-macros/3.2.0 \
- crate://crates.io/rustversion/1.0.6 \
- crate://crates.io/ryu/1.0.9 \
- crate://crates.io/same-file/1.0.6 \
- crate://crates.io/scopeguard/1.1.0 \
- crate://crates.io/secrecy/0.7.0 \
- crate://crates.io/serde/1.0.136 \
- crate://crates.io/serde_bytes/0.11.5 \
- crate://crates.io/serde_derive/1.0.136 \
- crate://crates.io/serde_json/1.0.79 \
- crate://crates.io/sha2/0.9.9 \
- crate://crates.io/shlex/0.1.1 \
- crate://crates.io/simple_asn1/0.4.1 \
- crate://crates.io/simple_asn1/0.5.4 \
- crate://crates.io/slab/0.4.5 \
- crate://crates.io/smallvec/1.8.0 \
- crate://crates.io/spiffe/0.2.0 \
- crate://crates.io/spin/0.5.2 \
- crate://crates.io/spki/0.4.1 \
- crate://crates.io/static_assertions/1.1.0 \
- crate://crates.io/strsim/0.10.0 \
- crate://crates.io/strsim/0.8.0 \
- crate://crates.io/structopt-derive/0.4.18 \
- crate://crates.io/structopt/0.3.26 \
- crate://crates.io/syn/1.0.89 \
- crate://crates.io/synstructure/0.12.6 \
- crate://crates.io/tap/1.0.1 \
- crate://crates.io/termcolor/1.1.3 \
- crate://crates.io/textwrap/0.11.0 \
- crate://crates.io/textwrap/0.14.2 \
- crate://crates.io/thiserror-impl/1.0.30 \
- crate://crates.io/thiserror/1.0.30 \
- crate://crates.io/time/0.1.44 \
- crate://crates.io/time/0.3.7 \
- crate://crates.io/tinyvec/1.5.1 \
- crate://crates.io/tinyvec_macros/0.1.0 \
- crate://crates.io/typenum/1.15.0 \
- crate://crates.io/unicase/2.6.0 \
- crate://crates.io/unicode-bidi/0.3.7 \
- crate://crates.io/unicode-normalization/0.1.19 \
- crate://crates.io/unicode-segmentation/1.9.0 \
- crate://crates.io/unicode-width/0.1.9 \
- crate://crates.io/unicode-xid/0.2.2 \
- crate://crates.io/untrusted/0.7.1 \
- crate://crates.io/url/2.2.2 \
- crate://crates.io/users/0.10.0 \
- crate://crates.io/uuid/0.8.2 \
- crate://crates.io/vcpkg/0.2.15 \
- crate://crates.io/vec_map/0.8.2 \
- crate://crates.io/version_check/0.9.4 \
- crate://crates.io/walkdir/2.3.2 \
- crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \
- crate://crates.io/wasm-bindgen-backend/0.2.79 \
- crate://crates.io/wasm-bindgen-macro-support/0.2.79 \
- crate://crates.io/wasm-bindgen-macro/0.2.79 \
- crate://crates.io/wasm-bindgen-shared/0.2.79 \
- crate://crates.io/wasm-bindgen/0.2.79 \
- crate://crates.io/web-sys/0.3.56 \
- crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
- crate://crates.io/winapi-util/0.1.5 \
- crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
- crate://crates.io/winapi/0.3.9 \
- crate://crates.io/wyz/0.2.0 \
- crate://crates.io/x509-parser/0.9.2 \
- crate://crates.io/yasna/0.3.2 \
- crate://crates.io/yasna/0.5.0 \
- crate://crates.io/zeroize/1.3.0 \
- crate://crates.io/zeroize_derive/1.3.2 \
-"
-
-LIC_FILES_CHKSUM = " \
- file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
-"
diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.bb b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.bb
similarity index 71%
rename from meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.bb
rename to meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.bb
index 6ecce8e..0f62009 100644
--- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.2.bb
+++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.bb
@@ -16,3 +16,8 @@ do_install() {
}

require parsec-tool_${PV}.inc
+
+# The QA check has been temporarily disabled. An issue has been created
+# upstream to fix this.
+# https://github.com/parallaxsecond/parsec-tool/issues/94
+INSANE_SKIP:${PN}-dbg += "buildpaths"
diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc
new file mode 100644
index 0000000..36d98d3
--- /dev/null
+++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.5.4.inc
@@ -0,0 +1,176 @@
+# This file is created from parsec-tool repository Cargo.lock using cargo-bitbake tool
+
+SRC_URI += " \
+ crate://crates.io/aho-corasick/0.7.19 \
+ crate://crates.io/ansi_term/0.12.1 \
+ crate://crates.io/anyhow/1.0.64 \
+ crate://crates.io/asn1-rs-derive/0.1.0 \
+ crate://crates.io/asn1-rs-impl/0.1.0 \
+ crate://crates.io/asn1-rs/0.3.1 \
+ crate://crates.io/atty/0.2.14 \
+ crate://crates.io/autocfg/1.1.0 \
+ crate://crates.io/base64/0.13.0 \
+ crate://crates.io/bincode/1.3.3 \
+ crate://crates.io/bindgen/0.57.0 \
+ crate://crates.io/bitflags/1.3.2 \
+ crate://crates.io/block-buffer/0.9.0 \
+ crate://crates.io/bumpalo/3.11.0 \
+ crate://crates.io/bytes/1.2.1 \
+ crate://crates.io/cc/1.0.73 \
+ crate://crates.io/cexpr/0.4.0 \
+ crate://crates.io/cfg-if/1.0.0 \
+ crate://crates.io/clang-sys/1.3.3 \
+ crate://crates.io/clap/2.34.0 \
+ crate://crates.io/cmake/0.1.45 \
+ crate://crates.io/const-oid/0.7.1 \
+ crate://crates.io/cpufeatures/0.2.5 \
+ crate://crates.io/data-encoding/2.3.2 \
+ crate://crates.io/der-parser/7.0.0 \
+ crate://crates.io/der/0.5.1 \
+ crate://crates.io/derivative/2.2.0 \
+ crate://crates.io/digest/0.9.0 \
+ crate://crates.io/displaydoc/0.2.3 \
+ crate://crates.io/either/1.8.0 \
+ crate://crates.io/env_logger/0.8.4 \
+ crate://crates.io/form_urlencoded/1.1.0 \
+ crate://crates.io/futures-channel/0.3.24 \
+ crate://crates.io/futures-core/0.3.24 \
+ crate://crates.io/futures-executor/0.3.24 \
+ crate://crates.io/futures-io/0.3.24 \
+ crate://crates.io/futures-macro/0.3.24 \
+ crate://crates.io/futures-sink/0.3.24 \
+ crate://crates.io/futures-task/0.3.24 \
+ crate://crates.io/futures-util/0.3.24 \
+ crate://crates.io/futures/0.3.24 \
+ crate://crates.io/generic-array/0.14.6 \
+ crate://crates.io/glob/0.3.0 \
+ crate://crates.io/grpcio-sys/0.9.1+1.38.0 \
+ crate://crates.io/grpcio/0.9.1 \
+ crate://crates.io/heck/0.3.3 \
+ crate://crates.io/hermit-abi/0.1.19 \
+ crate://crates.io/humantime/2.1.0 \
+ crate://crates.io/idna/0.3.0 \
+ crate://crates.io/instant/0.1.12 \
+ crate://crates.io/itertools/0.10.3 \
+ crate://crates.io/itoa/1.0.3 \
+ crate://crates.io/js-sys/0.3.59 \
+ crate://crates.io/jsonwebkey/0.3.5 \
+ crate://crates.io/jsonwebtoken/8.1.1 \
+ crate://crates.io/lazy_static/1.4.0 \
+ crate://crates.io/lazycell/1.3.0 \
+ crate://crates.io/libc/0.2.132 \
+ crate://crates.io/libloading/0.7.3 \
+ crate://crates.io/libz-sys/1.1.8 \
+ crate://crates.io/lock_api/0.4.8 \
+ crate://crates.io/log/0.4.17 \
+ crate://crates.io/memchr/2.5.0 \
+ crate://crates.io/minimal-lexical/0.2.1 \
+ crate://crates.io/nom/5.1.2 \
+ crate://crates.io/nom/7.1.1 \
+ crate://crates.io/num-bigint/0.4.3 \
+ crate://crates.io/num-complex/0.4.2 \
+ crate://crates.io/num-derive/0.3.3 \
+ crate://crates.io/num-integer/0.1.45 \
+ crate://crates.io/num-iter/0.1.43 \
+ crate://crates.io/num-rational/0.4.1 \
+ crate://crates.io/num-traits/0.2.15 \
+ crate://crates.io/num/0.4.0 \
+ crate://crates.io/num_threads/0.1.6 \
+ crate://crates.io/oid-registry/0.4.0 \
+ crate://crates.io/oid/0.2.1 \
+ crate://crates.io/once_cell/1.14.0 \
+ crate://crates.io/opaque-debug/0.3.0 \
+ crate://crates.io/parking_lot/0.11.2 \
+ crate://crates.io/parking_lot_core/0.8.5 \
+ crate://crates.io/parsec-client/0.14.1 \
+ crate://crates.io/parsec-interface/0.27.0 \
+ crate://crates.io/peeking_take_while/0.1.2 \
+ crate://crates.io/pem/1.1.0 \
+ crate://crates.io/percent-encoding/2.2.0 \
+ crate://crates.io/picky-asn1-der/0.2.5 \
+ crate://crates.io/picky-asn1-x509/0.6.1 \
+ crate://crates.io/picky-asn1/0.3.3 \
+ crate://crates.io/pin-project-lite/0.2.9 \
+ crate://crates.io/pin-utils/0.1.0 \
+ crate://crates.io/pkcs8/0.8.0 \
+ crate://crates.io/pkg-config/0.3.25 \
+ crate://crates.io/proc-macro-error-attr/1.0.4 \
+ crate://crates.io/proc-macro-error/1.0.4 \
+ crate://crates.io/proc-macro2/1.0.43 \
+ crate://crates.io/prost-derive/0.8.0 \
+ crate://crates.io/prost/0.8.0 \
+ crate://crates.io/protobuf/2.27.1 \
+ crate://crates.io/psa-crypto-sys/0.9.3 \
+ crate://crates.io/psa-crypto/0.9.2 \
+ crate://crates.io/quote/1.0.21 \
+ crate://crates.io/rcgen/0.9.3 \
+ crate://crates.io/redox_syscall/0.2.16 \
+ crate://crates.io/regex-syntax/0.6.27 \
+ crate://crates.io/regex/1.6.0 \
+ crate://crates.io/ring/0.16.20 \
+ crate://crates.io/rustc-hash/1.1.0 \
+ crate://crates.io/rusticata-macros/4.1.0 \
+ crate://crates.io/ryu/1.0.11 \
+ crate://crates.io/same-file/1.0.6 \
+ crate://crates.io/scopeguard/1.1.0 \
+ crate://crates.io/secrecy/0.7.0 \
+ crate://crates.io/serde/1.0.144 \
+ crate://crates.io/serde_bytes/0.11.7 \
+ crate://crates.io/serde_derive/1.0.144 \
+ crate://crates.io/serde_json/1.0.85 \
+ crate://crates.io/sha2/0.9.9 \
+ crate://crates.io/shlex/0.1.1 \
+ crate://crates.io/simple_asn1/0.6.2 \
+ crate://crates.io/slab/0.4.7 \
+ crate://crates.io/smallvec/1.9.0 \
+ crate://crates.io/spiffe/0.2.1 \
+ crate://crates.io/spin/0.5.2 \
+ crate://crates.io/spki/0.5.4 \
+ crate://crates.io/strsim/0.8.0 \
+ crate://crates.io/structopt-derive/0.4.18 \
+ crate://crates.io/structopt/0.3.26 \
+ crate://crates.io/syn/1.0.99 \
+ crate://crates.io/synstructure/0.12.6 \
+ crate://crates.io/termcolor/1.1.3 \
+ crate://crates.io/textwrap/0.11.0 \
+ crate://crates.io/thiserror-impl/1.0.34 \
+ crate://crates.io/thiserror/1.0.34 \
+ crate://crates.io/time-macros/0.2.3 \
+ crate://crates.io/time/0.3.7 \
+ crate://crates.io/tinyvec/1.6.0 \
+ crate://crates.io/tinyvec_macros/0.1.0 \
+ crate://crates.io/typenum/1.15.0 \
+ crate://crates.io/unicode-bidi/0.3.8 \
+ crate://crates.io/unicode-ident/1.0.3 \
+ crate://crates.io/unicode-normalization/0.1.21 \
+ crate://crates.io/unicode-segmentation/1.9.0 \
+ crate://crates.io/unicode-width/0.1.9 \
+ crate://crates.io/unicode-xid/0.2.3 \
+ crate://crates.io/untrusted/0.7.1 \
+ crate://crates.io/url/2.3.1 \
+ crate://crates.io/users/0.11.0 \
+ crate://crates.io/uuid/0.8.2 \
+ crate://crates.io/vcpkg/0.2.15 \
+ crate://crates.io/vec_map/0.8.2 \
+ crate://crates.io/version_check/0.9.4 \
+ crate://crates.io/walkdir/2.3.2 \
+ crate://crates.io/wasm-bindgen-backend/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro-support/0.2.82 \
+ crate://crates.io/wasm-bindgen-macro/0.2.82 \
+ crate://crates.io/wasm-bindgen-shared/0.2.82 \
+ crate://crates.io/wasm-bindgen/0.2.82 \
+ crate://crates.io/web-sys/0.3.59 \
+ crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
+ crate://crates.io/winapi-util/0.1.5 \
+ crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
+ crate://crates.io/winapi/0.3.9 \
+ crate://crates.io/x509-parser/0.13.2 \
+ crate://crates.io/yasna/0.4.0 \
+ crate://crates.io/yasna/0.5.0 \
+ crate://crates.io/zeroize/1.5.7 \
+ crate://crates.io/zeroize_derive/1.3.2 \
+"
+
+LIC_FILES_CHKSUM = " \
+ file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+"
--
2.17.1


Re: devtool upgrade for go recipes with git "broken"

Monsees, Steven C (US)
 

Thanks...

-----Original Message-----
From: yocto@... <yocto@...> On Behalf Of Alexander Kanavin
Sent: Thursday, October 20, 2022 6:40 AM
To: Roos, Thomas <throos@...>
Cc: yocto@...
Subject: Re: [yocto] devtool upgrade for go recipes with git "broken"

External Email Alert

This email has been sent from an account outside of the BAE Systems network.

Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.


It may well be that no one remembers anymore why it's there, and in this case you can just drop it. Or you can dig into git history with 'git blame' and similar techniques.

Alex

On Thu, 20 Oct 2022 at 12:23, Roos, Thomas <throos@...> wrote:

sure, but may this src folder is necessary for something? Some go convention I don't know about...

________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 12:09:47
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Can you propose a patch to core?

Alex

On Thu, 20 Oct 2022 at 12:05, Roos, Thomas <throos@...> wrote:

yes, I already did this - it's because that go.bbclass is spangly using a subdir called "src" and that will break the devtool check for upgrades mechanism because it's not looking into a src subdir. So git will fail checkout anything in the parent dir "reference is not a tree"

This simple change in the go.bbclass fix it - but I don't know if that additional src dir is somehow necessary:


# src folder will break devtool upgrade python go_do_unpack() {
src_uri = (d.getVar('SRC_URI') or "").split()
if len(src_uri) == 0:
return

fetcher = bb.fetch2.Fetch(src_uri, d)
for url in fetcher.urls:
if fetcher.ud[url].type == 'git':
if fetcher.ud[url].parm.get('destsuffix') is None:
s_dirname = os.path.basename(d.getVar('S'))
#cause problems fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, 'src', d.getVar('GO_IMPORT')) + '/'
#FIX
fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, '', d.getVar('GO_IMPORT')) + '/'
#FIX
fetcher.unpack(d.getVar('WORKDIR'))
}

# src folder will break devtool upgrade
go_do_configure() {
#cause problems ln -snf ${S}/src ${B}/
#FIX
ln -snf ${S} ${B}/
#FIX
}


________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:56:48
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Thanks, I do not have a quick answer to this, but would appreciate
if you can dig deeper into the issue.

Alex

On Thu, 20 Oct 2022 at 11:50, Roos, Thomas <throos@...> wrote:

yes, easy
- set the go-helloworld bb srcrev to an older rev - e.g:
SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"

"devtool upgrade go-helloworld"

INFO: Extracting upgraded version source...
Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 567, in upgrade
rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch,
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 183, in _extract_new_source
__run('git checkout %s' % rev)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 170, in __run
return _run(cmd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 31, in _run
return bb.process.run('%s' % cmd, cwd=cwd)
File "/home/ubuntu/yocto/poky/bitbake/lib/bb/process.py", line 189, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git checkout 2e68773dfca072cb81f219fc3b97ad34fe9d9f94' failed with exit code 128:
fatal: reference is not a tree:
2e68773dfca072cb81f219fc3b97ad34fe9d9f94


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/devtool", line 338, in <module>
ret = main()
File "/home/ubuntu/yocto/poky/scripts/devtool", line 325, in main
ret = args.func(args, config, basepath, workspace)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 575, in upgrade
_upgrade_error(e, recipedir, srctree, args.keep_failure)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 134, in _upgrade_error
_cleanup_on_error(rd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 126, in _cleanup_on_error
if not len(os.listdir(rdp)):
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/yocto/build/workspace/recipes'





________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:32:19
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



It helps if you show the exact error, and a way to reproduce this
using a minimal setup (ideally only poky).

Alex

On Thu, 20 Oct 2022 at 11:18, Thomas Roos via
lists.yoctoproject.org <throos=amazon.de@...> wrote:

Hi,
when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
I did change our go recipe to don't use this additional src
folder by overwriting the go_do_upack and go_do_configure
method. Here:
https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a9
1b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/ama
zon-ssm-agent_3.1.1856.0.bb Is this a bug or do anybody know why
go use that additional src folder?


Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg Sitz der
Gesellschaft: L-1855 Luxemburg eingetragen im Luxemburgischen
Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen Sitz der
Zweigniederlassung: Muenchen eingetragen im Handelsregister des
Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094






Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg Sitz der
Gesellschaft: L-1855 Luxemburg eingetragen im Luxemburgischen
Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen Sitz der
Zweigniederlassung: Muenchen eingetragen im Handelsregister des
Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg Sitz der Gesellschaft:
L-1855 Luxemburg eingetragen im Luxemburgischen Handelsregister
unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen Sitz der Zweigniederlassung:
Muenchen eingetragen im Handelsregister des Amtsgerichts Muenchen
unter HRB 242240, USt-ID DE317013094



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg Sitz der Gesellschaft:
L-1855 Luxemburg eingetragen im Luxemburgischen Handelsregister unter
R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen Sitz der Zweigniederlassung:
Muenchen eingetragen im Handelsregister des Amtsgerichts Muenchen
unter HRB 242240, USt-ID DE317013094


Re: devtool upgrade for go recipes with git "broken"

Alexander Kanavin
 

It may well be that no one remembers anymore why it's there, and in
this case you can just drop it. Or you can dig into git history with
'git blame' and similar techniques.

Alex

On Thu, 20 Oct 2022 at 12:23, Roos, Thomas <throos@...> wrote:

sure, but may this src folder is necessary for something? Some go convention I don't know about...

________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 12:09:47
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Can you propose a patch to core?

Alex

On Thu, 20 Oct 2022 at 12:05, Roos, Thomas <throos@...> wrote:

yes, I already did this - it's because that go.bbclass is spangly using a subdir called "src" and that will break the devtool check for upgrades mechanism because it's not looking into a src subdir. So git will fail checkout anything in the parent dir "reference is not a tree"

This simple change in the go.bbclass fix it - but I don't know if that additional src dir is somehow necessary:


# src folder will break devtool upgrade
python go_do_unpack() {
src_uri = (d.getVar('SRC_URI') or "").split()
if len(src_uri) == 0:
return

fetcher = bb.fetch2.Fetch(src_uri, d)
for url in fetcher.urls:
if fetcher.ud[url].type == 'git':
if fetcher.ud[url].parm.get('destsuffix') is None:
s_dirname = os.path.basename(d.getVar('S'))
#cause problems fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, 'src', d.getVar('GO_IMPORT')) + '/'
#FIX
fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, '', d.getVar('GO_IMPORT')) + '/'
#FIX
fetcher.unpack(d.getVar('WORKDIR'))
}

# src folder will break devtool upgrade
go_do_configure() {
#cause problems ln -snf ${S}/src ${B}/
#FIX
ln -snf ${S} ${B}/
#FIX
}


________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:56:48
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Thanks, I do not have a quick answer to this, but would appreciate if
you can dig deeper into the issue.

Alex

On Thu, 20 Oct 2022 at 11:50, Roos, Thomas <throos@...> wrote:

yes, easy
- set the go-helloworld bb srcrev to an older rev - e.g:
SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"

"devtool upgrade go-helloworld"

INFO: Extracting upgraded version source...
Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 567, in upgrade
rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch,
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 183, in _extract_new_source
__run('git checkout %s' % rev)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 170, in __run
return _run(cmd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 31, in _run
return bb.process.run('%s' % cmd, cwd=cwd)
File "/home/ubuntu/yocto/poky/bitbake/lib/bb/process.py", line 189, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git checkout 2e68773dfca072cb81f219fc3b97ad34fe9d9f94' failed with exit code 128:
fatal: reference is not a tree: 2e68773dfca072cb81f219fc3b97ad34fe9d9f94


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/devtool", line 338, in <module>
ret = main()
File "/home/ubuntu/yocto/poky/scripts/devtool", line 325, in main
ret = args.func(args, config, basepath, workspace)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 575, in upgrade
_upgrade_error(e, recipedir, srctree, args.keep_failure)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 134, in _upgrade_error
_cleanup_on_error(rd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 126, in _cleanup_on_error
if not len(os.listdir(rdp)):
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/yocto/build/workspace/recipes'





________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:32:19
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



It helps if you show the exact error, and a way to reproduce this
using a minimal setup (ideally only poky).

Alex

On Thu, 20 Oct 2022 at 11:18, Thomas Roos via lists.yoctoproject.org
<throos=amazon.de@...> wrote:

Hi,
when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
Is this a bug or do anybody know why go use that additional src folder?


Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094






Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094


Re: devtool upgrade for go recipes with git "broken"

Thomas Roos
 

sure, but may this src folder is necessary for something? Some go convention I don't know about...


Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 12:09:47
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"
 
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Can you propose a patch to core?

Alex

On Thu, 20 Oct 2022 at 12:05, Roos, Thomas <throos@...> wrote:
>
> yes, I already did this - it's because that go.bbclass is spangly using a subdir called "src" and that will break the devtool check for upgrades mechanism because it's not looking into a src subdir. So git will fail checkout anything in the parent dir "reference is not a tree"
>
> This simple change in the go.bbclass fix it - but I don't know if that additional src dir is somehow necessary:
>
>
> # src folder will break devtool upgrade
> python go_do_unpack() {
>     src_uri = (d.getVar('SRC_URI') or "").split()
>     if len(src_uri) == 0:
>         return
>
>     fetcher = bb.fetch2.Fetch(src_uri, d)
>     for url in fetcher.urls:
>         if fetcher.ud[url].type == 'git':
>             if fetcher.ud[url].parm.get('destsuffix') is None:
>                 s_dirname = os.path.basename(d.getVar('S'))
> #cause problems                fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, 'src', d.getVar('GO_IMPORT')) + '/'
> #FIX
>                 fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, '', d.getVar('GO_IMPORT')) + '/'
> #FIX
>     fetcher.unpack(d.getVar('WORKDIR'))
> }
>
> # src folder will break devtool upgrade
> go_do_configure() {
> #cause problems      ln -snf ${S}/src ${B}/
> #FIX
>     ln -snf ${S} ${B}/
> #FIX
> }
>
>
> ________________________________
> Von: Alexander Kanavin <alex.kanavin@...>
> Gesendet: Donnerstag, 20. Oktober 2022 11:56:48
> An: Roos, Thomas
> Cc: yocto@...
> Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"
>
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
>
>
>
> Thanks, I do not have a quick answer to this, but would appreciate if
> you can dig deeper into the issue.
>
> Alex
>
> On Thu, 20 Oct 2022 at 11:50, Roos, Thomas <throos@...> wrote:
> >
> > yes, easy
> > - set the go-helloworld bb srcrev to an older rev - e.g:
> > SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"
> >
> > "devtool upgrade go-helloworld"
> >
> > INFO: Extracting upgraded version source...
> > Traceback (most recent call last):
> >   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 567, in upgrade
> >     rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch,
> >   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 183, in _extract_new_source
> >     __run('git checkout %s' % rev)
> >   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 170, in __run
> >     return _run(cmd, srctree)
> >   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 31, in _run
> >     return bb.process.run('%s' % cmd, cwd=cwd)
> >   File "/home/ubuntu/yocto/poky/bitbake/lib/bb/process.py", line 189, in run
> >     raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
> > bb.process.ExecutionError: Execution of 'git checkout 2e68773dfca072cb81f219fc3b97ad34fe9d9f94' failed with exit code 128:
> > fatal: reference is not a tree: 2e68773dfca072cb81f219fc3b97ad34fe9d9f94
> >
> >
> > During handling of the above exception, another exception occurred:
> >
> > Traceback (most recent call last):
> >   File "/home/ubuntu/yocto/poky/scripts/devtool", line 338, in <module>
> >     ret = main()
> >   File "/home/ubuntu/yocto/poky/scripts/devtool", line 325, in main
> >     ret = args.func(args, config, basepath, workspace)
> >   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 575, in upgrade
> >     _upgrade_error(e, recipedir, srctree, args.keep_failure)
> >   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 134, in _upgrade_error
> >     _cleanup_on_error(rd, srctree)
> >   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 126, in _cleanup_on_error
> >     if not len(os.listdir(rdp)):
> > FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/yocto/build/workspace/recipes'
> >
> >
> >
> >
> >
> > ________________________________
> > Von: Alexander Kanavin <alex.kanavin@...>
> > Gesendet: Donnerstag, 20. Oktober 2022 11:32:19
> > An: Roos, Thomas
> > Cc: yocto@...
> > Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"
> >
> > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
> >
> >
> >
> > It helps if you show the exact error, and a way to reproduce this
> > using a minimal setup (ideally only poky).
> >
> > Alex
> >
> > On Thu, 20 Oct 2022 at 11:18, Thomas Roos via lists.yoctoproject.org
> > <throos=amazon.de@...> wrote:
> > >
> > > Hi,
> > > when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
> > > I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
> > > Is this a bug or do anybody know why go use that additional src folder?
> > >
> > >
> > > Cheers,
> > > Thomas
> > >
> > >
> > >
> > >
> > > Amazon Web Services EMEA SARL
> > > 38 avenue John F. Kennedy, L-1855 Luxembourg
> > > Sitz der Gesellschaft: L-1855 Luxemburg
> > > eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284
> > >
> > > Amazon Web Services EMEA SARL, Niederlassung Deutschland
> > > Marcel-Breuer-Str. 12, D-80807 Muenchen
> > > Sitz der Zweigniederlassung: Muenchen
> > > eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > Amazon Web Services EMEA SARL
> > 38 avenue John F. Kennedy, L-1855 Luxembourg
> > Sitz der Gesellschaft: L-1855 Luxemburg
> > eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284
> >
> > Amazon Web Services EMEA SARL, Niederlassung Deutschland
> > Marcel-Breuer-Str. 12, D-80807 Muenchen
> > Sitz der Zweigniederlassung: Muenchen
> > eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094
> >
> >
>
>
>
> Amazon Web Services EMEA SARL
> 38 avenue John F. Kennedy, L-1855 Luxembourg
> Sitz der Gesellschaft: L-1855 Luxemburg
> eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284
>
> Amazon Web Services EMEA SARL, Niederlassung Deutschland
> Marcel-Breuer-Str. 12, D-80807 Muenchen
> Sitz der Zweigniederlassung: Muenchen
> eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094
>
>



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Re: devtool upgrade for go recipes with git "broken"

Alexander Kanavin
 

Can you propose a patch to core?

Alex

On Thu, 20 Oct 2022 at 12:05, Roos, Thomas <throos@...> wrote:

yes, I already did this - it's because that go.bbclass is spangly using a subdir called "src" and that will break the devtool check for upgrades mechanism because it's not looking into a src subdir. So git will fail checkout anything in the parent dir "reference is not a tree"

This simple change in the go.bbclass fix it - but I don't know if that additional src dir is somehow necessary:


# src folder will break devtool upgrade
python go_do_unpack() {
src_uri = (d.getVar('SRC_URI') or "").split()
if len(src_uri) == 0:
return

fetcher = bb.fetch2.Fetch(src_uri, d)
for url in fetcher.urls:
if fetcher.ud[url].type == 'git':
if fetcher.ud[url].parm.get('destsuffix') is None:
s_dirname = os.path.basename(d.getVar('S'))
#cause problems fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, 'src', d.getVar('GO_IMPORT')) + '/'
#FIX
fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, '', d.getVar('GO_IMPORT')) + '/'
#FIX
fetcher.unpack(d.getVar('WORKDIR'))
}

# src folder will break devtool upgrade
go_do_configure() {
#cause problems ln -snf ${S}/src ${B}/
#FIX
ln -snf ${S} ${B}/
#FIX
}


________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:56:48
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Thanks, I do not have a quick answer to this, but would appreciate if
you can dig deeper into the issue.

Alex

On Thu, 20 Oct 2022 at 11:50, Roos, Thomas <throos@...> wrote:

yes, easy
- set the go-helloworld bb srcrev to an older rev - e.g:
SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"

"devtool upgrade go-helloworld"

INFO: Extracting upgraded version source...
Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 567, in upgrade
rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch,
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 183, in _extract_new_source
__run('git checkout %s' % rev)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 170, in __run
return _run(cmd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 31, in _run
return bb.process.run('%s' % cmd, cwd=cwd)
File "/home/ubuntu/yocto/poky/bitbake/lib/bb/process.py", line 189, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git checkout 2e68773dfca072cb81f219fc3b97ad34fe9d9f94' failed with exit code 128:
fatal: reference is not a tree: 2e68773dfca072cb81f219fc3b97ad34fe9d9f94


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/devtool", line 338, in <module>
ret = main()
File "/home/ubuntu/yocto/poky/scripts/devtool", line 325, in main
ret = args.func(args, config, basepath, workspace)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 575, in upgrade
_upgrade_error(e, recipedir, srctree, args.keep_failure)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 134, in _upgrade_error
_cleanup_on_error(rd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 126, in _cleanup_on_error
if not len(os.listdir(rdp)):
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/yocto/build/workspace/recipes'





________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:32:19
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



It helps if you show the exact error, and a way to reproduce this
using a minimal setup (ideally only poky).

Alex

On Thu, 20 Oct 2022 at 11:18, Thomas Roos via lists.yoctoproject.org
<throos=amazon.de@...> wrote:

Hi,
when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
Is this a bug or do anybody know why go use that additional src folder?


Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094






Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094


Re: devtool upgrade for go recipes with git "broken"

Thomas Roos
 

yes, I already did this - it's because that go.bbclass is spangly using a subdir called "src" and that will break the devtool check for upgrades mechanism because it's not looking into a src subdir. So git will fail checkout anything in the parent dir "reference is not a tree"

This simple change in the go.bbclass fix it - but I don't know if that additional src dir is somehow necessary:


# src folder will break devtool upgrade
python go_do_unpack() {
    src_uri = (d.getVar('SRC_URI') or "").split()
    if len(src_uri) == 0:
        return

    fetcher = bb.fetch2.Fetch(src_uri, d)
    for url in fetcher.urls:
        if fetcher.ud[url].type == 'git':
            if fetcher.ud[url].parm.get('destsuffix') is None:
                s_dirname = os.path.basename(d.getVar('S'))
#cause problems                fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, 'src', d.getVar('GO_IMPORT')) + '/'
#FIX
                fetcher.ud[url].parm['destsuffix'] = os.path.join(s_dirname, '', d.getVar('GO_IMPORT')) + '/'
#FIX
    fetcher.unpack(d.getVar('WORKDIR'))
}

# src folder will break devtool upgrade
go_do_configure() {
#cause problems      ln -snf ${S}/src ${B}/
#FIX
    ln -snf ${S} ${B}/
#FIX
}



Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:56:48
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"
 
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Thanks, I do not have a quick answer to this, but would appreciate if
you can dig deeper into the issue.

Alex

On Thu, 20 Oct 2022 at 11:50, Roos, Thomas <throos@...> wrote:
>
> yes, easy
> - set the go-helloworld bb srcrev to an older rev - e.g:
> SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"
>
> "devtool upgrade go-helloworld"
>
> INFO: Extracting upgraded version source...
> Traceback (most recent call last):
>   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 567, in upgrade
>     rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch,
>   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 183, in _extract_new_source
>     __run('git checkout %s' % rev)
>   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 170, in __run
>     return _run(cmd, srctree)
>   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 31, in _run
>     return bb.process.run('%s' % cmd, cwd=cwd)
>   File "/home/ubuntu/yocto/poky/bitbake/lib/bb/process.py", line 189, in run
>     raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
> bb.process.ExecutionError: Execution of 'git checkout 2e68773dfca072cb81f219fc3b97ad34fe9d9f94' failed with exit code 128:
> fatal: reference is not a tree: 2e68773dfca072cb81f219fc3b97ad34fe9d9f94
>
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/home/ubuntu/yocto/poky/scripts/devtool", line 338, in <module>
>     ret = main()
>   File "/home/ubuntu/yocto/poky/scripts/devtool", line 325, in main
>     ret = args.func(args, config, basepath, workspace)
>   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 575, in upgrade
>     _upgrade_error(e, recipedir, srctree, args.keep_failure)
>   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 134, in _upgrade_error
>     _cleanup_on_error(rd, srctree)
>   File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 126, in _cleanup_on_error
>     if not len(os.listdir(rdp)):
> FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/yocto/build/workspace/recipes'
>
>
>
>
>
> ________________________________
> Von: Alexander Kanavin <alex.kanavin@...>
> Gesendet: Donnerstag, 20. Oktober 2022 11:32:19
> An: Roos, Thomas
> Cc: yocto@...
> Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"
>
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
>
>
>
> It helps if you show the exact error, and a way to reproduce this
> using a minimal setup (ideally only poky).
>
> Alex
>
> On Thu, 20 Oct 2022 at 11:18, Thomas Roos via lists.yoctoproject.org
> <throos=amazon.de@...> wrote:
> >
> > Hi,
> > when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
> > I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
> > Is this a bug or do anybody know why go use that additional src folder?
> >
> >
> > Cheers,
> > Thomas
> >
> >
> >
> >
> > Amazon Web Services EMEA SARL
> > 38 avenue John F. Kennedy, L-1855 Luxembourg
> > Sitz der Gesellschaft: L-1855 Luxemburg
> > eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284
> >
> > Amazon Web Services EMEA SARL, Niederlassung Deutschland
> > Marcel-Breuer-Str. 12, D-80807 Muenchen
> > Sitz der Zweigniederlassung: Muenchen
> > eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094
> >
> >
> >
> >
> >
>
>
>
> Amazon Web Services EMEA SARL
> 38 avenue John F. Kennedy, L-1855 Luxembourg
> Sitz der Gesellschaft: L-1855 Luxemburg
> eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284
>
> Amazon Web Services EMEA SARL, Niederlassung Deutschland
> Marcel-Breuer-Str. 12, D-80807 Muenchen
> Sitz der Zweigniederlassung: Muenchen
> eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094
>
>



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Re: devtool upgrade for go recipes with git "broken"

Alexander Kanavin
 

Thanks, I do not have a quick answer to this, but would appreciate if
you can dig deeper into the issue.

Alex

On Thu, 20 Oct 2022 at 11:50, Roos, Thomas <throos@...> wrote:

yes, easy
- set the go-helloworld bb srcrev to an older rev - e.g:
SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"

"devtool upgrade go-helloworld"

INFO: Extracting upgraded version source...
Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 567, in upgrade
rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch,
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 183, in _extract_new_source
__run('git checkout %s' % rev)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 170, in __run
return _run(cmd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 31, in _run
return bb.process.run('%s' % cmd, cwd=cwd)
File "/home/ubuntu/yocto/poky/bitbake/lib/bb/process.py", line 189, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git checkout 2e68773dfca072cb81f219fc3b97ad34fe9d9f94' failed with exit code 128:
fatal: reference is not a tree: 2e68773dfca072cb81f219fc3b97ad34fe9d9f94


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ubuntu/yocto/poky/scripts/devtool", line 338, in <module>
ret = main()
File "/home/ubuntu/yocto/poky/scripts/devtool", line 325, in main
ret = args.func(args, config, basepath, workspace)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 575, in upgrade
_upgrade_error(e, recipedir, srctree, args.keep_failure)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 134, in _upgrade_error
_cleanup_on_error(rd, srctree)
File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 126, in _cleanup_on_error
if not len(os.listdir(rdp)):
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/yocto/build/workspace/recipes'





________________________________
Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:32:19
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



It helps if you show the exact error, and a way to reproduce this
using a minimal setup (ideally only poky).

Alex

On Thu, 20 Oct 2022 at 11:18, Thomas Roos via lists.yoctoproject.org
<throos=amazon.de@...> wrote:

Hi,
when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
Is this a bug or do anybody know why go use that additional src folder?


Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094






Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094


Re: devtool upgrade for go recipes with git "broken"

Thomas Roos
 

yes, easy
- set the go-helloworld bb srcrev to an older rev - e.g:
SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"

"devtool upgrade go-helloworld"

INFO: Extracting upgraded version source...
Traceback (most recent call last):
  File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 567, in upgrade
    rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch,
  File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 183, in _extract_new_source
    __run('git checkout %s' % rev)
  File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 170, in __run
    return _run(cmd, srctree)
  File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 31, in _run
    return bb.process.run('%s' % cmd, cwd=cwd)
  File "/home/ubuntu/yocto/poky/bitbake/lib/bb/process.py", line 189, in run
    raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git checkout 2e68773dfca072cb81f219fc3b97ad34fe9d9f94' failed with exit code 128:
fatal: reference is not a tree: 2e68773dfca072cb81f219fc3b97ad34fe9d9f94


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/yocto/poky/scripts/devtool", line 338, in <module>
    ret = main()
  File "/home/ubuntu/yocto/poky/scripts/devtool", line 325, in main
    ret = args.func(args, config, basepath, workspace)
  File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 575, in upgrade
    _upgrade_error(e, recipedir, srctree, args.keep_failure)
  File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 134, in _upgrade_error
    _cleanup_on_error(rd, srctree)
  File "/home/ubuntu/yocto/poky/scripts/lib/devtool/upgrade.py", line 126, in _cleanup_on_error
    if not len(os.listdir(rdp)):
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/yocto/build/workspace/recipes'






Von: Alexander Kanavin <alex.kanavin@...>
Gesendet: Donnerstag, 20. Oktober 2022 11:32:19
An: Roos, Thomas
Cc: yocto@...
Betreff: RE: [EXTERNAL][yocto] devtool upgrade for go recipes with git "broken"
 
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



It helps if you show the exact error, and a way to reproduce this
using a minimal setup (ideally only poky).

Alex

On Thu, 20 Oct 2022 at 11:18, Thomas Roos via lists.yoctoproject.org
<throos=amazon.de@...> wrote:
>
> Hi,
> when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
> I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
> Is this a bug or do anybody know why go use that additional src folder?
>
>
> Cheers,
> Thomas
>
>
>
>
> Amazon Web Services EMEA SARL
> 38 avenue John F. Kennedy, L-1855 Luxembourg
> Sitz der Gesellschaft: L-1855 Luxemburg
> eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284
>
> Amazon Web Services EMEA SARL, Niederlassung Deutschland
> Marcel-Breuer-Str. 12, D-80807 Muenchen
> Sitz der Zweigniederlassung: Muenchen
> eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094
>
>
>
>
>



Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Re: devtool upgrade for go recipes with git "broken"

Alexander Kanavin
 

It helps if you show the exact error, and a way to reproduce this
using a minimal setup (ideally only poky).

Alex

On Thu, 20 Oct 2022 at 11:18, Thomas Roos via lists.yoctoproject.org
<throos=amazon.de@...> wrote:

Hi,
when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
Is this a bug or do anybody know why go use that additional src folder?


Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094





devtool upgrade for go recipes with git "broken"

Thomas Roos
 

Hi,
when doing a "devtool upgrade" for a recipe which inherits "go" and using a SRC_URI to a git repo this will fail. Complaining that the git revision is "out of tree" - I found that the additional "src" folder inside the checkout out sources is causing this problem and I wondering if this is necessary. I'm not a go programmer, but when changing this the recipe seems to produce the same result.
I did change our go recipe to don't use this additional src folder by overwriting the go_do_upack and go_do_configure method. Here: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-support/amazon-ssm-agent/amazon-ssm-agent_3.1.1856.0.bb
Is this a bug or do anybody know why go use that additional src folder?


Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Re: devtool upgrade multiple architectures possible?

Alexander Kanavin
 

This would be a much welcome feature. I suspect however that devtool
relies on the current target, and won't be easily convinced to update
other targets.

Alex

On Thu, 20 Oct 2022 at 10:51, Thomas Roos via lists.yoctoproject.org
<throos=amazon.de@...> wrote:

Hi,
wondering if it's possible when doing a "devtool upgrade" for a binary recipe to upgrade SRC rev for all architectures in that recipe. Or is this a missing feature?
E.g. here do an "aarch64.sha256sum" as well when running devtool upgrade and not only "x86-64.sha256sum"

SRC_URI[x86-64.sha256sum] = "aeec1a4fb34ffabbac931ba430601807133659a4bd02703c33044e80c925bed2"
SRC_URI[aarch64.sha256sum] = "69aa5a95b3f9030e1fef5b5886e4c97f75fffa7534dc2c98e59ef402a819a0aa"

Full file: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-devtools/amazon-corretto/corretto-17-bin_17.0.5.8.1.bb

If this is not currently possible, I can create a bugzilla feature request, but wanted to ask first.

Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094





devtool upgrade multiple architectures possible?

Thomas Roos
 

Hi,
wondering if it's possible when doing a "devtool upgrade" for a binary recipe to upgrade SRC rev for all architectures in that recipe. Or is this a missing feature?
E.g. here do an "aarch64.sha256sum" as well when running devtool upgrade and not only "x86-64.sha256sum"

SRC_URI[x86-64.sha256sum] = "aeec1a4fb34ffabbac931ba430601807133659a4bd02703c33044e80c925bed2"
SRC_URI[aarch64.sha256sum] = "69aa5a95b3f9030e1fef5b5886e4c97f75fffa7534dc2c98e59ef402a819a0aa"

Full file: https://github.com/aws4embeddedlinux/meta-aws/blob/942651026c7a91b9703609d7658bd1649350acaf/recipes-devtools/amazon-corretto/corretto-17-bin_17.0.5.8.1.bb

If this is not currently possible, I can create a bugzilla feature request, but wanted to ask first.

Cheers,
Thomas




Amazon Web Services EMEA SARL
38 avenue John F. Kennedy, L-1855 Luxembourg
Sitz der Gesellschaft: L-1855 Luxemburg
eingetragen im Luxemburgischen Handelsregister unter R.C.S. B186284

Amazon Web Services EMEA SARL, Niederlassung Deutschland
Marcel-Breuer-Str. 12, D-80807 Muenchen
Sitz der Zweigniederlassung: Muenchen
eingetragen im Handelsregister des Amtsgerichts Muenchen unter HRB 242240, USt-ID DE317013094



Re: Adding msktutil in yocto #yocto

Poornesh G ( India - Bangalore )
 

Dear Khem Raj,

Thanks much , I could successfully able to add "msktutil" as per your response.

Thanks,
​​


On Thursday, October 20, 2022 11:26 IST, Khem Raj <raj.khem@...> wrote:
 
Try something like

https://git.openembedded.org/meta-openembedded/commit/?h=master-next

On Wed, Oct 19, 2022 at 10:33 PM <poornesh.g@...> wrote:
>
> Greetings !
>
> Can any one help me out to include "msktutil" (used for fetching and managing kerberos keytabs in an Active Directory environment) in Yocto (Zeus).
>
> Thanks,
>
>
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
 


 


Re: Adding msktutil in yocto #yocto

Khem Raj
 

On Wed, Oct 19, 2022 at 10:33 PM <poornesh.g@...> wrote:

Greetings !

Can any one help me out to include "msktutil" (used for fetching and managing kerberos keytabs in an Active Directory environment) in Yocto (Zeus).

Thanks,


Adding msktutil in yocto #yocto

Poornesh G ( India - Bangalore )
 

Greetings !

Can any one help me out to include "msktutil" (used for fetching and managing kerberos keytabs in an Active Directory environment) in Yocto (Zeus).

Thanks,


Re: [meta-rockchip][PATCH] add support for PX30 SoC

Khem Raj
 

On Wed, Oct 19, 2022 at 1:45 AM Quentin Schulz <foss@...> wrote:

From: Quentin Schulz <quentin.schulz@...>

Rockchip PX30 SoC is a quad-core ARM Cortex-A35 CPU fully implementing
the ARMv8-A instruction set with ARM Neon Advanced SIMD and Cryptography
Extensions.

This adds a base configuration file which can be included by PX30-based
boards and the required changes in U-Boot and TF-A for proper support.
lgtm

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---

Note: this was developed and tested on kirkstone branch only

conf/machine/include/px30.inc | 21 +++++++++++++++++++
.../trusted-firmware-a_%.bbappend | 5 +++++
recipes-bsp/u-boot/u-boot%.bbappend | 2 ++
3 files changed, 28 insertions(+)
create mode 100644 conf/machine/include/px30.inc

diff --git a/conf/machine/include/px30.inc b/conf/machine/include/px30.inc
new file mode 100644
index 0000000..a3727fb
--- /dev/null
+++ b/conf/machine/include/px30.inc
@@ -0,0 +1,21 @@
+# Copyright (C) 2022 Theobroma Systems Design und Consulting
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "px30"
+
+DEFAULTTUNE ?= "cortexa35-crypto"
+
+require conf/machine/include/soc-family.inc
+require conf/machine/include/arm/armv8a/tune-cortexa35.inc
+require conf/machine/include/rockchip-defaults.inc
+require conf/machine/include/rockchip-wic.inc
+
+KBUILD_DEFCONFIG ?= "defconfig"
+KERNEL_CLASSES = "kernel-fitimage"
+KERNEL_IMAGETYPE = "fitImage"
+
+TFA_PLATFORM = "px30"
+TFA_BUILD_TARGET = "bl31"
+
+UBOOT_SUFFIX ?= "itb"
+UBOOT_ENTRYPOINT ?= "0x06000000"
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 31024ce..814028b 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -4,6 +4,7 @@ DEPENDS:append:rk3399 = " virtual/arm-none-eabi-gcc-native"

COMPATIBLE_MACHINE:append:rk3399 = "|rk3399"
COMPATIBLE_MACHINE:append:rk3328 = "|rk3328"
+COMPATIBLE_MACHINE:append:px30 = "|px30"

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "\
@@ -26,4 +27,8 @@ fixup_baudrate:rk3399() {
sed -i "s/#define RK3399_BAUDRATE\s\+.*/#define RK3399_BAUDRATE ${RK_CONSOLE_BAUD}/" ${S}/plat/rockchip/rk3399/rk3399_def.h
}

+fixup_baudrate:px30() {
+ sed -i "s/#define PX30_BAUDRATE\s\+.*/#define PX30_BAUDRATE ${RK_CONSOLE_BAUD}/" ${S}/plat/rockchip/px30/px30_def.h
+}
+
do_patch[postfuncs] += "fixup_baudrate"
diff --git a/recipes-bsp/u-boot/u-boot%.bbappend b/recipes-bsp/u-boot/u-boot%.bbappend
index 9108a36..de1f2ca 100644
--- a/recipes-bsp/u-boot/u-boot%.bbappend
+++ b/recipes-bsp/u-boot/u-boot%.bbappend
@@ -11,6 +11,8 @@ EXTRA_OEMAKE:append:rk3399 = " BL31=${DEPLOY_DIR_IMAGE}/bl31-rk3399.elf"
ATF_DEPENDS:rk3399 = " trusted-firmware-a:do_deploy"
EXTRA_OEMAKE:append:rk3328 = " BL31=${DEPLOY_DIR_IMAGE}/bl31-rk3328.elf"
ATF_DEPENDS:rk3328 = " trusted-firmware-a:do_deploy"
+EXTRA_OEMAKE:append:px30 = " BL31=${DEPLOY_DIR_IMAGE}/bl31-px30.elf"
+ATF_DEPENDS:px30 = " trusted-firmware-a:do_deploy"

do_compile[depends] .= "${ATF_DEPENDS}"

--
2.37.3




[meta-rockchip][PATCH] add support for PX30 SoC

Quentin Schulz
 

From: Quentin Schulz <quentin.schulz@...>

Rockchip PX30 SoC is a quad-core ARM Cortex-A35 CPU fully implementing
the ARMv8-A instruction set with ARM Neon Advanced SIMD and Cryptography
Extensions.

This adds a base configuration file which can be included by PX30-based
boards and the required changes in U-Boot and TF-A for proper support.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---

Note: this was developed and tested on kirkstone branch only

conf/machine/include/px30.inc | 21 +++++++++++++++++++
.../trusted-firmware-a_%.bbappend | 5 +++++
recipes-bsp/u-boot/u-boot%.bbappend | 2 ++
3 files changed, 28 insertions(+)
create mode 100644 conf/machine/include/px30.inc

diff --git a/conf/machine/include/px30.inc b/conf/machine/include/px30.inc
new file mode 100644
index 0000000..a3727fb
--- /dev/null
+++ b/conf/machine/include/px30.inc
@@ -0,0 +1,21 @@
+# Copyright (C) 2022 Theobroma Systems Design und Consulting
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "px30"
+
+DEFAULTTUNE ?= "cortexa35-crypto"
+
+require conf/machine/include/soc-family.inc
+require conf/machine/include/arm/armv8a/tune-cortexa35.inc
+require conf/machine/include/rockchip-defaults.inc
+require conf/machine/include/rockchip-wic.inc
+
+KBUILD_DEFCONFIG ?= "defconfig"
+KERNEL_CLASSES = "kernel-fitimage"
+KERNEL_IMAGETYPE = "fitImage"
+
+TFA_PLATFORM = "px30"
+TFA_BUILD_TARGET = "bl31"
+
+UBOOT_SUFFIX ?= "itb"
+UBOOT_ENTRYPOINT ?= "0x06000000"
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 31024ce..814028b 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -4,6 +4,7 @@ DEPENDS:append:rk3399 = " virtual/arm-none-eabi-gcc-native"

COMPATIBLE_MACHINE:append:rk3399 = "|rk3399"
COMPATIBLE_MACHINE:append:rk3328 = "|rk3328"
+COMPATIBLE_MACHINE:append:px30 = "|px30"

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "\
@@ -26,4 +27,8 @@ fixup_baudrate:rk3399() {
sed -i "s/#define RK3399_BAUDRATE\s\+.*/#define RK3399_BAUDRATE ${RK_CONSOLE_BAUD}/" ${S}/plat/rockchip/rk3399/rk3399_def.h
}

+fixup_baudrate:px30() {
+ sed -i "s/#define PX30_BAUDRATE\s\+.*/#define PX30_BAUDRATE ${RK_CONSOLE_BAUD}/" ${S}/plat/rockchip/px30/px30_def.h
+}
+
do_patch[postfuncs] += "fixup_baudrate"
diff --git a/recipes-bsp/u-boot/u-boot%.bbappend b/recipes-bsp/u-boot/u-boot%.bbappend
index 9108a36..de1f2ca 100644
--- a/recipes-bsp/u-boot/u-boot%.bbappend
+++ b/recipes-bsp/u-boot/u-boot%.bbappend
@@ -11,6 +11,8 @@ EXTRA_OEMAKE:append:rk3399 = " BL31=${DEPLOY_DIR_IMAGE}/bl31-rk3399.elf"
ATF_DEPENDS:rk3399 = " trusted-firmware-a:do_deploy"
EXTRA_OEMAKE:append:rk3328 = " BL31=${DEPLOY_DIR_IMAGE}/bl31-rk3328.elf"
ATF_DEPENDS:rk3328 = " trusted-firmware-a:do_deploy"
+EXTRA_OEMAKE:append:px30 = " BL31=${DEPLOY_DIR_IMAGE}/bl31-px30.elf"
+ATF_DEPENDS:px30 = " trusted-firmware-a:do_deploy"

do_compile[depends] .= "${ATF_DEPENDS}"

--
2.37.3