Skip to content

[build]: add sonic-slave-run to run any cmds inside sonic-slave#4481

Merged
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:run
Apr 25, 2020
Merged

[build]: add sonic-slave-run to run any cmds inside sonic-slave#4481
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:run

Conversation

@lguohan
Copy link
Collaborator

@lguohan lguohan commented Apr 25, 2020

Signed-off-by: Guohan Lu lguohan@gmail.com

- Why I did it
add target to allow run any cmds inside sonic-slave docker

- How I did it
check the pr.

- How to verify it
example:

SONIC_RUN_CMDS="gzip -d -c target/sonic-vs.img.gz > target/sonic-vs.img;\
qemu-img convert target/sonic-vs.img -O vhdx -o subformat=dynamic target/sonic-vs.vhdx"\
 BLDENV=buster make -f Makefile.work sonic-slave-run

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

…e-docekr

example:

```
SONIC_RUN_CMDS="gzip -d -c target/sonic-vs.img.gz > target/sonic-vs.img;\
qemu-img convert target/sonic-vs.img -O vhdx -o subformat=dynamic target/sonic-vs.vhdx"\
 BLDENV=buster make -f Makefile.work sonic-slave-run
```

Signed-off-by: Guohan Lu <lguohan@gmail.com>
@lguohan lguohan merged commit c56752a into sonic-net:master Apr 25, 2020
@lguohan lguohan deleted the run branch April 25, 2020 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants