summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVyacheslav Yurkov <uvv.mail@gmail.com>2024-01-16 09:23:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-19 12:21:22 +0000
commit4eca05e15bee6c1dceea4f622ce13582f793b8e0 (patch)
treea7a1516de3509f0920ee55a45488c3f3aba400de
parent3e579c303ee087e8705a36f4dbec8db4782a6ab4 (diff)
downloadpoky-4eca05e15bee6c1dceea4f622ce13582f793b8e0.tar.gz
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>
-rw-r--r--meta/classes/go-vendor.bbclass2
1 files changed, 1 insertions, 1 deletions
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() {
48 os.unlink(linkname) 48 os.unlink(linkname)
49} 49}
50 50
51addtask vendor_unlink before do_install after do_compile 51addtask vendor_unlink before do_package after do_install
52 52
53python do_go_vendor() { 53python do_go_vendor() {
54 import shutil 54 import shutil