Commit 0ea624b
committed
devices: build init binary in Cargo OUT_DIR
As per previous discussion [0], adjust the build script to build the
init binary in Cargo's OUT_DIR, which is meant precisely for use cases
like this. This way, we don't leak a random binary into the source tree,
where it would have to be removed manually.
[0] containers#578 (comment)
Signed-off-by: Daniel Müller <deso@posteo.net>1 parent 53920d2 commit 0ea624b
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
| |||
0 commit comments