]> code.ossystems Code Review - openembedded-core.git/commit
classes/crate-fetch: Ensure crate fetcher is available
authorJoshua Watt <JPEWhacker@gmail.com>
Fri, 19 Nov 2021 02:12:49 +0000 (20:12 -0600)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 7 Dec 2021 06:41:35 +0000 (14:41 +0800)
commit19577427d25739588fdf607b6e3905dddfe206ff
treef486f2e4d7316e144c497a23d1dbef32560d8236
parentc25d9d2dae45805fa985f1c541cacfb0230f9522
classes/crate-fetch: Ensure crate fetcher is available

Reworks the crate fetcher class to have it install the fetcher at recipe
finalization so that it is always available before SRC_URI is expanded.
In addition, override the value of SRCPV to also install the fetcher
when SRCPV is expanded so that AUTOREV works.

[YOCTO #10867]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc66c5dd65fb654af5cd91b47f9b4f7a5f53436e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/crate-fetch.bbclass