When copying the sstate-cache into the extensible SDK, if the source path had a trailing / and the destination path did not, there would be a missing / between the path and the subdirectory name, and you'd end up with subdirectories like "sstate-cacheCentOS-6.7". There are functions in os.path for this sort of thing so let's just use them and avoid the problem.
Signed-off-by: Paul Eggleton <paul.eggle...@linux.intel.com> --- scripts/gen-lockedsig-cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index a4e9ded..0986a21 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache @@ -41,7 +41,7 @@ for f in files: # Most likely a temp file, skip it print('skipping') continue - dst = f.replace(sys.argv[2], sys.argv[3]) + dst = os.path.join(sys.argv[3], os.path.relpath(f, sys.argv[2])) destdir = os.path.dirname(dst) mkdir(destdir) -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core