Hi Pete,

 

How do you transfer the overlay?

This is an example of snipped code for boot block from LAVA job definition. I think just change the tar command at unpack_command:

- boot:

    timeout:

      minutes: 10

    method: ssh

    prompts:

      - 'root@intel-corei7-64-64:~#'

    transfer_overlay:

      download_command: wget

      unpack_command: tar -C /scratch -xvpf

 

Regards,

Alim Hussin

 

From: Lava-users [mailto:lava-users-bounces@lists.lavasoftware.org] On Behalf Of Pete Dyer
Sent: Friday, May 17, 2019 11:26 PM
To: lava-users@lists.lavasoftware.org
Subject: [Lava-users] Using transfer overlay

 

Hello,

 

I'm using transfer overlay to get a set of tests onto the target.

 

However I want to untar it into /scratch instead of / because of storage requirements.

 

This I can do quite easily.

 

However the tests are going to try to run from / (e.g. /lava-10473/bin/lava-test-runner /lava-10473/1)

 

Is there a way of running tests from /scratch/lava-10473.... ?

 

Or a way of defining a command to run immediately after the transfer overlay that makes a link between /lava-10473 and /scratch/lava-10473 ?

 

Thanks.

Pete

 

 

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.