debian-forge-composer/internal/distro/rhel90
Christian Kellner a95d7de9d9 distro: replace CreatePartitionTable() with NewPartitionTable()
Replace the old CreateParittionTable() function with the new one called
NewPartitionTable() which works with the new interface types and
supports container-type setups (LUKS, LVM ,and Btrfs).

Changed usage in distro packages to take and carry around a pointer to
the new PartitionTable rather than a concrete type.  The
NewPartitionTable() function returns a deep clone of the base
PartitionTable so the new pointer type can be moved and (if necessary)
modified freely without affecting the distro base PT.

Co-Authored-By: Achilleas Koutsou <achilleas@koutsou.net>
2022-02-22 19:23:41 +00:00
..
distro.go distro: replace CreatePartitionTable() with NewPartitionTable() 2022-02-22 19:23:41 +00:00
distro_test.go distro: replace CreatePartitionTable() with NewPartitionTable() 2022-02-22 19:23:41 +00:00
package_sets.go Update greenboot packaging names 2022-02-16 10:49:55 +01:00
partition_tables.go disk: rename Partition.Filesystem to Payload 2022-02-22 19:23:41 +00:00
pipelines.go distro: replace CreatePartitionTable() with NewPartitionTable() 2022-02-22 19:23:41 +00:00
stage_options.go osbuild2: deduplicate ziplInstStageOptions() 2022-02-22 19:23:41 +00:00