Repository navigation
Conversation
|
Needs @pcdubs's approval since as it involves Fedora IoT deliverables. If we don't want to do this because Fedora IoT is not live media (though I feel it's good to test this before we go through with it in RHEL 10) then I can back out that part :) |
Don't second guess yourself, it makes it easier to read :) |
|
Re-targeted to Fedora 43 as beta freeze has started and it seems like a bad plan to do this between beta and final :) |
| if common.VersionGreaterThanOrEqual(img.OSVersion, VERSION_ROOTFS_EROFS) { | ||
| img.RootfsCompression = "lzma" | ||
| img.RootfsType = manifest.ErofsRootfs | ||
| } else if common.VersionGreaterThanOrEqual(img.OSVersion, VERSION_ROOTFS_SQUASHFS) { | ||
| img.RootfsCompression = "lz4" | ||
| img.RootfsType = manifest.SquashfsRootfs | ||
| } else { | ||
| img.RootfsCompression = "lz4" |
There was a problem hiding this comment.
For the future: it may be good to extract this to the InstallerConfig eventually - https://github.com/osbuild/images/blob/245e0ed49174657eff739b52c35723d9010f8a7b/pkg/distro/installer_config.go#L5-L9
|
LGTM (apologies for the delayed response). |
|
Rebased, and we have ack from Paul so this is ready to go in :) |
|
I can't really tell on what the CI is failing, we end up with:
Because it seems |
See the change proposal [1]. This switches our the Fedora IoT Anaconda installer, the Fedora image-installer, and our current live installer implementation over to use EroFS as per the accepted change proposal [2]. Note that while the change targets Fedora 42 the commit here applies to Fedora 43. [1]: https://fedoraproject.org/wiki/Changes/EROFSforLiveMedia [2]: https://pagure.io/fesco/issue/3356 Signed-off-by: Simon de Vlieger <[email protected]>
|
Closing this PR since it's totally out of line now with all the yaml-ification. I might revisit it later. |
Pull request was closed
This commit makes the `manifest.RootfsType` marshallable via JSON/YAML so that we can use it in the image defintions. This will be useful for: osbuild#1239 osbuild#1537
This commit makes the `manifest.RootfsType` marshallable via JSON/YAML so that we can use it in the image defintions. This will be useful for: osbuild#1239 osbuild#1537
See the change proposal 1. This switches our the Fedora IoT Anaconda installer, the Fedora image-installer, and our current live installer implementation over to use EroFS as per the accepted change proposal 2.
Note: this change applies to Fedora 43 since I do not want to land this change too late in the cycle in case it causes problems as it's not strictly necessary, just nice.