coreos-assembler
coreos-assembler copied to clipboard
buildextend-live: Add support OSBUILD
- Add support for OSBUILD via COSA_USE_LIVEISO env var for now
Two largish change suggestions:
- We consider the "platform" here to be
liveand notlive-iso.
This means platform.live-iso.ipp.yaml -> platform.live.ipp.yaml and that generates the ISO/PXEkernel/initrd/rootfs.
- we rename the stage we are proposing to OSBuild to be
stages/org.osbuild.coreos.liveORplatform.live-artifacts.
Ran this through the differ https://github.com/coreos/coreos-assembler/pull/3968 on FCOS x86_64:
- We're missing everything in
/livein the live ISO. This can be obtained from the container image under/usr/share/coreos-assembler/live(see https://github.com/coreos/coreos-assembler/pull/3846). - The osmet filenames in the live rootfs changed from e.g.
fedora-coreos-41.20241121.dev.0-1-metal.x86_64.raw.osmetto justmetal.osmetand similarly formetal4k. I don't think this breaks anything and we could do without, though having the build ID in the name is a nice cross-check. /booton the squashfs is missing everything under/boot/efi. We need to mount the ESP onto/boot/efiwhen building the squashfs like we do incoreos_gf_run_mount.
We should repeat the exercise on other arches.
successor in https://github.com/coreos/coreos-assembler/pull/3976