Vendor directory might still be required during install stage, so defer the removal until later stage.
Signed-off-by: Vyacheslav Yurkov <uvv.m...@gmail.com> --- meta/classes/go-vendor.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/go-vendor.bbclass b/meta/classes/go-vendor.bbclass index 48f4d1041c..1bbb99ac79 100644 --- a/meta/classes/go-vendor.bbclass +++ b/meta/classes/go-vendor.bbclass @@ -48,7 +48,7 @@ python do_vendor_unlink() { os.unlink(linkname) } -addtask vendor_unlink before do_install after do_compile +addtask vendor_unlink before do_package after do_install python do_go_vendor() { import shutil -- 2.35.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193827): https://lists.openembedded.org/g/openembedded-core/message/193827 Mute This Topic: https://lists.openembedded.org/mt/103758367/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-