]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cargo-update-recipe-crates.bbclass: Mark the update_crates task as nostamp
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 25 Jan 2023 22:55:32 +0000 (23:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2023 21:57:07 +0000 (21:57 +0000)
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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cargo-update-recipe-crates.bbclass

index 3a12ba247d34b6426ac1f5fbd6189c7a31d84def..697460d215d5d337c72f952abe87404dafa923b6 100644 (file)
@@ -15,6 +15,7 @@
 
 addtask do_update_crates after do_patch
 do_update_crates[depends] = "python3-native:do_populate_sysroot"
+do_update_crates[nostamp] = "1"
 
 # The directory where to search for Cargo.lock files
 CARGO_LOCK_SRC_DIR ??= "${S}"