diff options
Diffstat (limited to 'meta/classes-global')
| -rw-r--r-- | meta/classes-global/sanity.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index 1bd74e1935..bbbc41ddae 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass | |||
| @@ -840,6 +840,10 @@ def check_sanity_everybuild(status, d): | |||
| 840 | status.addresult("Please use a umask which allows a+rx and u+rwx\n") | 840 | status.addresult("Please use a umask which allows a+rx and u+rwx\n") |
| 841 | os.umask(omask) | 841 | os.umask(omask) |
| 842 | 842 | ||
| 843 | # Ensure /tmp is NOT mounted with noexec | ||
| 844 | if os.statvfs("/tmp").f_flag & os.ST_NOEXEC: | ||
| 845 | raise_sanity_error("/tmp shouldn't be mounted with noexec.", d) | ||
| 846 | |||
| 843 | if d.getVar('TARGET_ARCH') == "arm": | 847 | if d.getVar('TARGET_ARCH') == "arm": |
| 844 | # This path is no longer user-readable in modern (very recent) Linux | 848 | # This path is no longer user-readable in modern (very recent) Linux |
| 845 | try: | 849 | try: |
