[6/7] sanity.bbclass: catch an extra exception in check_create_long_filename
Submitted by Joshua Lock on May 24, 2012, 12:03 a.m.
Patch ID: 28513
@@ -154,6 +154,8 @@ def check_create_long_filename(filepath, pathname):
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
return "Failed to create a file in %s: %s.\n" % (pathname, strerror)
+ except OSError as (errno, strerror):
+ return "Failed to create %s directory in which to run long name sanity check: %s.\n" % (pathname, strerror)