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): | |||
496 | if allow_rep.match(key): | 496 | if allow_rep.match(key): |
497 | valid = True | 497 | valid = True |
498 | else: | 498 | else: |
499 | if not filecmp.cmp(files[key], item): | 499 | if os.path.exists(files[key]) and \ |
500 | os.path.exists(item) and \ | ||
501 | not filecmp.cmp(files[key], item): | ||
500 | valid = False | 502 | valid = False |
501 | bb.fatal("%s duplicate files %s %s is not the same\n" % | 503 | bb.fatal("%s duplicate files %s %s is not the same\n" % |
502 | (error_prompt, item, files[key])) | 504 | (error_prompt, item, files[key])) |