From f06c1c3df0aeec4eea7697159c4954187d19ae9b Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 4 Jul 2012 18:16:28 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/apt/apt.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/apt/apt.inc') diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc index 1f6343a..563eda1 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 \ file://localefixes.patch \ file://makerace.patch \ file://remove-redeclaration.patch \ + file://truncate-filename.patch \ " inherit autotools gettext -- cgit v1.1