mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
classes/go-vendor: Use UNPACKDIR instead of WORKDIR
modules.txt is provided using file:// in SRC_URI, therefore it will be found in UNPACKDIR instead of WORKDIR (From OE-Core rev: 114fe16f96280f40a9cea20b02b2743be42645dd) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fea5b7b452
commit
09eb747db8
@@ -156,7 +156,7 @@ python do_go_vendor() {
|
||||
shutil.copy2(rootdirLicese, subdirLicense)
|
||||
|
||||
# Copy vendor manifest
|
||||
modules_txt_src = os.path.join(d.getVar('WORKDIR'), "modules.txt")
|
||||
modules_txt_src = os.path.join(d.getVar('UNPACKDIR'), "modules.txt")
|
||||
bb.debug(1, "cp %s --> %s" % (modules_txt_src, vendor_dir))
|
||||
shutil.copy2(modules_txt_src, vendor_dir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user