summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/apt/apt.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-07-04 18:16:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-09 16:58:16 +0100
commit9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf (patch)
treef4945504c96af443e93df355ff843fe855a6e9e5 /meta/recipes-devtools/apt/apt.inc
parent0d2d59420b5924491ccd5c091c823b9c277a6721 (diff)
downloadopenembedded-core-9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf.tar.gz
openembedded-core-9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf.tar.bz2
openembedded-core-9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf.zip
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/apt/apt.inc')
-rw-r--r--meta/recipes-devtools/apt/apt.inc1
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 \
file://localefixes.patch \
file://makerace.patch \
file://remove-redeclaration.patch \
+ file://truncate-filename.patch \
"
inherit autotools gettext