Skip to content

buildextend-live: add --miniso switch#2466

Merged
jlebon merged 3 commits intocoreos:mainfrom
jlebon:pr/miniso
Oct 3, 2021
Merged

buildextend-live: add --miniso switch#2466
jlebon merged 3 commits intocoreos:mainfrom
jlebon:pr/miniso

Conversation

@jlebon
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

jlebon commented Sep 28, 2021

Updated!

cgwalters
cgwalters previously approved these changes Oct 1, 2021
Comment thread src/cmd-buildextend-live Outdated
Comment thread src/cmd-buildextend-live Outdated
Comment thread mantle/platform/metal.go Outdated
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
Copy Markdown
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