-
Notifications
You must be signed in to change notification settings - Fork 80
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
Bound install time #712
Bound install time #712
Conversation
OK, this works for me to pull bound images at install time by default (and is a somewhat improved version of what was in my original PR). However:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Validated it works locally via podman-bootc.
I think it's generally best to have type definitions come before the code that references them. Signed-off-by: Colin Walters <[email protected]>
We were always passing this single constant value to the function; let's just reference it inside the function and simplify callers. Signed-off-by: Colin Walters <[email protected]>
I think this name is a bit clearer. Signed-off-by: Colin Walters <[email protected]>
Prep for using them in the install path. Signed-off-by: Colin Walters <[email protected]>
Unless overridden by a CLI option, in which case they will likely be pulled on firstboot. Signed-off-by: Colin Walters <[email protected]>
aa4cd41
to
d4acdce
Compare
OK, rebased 🏄 on git main and lifting draft. I also added a |
utils: Drop unnecessary lint allow
This function doesn't use unsafe anymore.
Signed-off-by: Colin Walters [email protected]
boundimage: Use high level
deployment_fd
helperThis keeps things even simpler, it's the same thing we're doing
in
kargs.rs
.Signed-off-by: Colin Walters [email protected]
boundimage: More struct definition to top
I think it's generally best to have type definitions come before
the code that references them.
Signed-off-by: Colin Walters [email protected]
boundimage: Drop const parameter
We were always passing this single constant value to the
function; let's just reference it inside the function
and simplify callers.
Signed-off-by: Colin Walters [email protected]
boundimage: Rename helper function
I think this name is a bit clearer.
Signed-off-by: Colin Walters [email protected]
boundimage: Make helpers
pub(crate)
Prep for using them in the install path.
Signed-off-by: Colin Walters [email protected]
install: Pull bound images by default
Unless overridden by a CLI option, in which case they will
likely be pulled on firstboot.
Signed-off-by: Colin Walters [email protected]