[OE-core] [PATCH 1/2] sanity.bbclass: fix a hardcode in check_path_length()
Robert Yang
liezhi.yang at windriver.com
Wed Apr 6 09:30:01 UTC 2016
* Fixed:
410 -> limit
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
meta/classes/sanity.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 662f764..ac23517 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -334,7 +334,7 @@ def check_create_long_filename(filepath, pathname):
def check_path_length(filepath, pathname, limit):
if len(filepath) > limit:
- return "The length of %s is longer than 410, this would cause unexpected errors, please use a shorter path.\n" % pathname
+ return "The length of %s is longer than %s, this would cause unexpected errors, please use a shorter path.\n" % (pathname, limit)
return ""
def get_filesystem_id(path):
--
2.8.0
More information about the Openembedded-core
mailing list