755M root.squashfs# LiveISO
## Approach
- don't break into stages yet
- get megastage to work
- use isoinfo/coreos-installer iso ... to compare before/after
- testing testing testing
- integrate into cosa behind flag:
- https://github.com/coreos/coreos-assembler/pull/3861
- turn flag on in rawhide
- add to https://github.com/coreos/custom-coreos-disk-images
- and then look at breaking it into stages
- review PRs to Renata's fork
- https://github.com/ravanelli/osbuild/pulls
## To build with custom coreos-installer
1. hack on coreos-installer, `make`
2. build custom container:
```
$ cat Containerfile
FROM overridden
COPY coreos-installer /usr/bin/coreos-installer
```
3. build it:
podman build --from oci-archive:$(ls path/to/builds/latest/x86_64/*.ociarchive) -t localhost/fcos-with-newer-coreos-installer .
4. pass that new oci archive in your JSON file that gets fed to runvm-osbuild
## Stages
- osmet: https://github.com/osbuild/osbuild/commit/5f98b273c2ea70479386563ab0c515df7df81a56
- Compressing squashfs
- We already have org.osbuild.squashfs: https: https://github.com/ravanelli/osbuild/commit/ce2c4d6182b0abaef88c4c940a6e21fdf1bfea50
- Ignition steps
ON GOING:
- https://github.com/ravanelli/osbuild/commit/6f4493b8923710a37b8f8e29d8ba92df5313795f
- Stamps:
- initramfs
- rootfs
- OS Features:
- JSON file that lists OS features
- sha256sum_file similar spets already
- Live stage:
- Generate rootfs image and the rest
- Generate the ISO image:
- similar spets already in OSBUILD