Re: [OE-core] [PATCH 0/3] Allows to copy symlinks to DUTs with testimage

2016-07-26 Thread Mariano Lopez



On 07/26/2016 11:27 AM, Joshua G Lock wrote:

On Tue, 2016-07-26 at 07:39 +, mariano.lo...@linux.intel.com wrote:

From: Mariano Lopez 

Currently when using the install functionality in the DUT without
package
manager, if you copy a symlink the function will fail.

These series will change the behaviour and will allow to recreate the
symlinks in the DUT.

[YOCTO #9932]


Would oe.path.copytree() work instead of using shutil.copytree()?
copytree() was added because shutil was quite slow for our usage.


I didn't know the existence of that function, I tried it and it can 
replace shutil.copytree(). I'll send a v2.




Regards,

Joshua


Mariano Lopez
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/3] Allows to copy symlinks to DUTs with testimage

2016-07-26 Thread Joshua G Lock
On Tue, 2016-07-26 at 07:39 +, mariano.lo...@linux.intel.com wrote:
> From: Mariano Lopez 
> 
> Currently when using the install functionality in the DUT without
> package
> manager, if you copy a symlink the function will fail.
> 
> These series will change the behaviour and will allow to recreate the
> symlinks in the DUT.
> 
> [YOCTO #9932]


Would oe.path.copytree() work instead of using shutil.copytree()?
copytree() was added because shutil was quite slow for our usage.

Regards,

Joshua
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/3] Allows to copy symlinks to DUTs with testimage

2016-07-26 Thread mariano . lopez
From: Mariano Lopez 

Currently when using the install functionality in the DUT without package
manager, if you copy a symlink the function will fail.

These series will change the behaviour and will allow to recreate the
symlinks in the DUT.

[YOCTO #9932]


The following changes since commit 039f47ad197a9a53109c9f3deadd9c35e62c056d:

  uclibc: remove meta-yocto-bsp append (2016-07-26 08:56:32 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib mariano/bug9932
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/bug9932

Mariano Lopez (3):
  oeqa/utils/commands.py: Add oeqa_copy function
  oeqa/oetest.py: Allow to export packages using symlinks
  oeqa/utils/sshcontrol.py: Allows to copy symlinks to target

 meta/classes/testexport.bbclass   | 22 --
 meta/lib/oeqa/oetest.py   | 16 
 meta/lib/oeqa/utils/commands.py   |  9 +
 meta/lib/oeqa/utils/sshcontrol.py |  9 +++--
 4 files changed, 32 insertions(+), 24 deletions(-)

-- 
2.6.6

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core