Skip to content

devices: build init binary in Cargo OUT_DIR#586

Open
d-e-s-o wants to merge 1 commit intocontainers:mainfrom
d-e-s-o:topic/devices-init-out-dir
Open

devices: build init binary in Cargo OUT_DIR#586
d-e-s-o wants to merge 1 commit intocontainers:mainfrom
d-e-s-o:topic/devices-init-out-dir

Conversation

@d-e-s-o
Copy link
Contributor

@d-e-s-o d-e-s-o commented Mar 13, 2026

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] #578 (comment)

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>
Copy link
Member

@jakecorrenti jakecorrenti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for making the change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants