Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev_cli.sh: Fix kvm directory path of the build command
Current local variable `exported_device` under `cmd_build()` misses the root directory in the beginning, which will lead to the error of: ``` docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination:dev/kvm Type:bind [...] Options:[rbind]}: mount destination dev/kvm not absolute: unknown. ``` when running `scripts/dev_cli.sh build` command. Fix the path by following the `cmd_test()`. Signed-off-by: Henry Wang <[email protected]>
- Loading branch information