diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-03 15:10:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-08 15:41:36 +0100 |
commit | c08c522fc29445aef0c64f0dd8df8a3531c04afa (patch) | |
tree | 1a9e7287bed0f86704a996e2283403dc7d7df08d /meta/recipes-devtools/rust/rust-source.inc | |
parent | dfff5a176765c0e8b212bf31081f80e79025fd1b (diff) | |
download | openembedded-core-contrib-c08c522fc29445aef0c64f0dd8df8a3531c04afa.tar.gz |
rust: Work around reproducibility issues
Add a patch which removes the sections of code which encode buildpaths. Whilst
not ideal, the patches at least show where the problematic data is coming from
and should allow more focused work to resovle it by someone who has a better
understanding of rust and what this code is doing. It does look unlikely we
actually need this code in our usecases anyway.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-source.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index fda26534e8..b814574e55 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc @@ -1,6 +1,9 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" SRC_URI[rust.sha256sum] = "6c00ef115c894c2645e60b5049a4f5dacf1dc0c993f3074f7ae4fdf4c755dd5e" +SRC_URI:append:class-target:pn-rust = " file://hardcodepaths.patch" +SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch" + RUSTSRC = "${WORKDIR}/rustc-${PV}-src" UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" |