diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/rootfs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index b6baf7780d..4fd17de58e 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -496,7 +496,9 @@ class OpkgRootfs(Rootfs): if allow_rep.match(key): valid = True else: - if not filecmp.cmp(files[key], item): + if os.path.exists(files[key]) and \ + os.path.exists(item) and \ + not filecmp.cmp(files[key], item): valid = False bb.fatal("%s duplicate files %s %s is not the same\n" % (error_prompt, item, files[key])) |