diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 25ddfeabb2..ff258349b5 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -158,6 +158,8 @@ def check_create_long_filename(filepath, pathname): | |||
158 | return "Failed to create a file with a long name in %s. Please use a filesystem that does not unreasonably limit filename length.\n" % pathname | 158 | return "Failed to create a file with a long name in %s. Please use a filesystem that does not unreasonably limit filename length.\n" % pathname |
159 | else: | 159 | else: |
160 | return "Failed to create a file in %s: %s.\n" % (pathname, strerror) | 160 | return "Failed to create a file in %s: %s.\n" % (pathname, strerror) |
161 | except OSError as (errno, strerror): | ||
162 | return "Failed to create %s directory in which to run long name sanity check: %s.\n" % (pathname, strerror) | ||
161 | return "" | 163 | return "" |
162 | 164 | ||
163 | def check_connectivity(d): | 165 | def check_connectivity(d): |