Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 25, 2020

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