diff options
author | Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> | 2023-11-21 18:14:46 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-27 22:54:59 +0000 |
commit | 3e50e45917831d9da2d86e69fb908a1a78483b62 (patch) | |
tree | 1d098f448d107c30b6f45113e545b041e619c047 | |
parent | 5d12c0a3dc843072a64052c9cd7b1d32585e3d7e (diff) | |
download | poky-3e50e45917831d9da2d86e69fb908a1a78483b62.tar.gz |
rust: Split rustdoc into a separate package
The 'rustdoc' is moved to a separate 'rust-rustdoc' package. This is a
workaround to test if the main rust binary is reproducible even if
rustdoc isn't.
(From OE-Core rev: dfed7e63e199009ecca8e2e34f6a823c6e1677e0)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/rust/rust_1.70.0.bb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index 029b6af331..14ccb0b24d 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
@@ -16,7 +16,7 @@ import os | |||
16 | import datetime | 16 | import datetime |
17 | 17 | ||
18 | exclude_packages = [ | 18 | exclude_packages = [ |
19 | 'rust', | 19 | 'rust-rustdoc', |
20 | 'rust-dbg' | 20 | 'rust-dbg' |
21 | ] | 21 | ] |
22 | 22 | ||
diff --git a/meta/recipes-devtools/rust/rust_1.70.0.bb b/meta/recipes-devtools/rust/rust_1.70.0.bb index 16d433910f..a7efd2f7f0 100644 --- a/meta/recipes-devtools/rust/rust_1.70.0.bb +++ b/meta/recipes-devtools/rust/rust_1.70.0.bb | |||
@@ -232,9 +232,11 @@ do_test_compile () { | |||
232 | 232 | ||
233 | ALLOW_EMPTY:${PN} = "1" | 233 | ALLOW_EMPTY:${PN} = "1" |
234 | 234 | ||
235 | PACKAGES =+ "${PN}-tools-clippy ${PN}-tools-rustfmt" | 235 | PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt" |
236 | FILES:${PN}-rustdoc = "${bindir}/rustdoc" | ||
236 | FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver" | 237 | FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver" |
237 | FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt" | 238 | FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt" |
239 | RDEPENDS:${PN}-rustdoc = "${PN}" | ||
238 | RDEPENDS:${PN}-tools-clippy = "${PN}" | 240 | RDEPENDS:${PN}-tools-clippy = "${PN}" |
239 | RDEPENDS:${PN}-tools-rustfmt = "${PN}" | 241 | RDEPENDS:${PN}-tools-rustfmt = "${PN}" |
240 | 242 | ||