diff options
| -rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 34f86180df..d0b5cd056c 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
| @@ -843,8 +843,8 @@ def check_sanity_everybuild(status, d): | |||
| 843 | os.chmod(tmpdir, os.stat(tmpdir).st_mode & ~ stat.S_ISUID) | 843 | os.chmod(tmpdir, os.stat(tmpdir).st_mode & ~ stat.S_ISUID) |
| 844 | os.chmod(tmpdir, os.stat(tmpdir).st_mode & ~ stat.S_ISGID) | 844 | os.chmod(tmpdir, os.stat(tmpdir).st_mode & ~ stat.S_ISGID) |
| 845 | os.chmod(tmpdir, os.stat(tmpdir).st_mode & ~ stat.S_ISVTX) | 845 | os.chmod(tmpdir, os.stat(tmpdir).st_mode & ~ stat.S_ISVTX) |
| 846 | except OSError: | 846 | except OSError as exc: |
| 847 | bb.warn("Unable to chmod TMPDIR: %s" % tmpdir) | 847 | bb.warn("Unable to chmod TMPDIR: %s" % exc) |
| 848 | with open(checkfile, "w") as f: | 848 | with open(checkfile, "w") as f: |
| 849 | f.write(tmpdir) | 849 | f.write(tmpdir) |
| 850 | 850 | ||
