Skip to content
Commit dafdf9bb authored by Changqing Li's avatar Changqing Li Committed by Steve Sakoman
Browse files

apt: 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: default avatarRobert Yang <liezhi.yang@windriver.com>

Take back from https://git.openembedded.org/openembedded-core/commit/?id=9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf


Signed-off-by: default avatarChangqing Li <changqing.li@windriver.com>
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 30cc69f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment