diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2016-04-06 02:30:01 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-06 22:57:26 +0100 |
| commit | b667f4dfdf98e5e02b27917d1c3de20deccc67c9 (patch) | |
| tree | cac0dd4e6ff43b18853e3f2c249f64c1591d4508 | |
| parent | 94b3583476b298a279aecf4b7f314a6020a61fac (diff) | |
| download | poky-b667f4dfdf98e5e02b27917d1c3de20deccc67c9.tar.gz | |
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>
| -rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index d229938c93..eda0ea9c8a 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
| @@ -334,7 +334,7 @@ def check_create_long_filename(filepath, pathname): | |||
| 334 | 334 | ||
| 335 | def check_path_length(filepath, pathname, limit): | 335 | def check_path_length(filepath, pathname, limit): |
| 336 | if len(filepath) > limit: | 336 | if len(filepath) > limit: |
| 337 | return "The length of %s is longer than 410, this would cause unexpected errors, please use a shorter path.\n" % pathname | 337 | return "The length of %s is longer than %s, this would cause unexpected errors, please use a shorter path.\n" % (pathname, limit) |
| 338 | return "" | 338 | return "" |
| 339 | 339 | ||
| 340 | def get_filesystem_id(path): | 340 | def get_filesystem_id(path): |
