diff mbox series

cargo-update-recipe-crates.bbclass: Mark the update_crates task as nostamp

Message ID 20230125225532.1944291-1-pkj@axis.com
State Accepted, archived
Commit 137d290ac1f7516a509fc9d264489e51c3004d5d
Headers show
Series cargo-update-recipe-crates.bbclass: Mark the update_crates task as nostamp | expand

Commit Message

Peter Kjellerstedt Jan. 25, 2023, 10:55 p.m. UTC
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>
---
 meta/classes-recipe/cargo-update-recipe-crates.bbclass | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 @@ 
 
 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}"