If this links to a file created by the package install we already handle it
when we process the sysroot. By ignoring symlinks here we don't cause a build
to fail when the symlink is to somewhere in the host OS.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
if os.path.islink(fpath):
fpath = os.readlink(fpath)
if not os.path.isabs(fpath):
- fpath = os.path.normpath(os.path.join(directory, fpath))
+ # Skip symlinks
+ continue
if os.path.isdir(fpath):
process_dir(fpath, d)