This is needed for bootc where all mounts need to be from the same physical disk/loop so that bootupd works. The idea is that in the manifest the new option `vg_partnum` is added and the parent VG is found via the partition number of the full image similar to the `partnum` from https://github.com/osbuild/osbuild/pull/1501 A manifest using this feature looks like this: ```json "devices": { "disk": { "type": "org.osbuild.loopback", "options": { "filename": "disk.raw", "partscan": true } }, "rootlv": { "type": "org.osbuild.lvm2.lv", "parent": "disk", "options": { "volume": "rootlv", "vg_partnum": 4 } } } ``` Co-authored-by: Michael Vogt <mvogt@redhat.com> |
||
|---|---|---|
| .. | ||
| test | ||
| org.osbuild.loopback | ||
| org.osbuild.luks2 | ||
| org.osbuild.lvm2.lv | ||