]> code.ossystems Code Review - openembedded-core.git/commit
tar: set acpaths to avoid "Argument list too long" error
authorChong Lu <Chong.Lu@windriver.com>
Thu, 12 Mar 2015 06:14:55 +0000 (23:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Mar 2015 09:25:50 +0000 (09:25 +0000)
commit747333764231d0320bdefbcf192b2589e70c58a1
treef609a73bcb038c591e76b9888715a69362cb03b0
parent415be16794dfe9122e6eedff950bede2070008ed
tar: set acpaths to avoid "Argument list too long" error

There would be an error when the TMPDIR is long/deep, for example when
len(TMPDIR) = 410 while our supported longest value is 410:

    aclocal: error: cannot open xxx
    autoreconf: aclocal failed with exit status: 1
    ERROR: autoreconf execution failed.

Let aclocal use the relative path for the m4 file rather than the
absolute would fix the problem.

[YOCTO #6138]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/tar/tar.inc