Skip to contentSkip to conversation

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

PATCH New Peter Kjellerstedt 1 participant 1 message Jan 25, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/classes-recipe/cargo-update-recipe-crates.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes-recipe/cargo-update-recipe-crates.bbclass +1 -0
index 3a12ba247d..697460d215 100644
@@ -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}"