]> code.ossystems Code Review - openembedded-core.git/commit
apt 0.7.14: runtime error: filename too long (tmpdir length)
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 4 Jul 2012 10:16:28 +0000 (18:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2012 15:58:16 +0000 (16:58 +0100)
commit9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf
treef4945504c96af443e93df355ff843fe855a6e9e5
parent0d2d59420b5924491ccd5c091c823b9c277a6721
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>
meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch [new file with mode: 0644]
meta/recipes-devtools/apt/apt-native_0.7.14.bb
meta/recipes-devtools/apt/apt.inc
meta/recipes-devtools/apt/apt_0.7.14.bb