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

buildextend-live: add --miniso switch #2466

Merged
merged 3 commits into from
Oct 3, 2021
Merged

buildextend-live: add --miniso switch #2466

merged 3 commits into from
Oct 3, 2021

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Sep 24, 2021

This switch enables the new minimal ISO packing feature (see
coreos/coreos-installer#559).

Once a coreos-installer version with miniso support is present in RHCOS
and FCOS, we can make it unconditional and drop the switch. For now,
this will allow testing in the coreos-installer upstream CI.

@bgilbert
Copy link
Contributor

Could we just skip the system area tweaking for the minimal ISO? That code will be going away in #2455 anyway, and any coreos-installer release that supports miniso generation will also support new-style Ignition/kargs embedding.

@jlebon
Copy link
Member Author

jlebon commented Sep 27, 2021

Could we just skip the system area tweaking for the minimal ISO? That code will be going away in #2455 anyway, and any coreos-installer release that supports miniso generation will also support new-style Ignition/kargs embedding.

Yup, good call! I'll rebase coreos/coreos-installer#559 on top of coreos/coreos-installer#622 then update this one.

@jlebon
Copy link
Member Author

jlebon commented Sep 28, 2021

Updated!

cgwalters
cgwalters previously approved these changes Oct 1, 2021
src/cmd-buildextend-live Outdated Show resolved Hide resolved
src/cmd-buildextend-live Outdated Show resolved Hide resolved
mantle/platform/metal.go Outdated Show resolved Hide resolved
jlebon added 3 commits October 1, 2021 15:25
Since ba15feb, the Ignition config is now a bona fide file on the
live ISO rather than just padding to the existing initramfs image.
Update the comments and variable names to reflect this.
This switch enables the new minimal ISO packing feature (see
coreos/coreos-installer#559).

Once a coreos-installer version with miniso support is present in RHCOS
and FCOS, we can make it unconditional and drop the switch. For now,
this will allow testing in the coreos-installer upstream CI.
This is like `iso-install`, but exercises the minimal ISO workflow
instead. Also, confusingly the install itself is offline, though it does
need networking to fetch the rootfs. See comment block about this in
`InstallViaISOEmbed`.
@jlebon
Copy link
Member Author

jlebon commented Oct 1, 2021

Updated for comments!

@jlebon jlebon merged commit 9dc1dfe into coreos:main Oct 3, 2021
@jlebon jlebon deleted the pr/miniso branch October 3, 2021 14:25
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.

3 participants