diff options
author | Vyacheslav Yurkov <uvv.mail@gmail.com> | 2024-01-16 09:23:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-19 12:21:22 +0000 |
commit | 4eca05e15bee6c1dceea4f622ce13582f793b8e0 (patch) | |
tree | a7a1516de3509f0920ee55a45488c3f3aba400de | |
parent | 3e579c303ee087e8705a36f4dbec8db4782a6ab4 (diff) | |
download | poky-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.bbclass | 2 |
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 | ||
51 | addtask vendor_unlink before do_install after do_compile | 51 | addtask vendor_unlink before do_package after do_install |
52 | 52 | ||
53 | python do_go_vendor() { | 53 | python do_go_vendor() { |
54 | import shutil | 54 | import shutil |