classes/go-vendor: Use UNPACKDIR instead of WORKDIR
PATCH 1/1 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
--- meta/classes/go-vendor.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/go-vendor.bbclass +1 -1
@@ -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)
Signature · 1 line
2.47.1
Quoted 14 lines · Joshua Watt via lists.openembedded.org
modules.txt is provided using file:// in
SRC_URI, therefore it will be found in UNPACKDIR instead of WORKDIRSigned-off-by Joshua Watt <[email protected]>--- meta/classes/go-vendor.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/go-vendor.bbclass +0
-0
meta/classes/go-vendor.bbclass python do_go_vendor() { · line 159
Quoted 5 lines
meta/classes/go-vendor.bbclass +1
-1@@ -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")
yes, thanks for fixing it.
Quoted 15 lines
meta/classes/go-vendor.bbclass +0
-1bb.debug(1, "cp %s --> %s" % (modules_txt_src, vendor_dir)) shutil.copy2(modules_txt_src, vendor_dir) --2.47.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207885): https://lists.openembedded.org/g/openembedded-core/message/207885
Mute This Topic: https://lists.openembedded.org/mt/109797450/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-