debian-forge-composer/internal/distro
Ondřej Budai a9c367ab4a distro/rhel84: factor partition table definition out of assembler
Previously, the partition table definition was defined inside an assembler.
This has an issue though: The partitions and filesystems are needed at several
other places, e.g. grub2 stage and fstab stage. As the partition table was
basically hardcoded, this didn't matter - we could just use constants
in these stages. Not ideal but it worked.

This commit changes the behaviour: A partition table is firstly created and
then it's passed to the assembler function where complete assembler options
are created out of it.

To make this change as small as possible, osbuild.QEMUAssemblerOptions type
is used to encode the partition table for now.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2020-12-15 16:43:39 +01:00
..
distro_test_common distro/test: improve manifest diffing 2020-12-15 16:43:39 +01:00
fedora32 test: restructure dir layout 2020-10-21 09:04:13 +02:00
fedora33 test: restructure dir layout 2020-10-21 09:04:13 +02:00
fedoratest distro: replace BasePackages() with Packages() 2020-06-29 16:04:38 +02:00
rhel8 distro: add rhel 84 support 2020-11-19 10:36:49 +01:00
rhel84 distro/rhel84: factor partition table definition out of assembler 2020-12-15 16:43:39 +01:00
test_distro distro: replace BasePackages() with Packages() 2020-06-29 16:04:38 +02:00
distro.go distro: add rhel 84 support 2020-11-19 10:36:49 +01:00
distro_test.go distro: add rhel 84 support 2020-11-19 10:36:49 +01:00
osrelease_test.go distro: add DetectHost 2019-11-10 17:23:14 +01:00