The linking/copying of the package files failes if the deploy dir is set
in a non normalized way e.g. like this DEPLOY_DIR = "${TOPDIR}/../deploy"
Then the simple string replacement which is used to calculated the link
destination from the link source fails, as the link source is normalized
but the deploydir prefix is not.
Normalizing deploydir fixes this.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
with open(manifest, "r") as f:
for l in f:
l = l.strip()
+ deploydir = os.path.normpath(deploydir)
dest = l.replace(deploydir, "")
dest = subrepo_dir + dest
if l.endswith("/"):