sanity.bbclass: fix a hardcode in check_path_length()
* Fixed: 410 -> limit (From OE-Core rev: e5a4c3f8ea0d27ce2b3a3c33c231e28b7647f16b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
94b3583476
commit
b667f4dfdf
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue