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>
This commit is contained in:
Robert Yang
2012-07-04 18:16:28 +08:00
committed by Richard Purdie
parent 460119a5b9
commit f06c1c3df0
4 changed files with 38 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
require apt-native.inc
PR = "r8"
PR = "r9"
SRC_URI += "file://nodoc.patch \
file://noconfigure.patch \