diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 5bf1697e72..42e13a8c80 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -598,9 +598,9 @@ def OEOuthashBasic(path, sigfile, task, d): | |||
598 | update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name) | 598 | update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name) |
599 | update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name) | 599 | update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name) |
600 | except KeyError as e: | 600 | except KeyError as e: |
601 | bb.warn("KeyError in %s" % path) | ||
602 | msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match " | 601 | msg = ("KeyError: %s\nPath %s is owned by uid %d, gid %d, which doesn't match " |
603 | "any user/group on target. This may be due to host contamination." % (e, path, s.st_uid, s.st_gid)) | 602 | "any user/group on target. This may be due to host contamination." % |
603 | (e, os.path.abspath(path), s.st_uid, s.st_gid)) | ||
604 | raise Exception(msg).with_traceback(e.__traceback__) | 604 | raise Exception(msg).with_traceback(e.__traceback__) |
605 | 605 | ||
606 | if include_timestamps: | 606 | if include_timestamps: |