mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
cargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS
When we upgrade a recipe that inherits cargo-update-recipe-crates and the upstream Cargo.toml/Cargo.lock have been changed, we need to run the update_crates task or else the devtool upgrade (and therefore AUH upgrade) will fail. Add "do_update_crates" task to RECIPE_UPDATE_EXTRA_TASKS for all recipes that inherit this class. (From OE-Core rev: 0156ab3e009fa789c629f6c0ab06fcf21add94f8) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
82d07928fe
commit
5676d39218
@@ -18,6 +18,8 @@ do_update_crates[depends] = "python3-native:do_populate_sysroot"
|
||||
do_update_crates[nostamp] = "1"
|
||||
do_update_crates[doc] = "Update the recipe by reading Cargo.lock and write in ${THISDIR}/${BPN}-crates.inc"
|
||||
|
||||
RECIPE_UPDATE_EXTRA_TASKS += "do_update_crates"
|
||||
|
||||
# The directory where to search for Cargo.lock files
|
||||
CARGO_LOCK_SRC_DIR ??= "${S}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user