From: Peter Kjellerstedt Date: Wed, 25 Jan 2023 22:55:32 +0000 (+0100) Subject: cargo-update-recipe-crates.bbclass: Mark the update_crates task as nostamp X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1868 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=137d290ac1f7516a509fc9d264489e51c3004d5d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/cargo-update-recipe-crates.bbclass b/meta/classes-recipe/cargo-update-recipe-crates.bbclass index 3a12ba247d3..697460d215d 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}"