diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-03-14 01:45:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-17 16:52:43 +0000 |
commit | a3dc93eb25fba32109edd1db6e8766074fb52e4b (patch) | |
tree | 2776e7c374ae346f6fc31865425457bf512a3c74 /meta/classes | |
parent | f346a9bdc372ec477bafcda358f9339ff4e4c79d (diff) | |
download | openembedded-core-a3dc93eb25fba32109edd1db6e8766074fb52e4b.tar.gz openembedded-core-a3dc93eb25fba32109edd1db6e8766074fb52e4b.tar.bz2 openembedded-core-a3dc93eb25fba32109edd1db6e8766074fb52e4b.zip |
oe/path.py: fix for "Argument list too long"
Issue: LIN9-1648
Fixed when len(TMPDIR) = 410:
$ bitbake core-image-sato-sdk
[snip]
Subprocess output:
/bin/sh: /bin/cp: Argument list too long
ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Function failed: do_rootfs
[snip]
This is because "copyhardlinktree(src, dst)" does "cp -afl src/* dst",
while src/* is expanded to "src/file1 src/file2, src/file3..." which
causes the "Argument list too long", use ./* as src and change cwd in
subprocess.check_output() to fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions