diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2023-01-25 23:55:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-26 21:57:48 +0000 |
commit | bcc22368c9132a4c28c9a910f6e968da51ffa6f2 (patch) | |
tree | 5f5834b8b2de74bdd1619028580b5c105de265b0 /meta | |
parent | 06cfab132f0b955d4d8ae68abf66eccc681644ec (diff) | |
download | poky-bcc22368c9132a4c28c9a910f6e968da51ffa6f2.tar.gz |
cargo-update-recipe-crates.bbclass: Mark the update_crates task as nostamp
If having devtool modified a recipe and then updated the crate versions,
e.g., by doing a git bisect, running the update_crates task needs to
always update the .inc file even if the bitbake metadata has not
changed.
(From OE-Core rev: 137d290ac1f7516a509fc9d264489e51c3004d5d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-recipe/cargo-update-recipe-crates.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/cargo-update-recipe-crates.bbclass b/meta/classes-recipe/cargo-update-recipe-crates.bbclass index 3a12ba247d..697460d215 100644 --- a/meta/classes-recipe/cargo-update-recipe-crates.bbclass +++ b/meta/classes-recipe/cargo-update-recipe-crates.bbclass | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | addtask do_update_crates after do_patch | 16 | addtask do_update_crates after do_patch |
17 | do_update_crates[depends] = "python3-native:do_populate_sysroot" | 17 | do_update_crates[depends] = "python3-native:do_populate_sysroot" |
18 | do_update_crates[nostamp] = "1" | ||
18 | 19 | ||
19 | # The directory where to search for Cargo.lock files | 20 | # The directory where to search for Cargo.lock files |
20 | CARGO_LOCK_SRC_DIR ??= "${S}" | 21 | CARGO_LOCK_SRC_DIR ??= "${S}" |