summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/cargo-update-recipe-crates.bbclass
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2023-01-25 23:55:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-26 21:57:48 +0000
commitbcc22368c9132a4c28c9a910f6e968da51ffa6f2 (patch)
tree5f5834b8b2de74bdd1619028580b5c105de265b0 /meta/classes-recipe/cargo-update-recipe-crates.bbclass
parent06cfab132f0b955d4d8ae68abf66eccc681644ec (diff)
downloadpoky-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/classes-recipe/cargo-update-recipe-crates.bbclass')
-rw-r--r--meta/classes-recipe/cargo-update-recipe-crates.bbclass1
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
16addtask do_update_crates after do_patch 16addtask do_update_crates after do_patch
17do_update_crates[depends] = "python3-native:do_populate_sysroot" 17do_update_crates[depends] = "python3-native:do_populate_sysroot"
18do_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
20CARGO_LOCK_SRC_DIR ??= "${S}" 21CARGO_LOCK_SRC_DIR ??= "${S}"