Hello,

if you want to use a specific flashing tool use the deploy method called "flasher".

See https://staging.validation.linaro.org/scheduler/job/262229/definition and the corresponding device dictionary https://staging.validation.linaro.org/scheduler/device/staging-soca9-01/devicedict
The command that will be used is in the variable called flasher_deploy_commands


Rgds

Le mar. 12 nov. 2019 à 13:14, Ilya Fedusiv <ilya.f@l4b-software.com> a écrit :
Hello!
I'm trying to flash via special tool, which is not implemented in lava. I did it successfully by editing device dictionary. 
Next want to use pre power command. That's why I use lxc. But how trigger protocol to use it?

It doesnt work:
- deploy:
    namespace: target
    timeout:
      minutes: 20
    to: flasher
    images:
      flash_dir:
        url: file:///opt/image.zip
    os: oe
    protocols:
      lava-lxc:
      - action: flasher-deploy
        request: pre-power-command

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


--
Rémi Duraffort
LAVA Architect
Linaro