diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-07-04 18:16:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-09 16:58:57 +0100 |
commit | f06c1c3df0aeec4eea7697159c4954187d19ae9b (patch) | |
tree | 6d9d5edfe02568f6c8bf9cf68227c231601d199e /meta/recipes-devtools/apt/apt.inc | |
parent | 460119a5b9f03db5b5f3a4668318fc3594ddf36b (diff) | |
download | poky-f06c1c3df0aeec4eea7697159c4954187d19ae9b.tar.gz |
apt 0.7.14: runtime error: filename too long (tmpdir length)
when the tmpdir dir is longer than 220, there is no files saved in
tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update,
this is because apt-get uses the path as the file name, but the file
name can't be longer than 255 according to /usr/include/linux/limits.h.
[YOCTO #2688]
(From OE-Core rev: 9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/apt.inc')
-rw-r--r-- | meta/recipes-devtools/apt/apt.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc index 1f6343a9d6..563eda102d 100644 --- a/meta/recipes-devtools/apt/apt.inc +++ b/meta/recipes-devtools/apt/apt.inc | |||
@@ -8,6 +8,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \ | |||
8 | file://localefixes.patch \ | 8 | file://localefixes.patch \ |
9 | file://makerace.patch \ | 9 | file://makerace.patch \ |
10 | file://remove-redeclaration.patch \ | 10 | file://remove-redeclaration.patch \ |
11 | file://truncate-filename.patch \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | inherit autotools gettext | 14 | inherit autotools gettext |