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

install: Move re-exec earlier #912

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

cgwalters
Copy link
Collaborator

As the comment says everything we do before
prepare_install is something we might do twice so let's keep it as early as possible.

Looking at the history of this code (and its logical inputs) I believe there's no reason for its placement in the middle of this function other than just "stuff appeared
before it organically".

Yes, it means some argument validation will happen after the re-exec but that's fine.

As the comment says everything we do before
`prepare_install` is something we might do *twice* so let's
keep it as early as possible.

Looking at the history of this code (and its logical inputs)
I believe there's no reason for its placement in the middle
of this function other than just "stuff appeared
before it organically".

Yes, it means some argument validation will happen after the
re-exec but that's fine.

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters requested a review from omertuc November 19, 2024 19:56
@github-actions github-actions bot added the area/install Issues related to `bootc install` label Nov 19, 2024
@cgwalters cgwalters enabled auto-merge November 19, 2024 22:38
Copy link
Contributor

@jeckersb jeckersb left a comment

Choose a reason for hiding this comment

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

👍

@cgwalters cgwalters merged commit 93a8277 into containers:main Nov 20, 2024
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants