debian-forge-composer/internal/distro
Achilleas Koutsou 966aec464a image: add ostree commit source when initialising manifest
When initialising a manifest, use the ostree commit source spec only.
Then, when serialising, use the resolved ostree commit.
This is the same process we use for the other content types, packages
and containers.

Two new functions are defined in the distros to handle resolving the
ostree options: one for creating the parent commit source spec and image
ref for image types that have an optional parent commit (ostree commits
and containers) and one for creating the payload commit source spec for
image types that require an ostree payload (ostree raw images and
installers).
2023-06-14 11:19:29 +02:00
..
distro_test_common ostree: replace FetchChecksum with ParentRef on ostree.ImageOptions 2023-06-14 11:19:29 +02:00
fedora image: add ostree commit source when initialising manifest 2023-06-14 11:19:29 +02:00
rhel7 distro: remove PackageSets() from the ImageType interface 2023-05-31 16:40:07 +02:00
rhel8 image: add ostree commit source when initialising manifest 2023-06-14 11:19:29 +02:00
rhel9 image: add ostree commit source when initialising manifest 2023-06-14 11:19:29 +02:00
test_distro distro: remove PackageSets() from the ImageType interface 2023-05-31 16:40:07 +02:00
distro.go distro: remove unused MakePackageSetChains() function 2023-06-14 11:19:29 +02:00
distro_test.go ostree: replace FetchChecksum with ParentRef on ostree.ImageOptions 2023-06-14 11:19:29 +02:00
image_config.go subscription: new package for subscription options 2023-05-31 16:40:07 +02:00
image_config_test.go common: merge all *ToPtr methods to one generic ToPtr 2023-01-09 14:03:18 +01:00