debian-forge-composer/internal/distro
Tomáš Hozza 594778a230 distro: extend the ImageType interface with BootMode()
As a preparation to be able to determine the image boot mode when
importing it to the target environment (e.g. AWS), expose the
information on the `ImageType` level.

The image boot mode is determined based on the platform associated with
it.

The new method is not yet used by any code, but will be eventually used
by osbuild-composer server to set the proper value in the upload target
options for the worker. The worker will be then able to import the image
in the proper way to the cloud environment.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-05-19 13:24:39 +02:00
..
distro_test_common rpmmd/repository: repoconfig pointers 2023-04-21 17:40:00 +02:00
fedora distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
rhel7 distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
rhel8 distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
rhel9 distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
test_distro distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
distro.go distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
distro_test.go rpmmd/repository: repoconfig pointers 2023-04-21 17:40:00 +02:00
image_config.go distro: add ShellVars field to ImageConfig 2023-03-30 18:40:12 +02:00
image_config_test.go common: merge all *ToPtr methods to one generic ToPtr 2023-01-09 14:03:18 +01:00