classes: go-vendor: Unlink vendor dir later

Vendor directory might still be required during install stage, so defer
the removal until later stage.

(From OE-Core rev: f4538e3884a0cfa07e16e6a2c986271cc7322dd8)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Vyacheslav Yurkov 2024-01-16 09:23:22 +01:00 committed by Richard Purdie
parent 3e579c303e
commit 4eca05e15b

View File

@ -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