mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 10:13:03 +01:00
Changes: * Update the GitHub RSA host key bundled within Cargo. The key was rotated by GitHub on 2023-03-24 after the old one leaked. * Mark the old GitHub RSA host key as revoked. This will prevent Cargo from accepting the leaked key even when trusted by the system. * Add support for @revoked and a better error message for @cert-authority in Cargo’s SSH host key verification (From OE-Core rev: 80ffaf90282a72276f6bf62e22976400fe7bb1f9) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 4563432b41026adc56c54452984b19ab64e7406e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
25 lines
1.2 KiB
PHP
25 lines
1.2 KiB
PHP
RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}"
|
|
|
|
SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \
|
|
file://crossbeam_atomic.patch;patchdir=${RUSTSRC} \
|
|
file://hardcodepaths.patch;patchdir=${RUSTSRC} \
|
|
file://getrandom-open64.patch;patchdir=${RUSTSRC} \
|
|
file://0001-Do-not-use-LFS64-on-linux-with-musl.patch;patchdir=${RUSTSRC} \
|
|
file://zlib-off64_t.patch;patchdir=${RUSTSRC} \
|
|
file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC} \
|
|
"
|
|
SRC_URI[rust.sha256sum] = "ce1a115f6aafa912b4622906a92b626354973afa9288e2c7750df4dcf3390fc0"
|
|
|
|
RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
|
|
|
|
# Used by crossbeam_atomic.patch
|
|
export TARGET_VENDOR
|
|
|
|
UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html"
|
|
UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
|
|
|
|
# see recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
|
|
# we need to link with ssp_nonshared on musl to avoid "undefined reference to `__stack_chk_fail_local'"
|
|
# when building MACHINE=qemux86 for musl
|
|
WRAPPER_TARGET_EXTRALD:libc-musl = "-lssp_nonshared"
|