On Mon, Feb 19, 2024 at 9:02 PM Michael Peddie michael.peddie@gallagher.com wrote:
Changing the download command to have a cd hasn't worked, and the context change hasn't worked either. I am using the nfs transfer as the DUT can't use wget or curl (as stated previously), so if that is the reason either of them won't work, then I need to find another way to do it. Would it be possible to change directory right after login? Before the transfer takes place, and before testing starts. However, I don't think the use of nfs and mount cause any issues, because of the way the line is constructed for the command containing mkdir. This is the command with both of those changes implemented together (please ignore hostname placeholder): mkdir -p /lava-overlay-l8exzifv; cd /tmp ; mount -t nfs -o nolock <hostname>:/var/lib/lava/dispatcher/tmp/260/lava-overlay-l8exzifv /lava-overlay-l8exzifv What I need is that first directory changed, as LAVA is trying to create it at root, but I can only have it under /tmp/. And since that one can't be created, none of the other stuff actually works.
I think you're confusing things here. The NFS is used as rootfs and the board should boot from it. Overlay is added during deployment. https://lava.infra.foundries.io/static/docs/v2/actions-deploy.html#nfsrootfs
Best Regards, Milosz
Looking at the documentation there is a list of the directories/stuff that can be changed, and it looks like lava_test_results_dir is something that needs changing anyways. The other 2 shouldn't need changing, but I know what to change if they do.
Best regards, Michael _______________________________________________ lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s