Re: [OE-core] [PATCH 1/1] package_manager.py: fix for "Argument list too long"

2016-10-16 Thread Robert Yang
Hi Christopher, On 10/16/2016 12:26 PM, Christopher Larson wrote: On Fri, Oct 14, 2016 at 3:18 AM, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: On 10/14/2016 05:58 PM, Robert Yang wrote: On 10/13/2016 06:39 PM, Burton, Ross wrote: On 13 October 2016 at 10:

Re: [OE-core] [PATCH 1/1] package_manager.py: fix for "Argument list too long"

2016-10-15 Thread Christopher Larson
On Fri, Oct 14, 2016 at 3:18 AM, Robert Yang wrote: > On 10/14/2016 05:58 PM, Robert Yang wrote: > >> >> >> On 10/13/2016 06:39 PM, Burton, Ross wrote: >> >>> >>> On 13 October 2016 at 10:45, Robert Yang >> > wrote: >>> >>> This is because "copyhardlinktree(d

Re: [OE-core] [PATCH 1/1] package_manager.py: fix for "Argument list too long"

2016-10-14 Thread Robert Yang
On 10/14/2016 05:58 PM, Robert Yang wrote: On 10/13/2016 06:39 PM, Burton, Ross wrote: On 13 October 2016 at 10:45, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: This is because "copyhardlinktree(deploy_arch_dir, arch_channel)" does: "cp -afl deploy_arch_dir/* arch_channel",

Re: [OE-core] [PATCH 1/1] package_manager.py: fix for "Argument list too long"

2016-10-14 Thread Robert Yang
On 10/13/2016 06:39 PM, Burton, Ross wrote: On 13 October 2016 at 10:45, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: This is because "copyhardlinktree(deploy_arch_dir, arch_channel)" does: "cp -afl deploy_arch_dir/* arch_channel", while the deploy_arch_dir/* is expanded

Re: [OE-core] [PATCH 1/1] package_manager.py: fix for "Argument list too long"

2016-10-13 Thread Burton, Ross
On 13 October 2016 at 10:45, Robert Yang wrote: > This is because "copyhardlinktree(deploy_arch_dir, arch_channel)" does: > "cp -afl deploy_arch_dir/* arch_channel", while the deploy_arch_dir/* is > expanded to "deploy_arch_dir/pkg1 deploy_arch_dir/pkg2 > deploy_arch_dir/pkg3 ..." which causes th

[OE-core] [PATCH 1/1] package_manager.py: fix for "Argument list too long"

2016-10-13 Thread Robert Yang
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(deploy_arch_dir, arch_channel)" does: "cp -afl deploy_arc