But LAVA tries to create directory.  

https://pastebin.com/vGpQtUFF

Ilya.

From: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Sent: Thursday, September 19, 2019 2:05 PM
To: Ilya Fedusiv <ilya.f@l4b-software.com>
Cc: Lava Users Mailman list <lava-users@lists.lavasoftware.org>
Subject: Re: [Lava-users] Change overlay directory
 
Are you able to build your filesystem? LAVA requires overlay on the target to work. It can be delivered by either modifying filesystem before deployment or downloading after deployment. Later won't work as you don't have network. So the only option is fs modification. LAVA will do that for you when you set apply_overlay flag to the partition in deploy section. Some tests might require to write files to fs, bu that's a different subject. I don't think LAVA scripts require write access.

milosz

On Thu, Sep 19, 2019, 03:31 Ilya Fedusiv <ilya.f@l4b-software.com> wrote:
Thank you! 

One more question, how can I operate with LAVA if I have read only file system? And there is no network.

Ilya. 

From: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Sent: Wednesday, September 18, 2019 3:06 PM
To: Ilya Fedusiv <ilya.f@l4b-software.com>
Cc: Lava Users Mailman list <lava-users@lists.lavasoftware.org>
Subject: Re: [Lava-users] Change overlay directory
 
It is possible. I did that not so long ago. You need sth like this in job context

context:
lava_test_results_dir: "/tmp/lava-%s"

You might need to strip  2 levels.in transfer overlay if you use it. I think this is a bug but I didn't debug further.

milosz


On Wed, Sep 18, 2019, 12:32 Ilya Fedusiv <ilya.f@l4b-software.com> wrote:
Is it possible to change directory on device of overlay and all LAVA stuff for example to /tmp/ ?
By default now it is / 

Ilya
_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users