Rather than relying on the offset parameter, simply run mkfs on the loopback device which is anyway being set up. This also allows us not to specify the size explicitly. Before this patch mkfs would complain (uneccesarily) about the backing file containing a partition table. This is a false positive as the partition table is in the region of the file before the passed offset. Signed-off-by: Tom Gundersen <teg@jklm.no> |
||
|---|---|---|
| .. | ||
| org.osbuild.noop | ||
| org.osbuild.qemu | ||
| org.osbuild.rawfs | ||
| org.osbuild.tar | ||
| osbuild | ||