modules.txt is provided using file:// in SRC_URI, therefore it will be
found in UNPACKDIR instead of WORKDIR
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)