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

Burton, Ross ross.burton at intel.com
Thu Oct 13 10:39:23 UTC 2016


On 13 October 2016 at 10:45, Robert Yang <liezhi.yang at 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 to "deploy_arch_dir/pkg1 deploy_arch_dir/pkg2
> deploy_arch_dir/pkg3 ..." which causes the "Argument list too long",
> change cwd to deploy_arch_dir can avoid the error.
>

Would it be better to change the implementation of copyhardlinktree so that
it *can't* have this problem?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161013/aa1ab6ab/attachment-0002.html>


More information about the Openembedded-core mailing list