debian-forge-cli/cmd/image-builder
Michael Vogt 0f348301d9 main: add base partition table to describe-image
This commit adds the (base) partition table to the `describe-image`
command. It needs https://github.com/osbuild/images/pull/1376

It currently looks like:
```yaml
$ image-builder describe-image qcow2 --distro fedora-41
@WARNING - the output format is not stable yet and may change
distro: fedora-41
...
partition_table:
  uuid: D209C89E-EA5E-4FBD-B161-B461CCE297E0
  type: gpt
  partitions:
    - size: 1048576
      type: 21686148-6449-6E6F-744E-656564454649
      bootable: true
      uuid: FAC7F1FB-3E8D-4137-A512-961DE09A5549
    - size: 209715200
      type: C12A7328-F81F-11D2-BA4B-00A0C93EC93B
      uuid: 68B2905B-DF3E-4FB3-80FA-49D1E773AA33
      payload:
        type: vfat
        uuid: 7B77-95E7
        label: EFI-SYSTEM
        mountpoint: /boot/efi
        fstab_options: defaults,uid=0,gid=0,umask=077,shortname=winnt
        fstab_passno: 2
    - size: 524288000
      type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
      uuid: CB07C243-BC44-4717-853E-28852021225B
      payload:
        type: ext4
        label: boot
        mountpoint: /boot
        fstab_options: defaults
    - size: 2147483648
      type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
      uuid: 6264D520-3FB9-423F-8AB8-7A0A8E3D3562
      payload:
        type: ext4
        label: root
        mountpoint: /
        fstab_options: defaults
```
2025-04-03 17:25:16 +00:00
..
build.go import: refer to pkg 2025-03-31 19:42:59 +00:00
describeimg.go main: add base partition table to describe-image 2025-04-03 17:25:16 +00:00
describeimg_test.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
distro.go image-builder: newline in error message 2025-01-20 06:55:24 +00:00
distro_test.go image-builder: newline in error message 2025-01-20 06:55:24 +00:00
export_test.go main: tweak handling of --output-name to avoid adding double extensions 2025-03-27 14:03:11 +00:00
filters.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
filters_test.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
list.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
main.go main: Add a --version flag to show the build version 2025-04-01 06:50:24 +00:00
main_test.go main: tweak handling of --output-name to avoid adding double extensions 2025-03-27 14:03:11 +00:00
manifest.go main: allow seed setting 2025-03-31 17:31:12 +00:00
repos.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
repos_test.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
upload.go import: refer to pkg 2025-03-31 19:42:59 +00:00
upload_test.go ibcli: add new --output-name flag 2025-03-14 14:47:36 +00:00