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

vng: fail if --arch is used without --root #234

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Conversation

matttbe
Copy link
Collaborator

@matttbe matttbe commented Feb 9, 2025

Because it doesn't make sense to run on a different architecture, but with the host's root FS.

Hopefully this is not going to block weird use-cases.

Link: #233

@matttbe matttbe requested a review from arighi February 9, 2025 19:10
Because it doesn't make sense to run on a different architecture, but
with the host's root FS.

Hopefully this is not going to block weird use-cases.

Link: arighi#233
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
@matttbe matttbe changed the title vng: warn if --arch is used without --root vng: fail if --arch is used without --root Feb 10, 2025
Instead of only listing the one passed by the user: most likely, the
user will want to know what to use.

While at it, add a comment at the end of ARCH_MAPPING to think about
updating get_host_arch() when adding a new arch.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
@arighi
Copy link
Owner

arighi commented Feb 10, 2025

LGTM, thanks!

@arighi arighi merged commit 698d356 into arighi:main Feb 10, 2025
7 checks passed
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