Skip to content

Commit

Permalink
Merge pull request #10 from ThibF/thibf/build_install_doc
Browse files Browse the repository at this point in the history
README.md: add building and installation section
  • Loading branch information
Andrea Righi authored May 24, 2024
2 parents 956df71 + 9994df4 commit 9f75983
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,23 @@ user 0m0.736s
sys 0m0.795s
```

# Building

Static building is necessary as this binary is going to be executed
before the file system is up and running.

```
RUSTFLAGS='-C target-feature=+crt-static' cargo build -r
```

# Local installation

Put the binary into virtme/guest/bin/.
e.g. when used as a submodule:
```
cp target/release/virtme-ng-init ../virtme/guest/bin
```

# Credits

Author: Andrea Righi <[email protected]>

0 comments on commit 9f75983

Please sign in to comment.