summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-05-23 16:19:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-24 08:51:41 +0100
commit13a86cb33d3b348bf4173527683f2c782d7ad968 (patch)
tree760432f98b1b772346be56bcc83781ffce466d3d
parent2e12fcf3a1e03ec78775ff8f56af370c80e47671 (diff)
downloadpoky-13a86cb33d3b348bf4173527683f2c782d7ad968.tar.gz
sanity.bbclass: add newline to check_create_long_filename failure message
Each failure in the sanity message should be reported on a new line. (From OE-Core rev: 9362702aa9dd82fed7e6d6e3cb1289521b802075) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 5cf9ea135b..39da14ba41 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -150,7 +150,7 @@ def check_create_long_filename(filepath, pathname):
150 if errno == 36: # ENAMETOOLONG 150 if errno == 36: # ENAMETOOLONG
151 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 151 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
152 else: 152 else:
153 return "Failed to create a file in %s: %s" % (pathname, strerror) 153 return "Failed to create a file in %s: %s.\n" % (pathname, strerror)
154 return "" 154 return ""
155 155
156def check_connectivity(d): 156def check_connectivity(d):