Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open(manifest, "r") as f:
- manifests[dep] = manifest
- for l in f:
- l = l.strip()
- if l.endswith("/fixmepath"):
- fm.append(l)
- continue
- if l.endswith("/fixmepath.cmd"):
- continue
- dest = l.replace(stagingdir, "")
- dest = "/" + "/".join(dest.split("/")[3:])
- newmanifest[l] = targetdir + dest
- # Check if files have already been installed by another
- # recipe and abort if they have, explaining what recipes are
- # conflicting.
- hashname = targetdir + dest
- if not hashname.endswith("/"):
- if hashname in fileset:
- bb.fatal("The file %s is installed by both %s and %s, aborting" % (dest, c, fileset[hashname]))
- else:
- fileset[hashname] = c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement