From 37cb3e3aa4dc6fa63e5c6538dac6301d363f433c Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 17 Sep 2013 02:35:02 +0000 Subject: python-smartpm: truncate the filename to meet NAME_MAX There is a "File name too long" error when len(TMPDIR) = 410, this is because the function getLocalPath() converts the filepath into the filename, so there would be the error when len(filename) > NAME_MAX, truncate the filename to meet NAME_MAX will fix the problem. [YOCTO #5201] (From OE-Core rev: 9f0427edee6bf62d3fe7cdceb07f59a5776c8c4f) Signed-off-by: Robert Yang Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/python/python-smartpm_1.4.1.bb') diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb index f406d69..f349469 100644 --- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb +++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb @@ -31,6 +31,7 @@ SRC_URI = "\ file://smart-flag-exclude-packages.patch \ file://smart-config-ignore-all-recommends.patch \ file://smart-attempt.patch \ + file://smart-filename-NAME_MAX.patch \ " SRC_URI[md5sum] = "573ef32ba177a6b3c4bf7ef04873fcb6" -- cgit v1.1