Replies: 4 comments 2 replies
-
|
Example manifest using device with Example manifest using extra pipelines and copying |
Beta Was this translation helpful? Give feedback.
-
|
@cgwalters @supakeen @achilleas-k may want to comment on this :) |
Beta Was this translation helpful? Give feedback.
-
|
This relates to bootc-dev/bootc#898 - if we did that, a whole lot of complexity drops out here |
Beta Was this translation helpful? Give feedback.
-
I'm willing to allow for some inefficiency in the initial implementation to avoid blocking on discussions about the best way to do the device-from-pipeline feature (we seem to have a lot of opinions there). Also, if we end up not needing it because of bootc-dev/bootc#898, I'd prefer to do less work now. That said, I can imagine the feature itself (mounting a device from a previous pipeline to read from it) might have other use cases for us going forward, so it might still be worth discussing if we want it or not. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am exploring what needs to be done to be able to support making a PXE bootable bootc image type for https://issues.redhat.com/browse/HMS-8933
The basic steps that are needed:
dracut-liveThe package based version of this was fairly straightforward. Using a bootc container introduces some new problems:
to-filesystem, so a partitioned disk image needs to be used.mount://source.dracut-liveto the container they specify so that dracut can include it in the new initrd. There is no way for osbuild to add new layers to a container (and if it did it would change the checksum, making it harder to track what container is in use)./ostree/boot.1/default/UUIDbut it would be nicer to be able to inject that into the example grub.cfg/usrin it as a flag that the filesystem mount worked. dracut needs a patch to also look for/ostreeI have 2 example manifests that work, and are bootable. One uses the device
input://tree/change to mount the disk.raw from the previous pipeline. The other example copies the disk.raw into a new pipeline for mounting and compression, then copies files into another new pipeline to make the final directory tree for the tar.The problems that remain unsolved are:
Beta Was this translation helpful? Give feedback.
All reactions