Skip to content

Commit

Permalink
bib: update "gpt" -> disk.PT_GPT
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 authored and achilleas-k committed Nov 11, 2024
1 parent 4cb4634 commit 374601d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bib/cmd/bootc-image-builder/partition_tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var rootPartition = disk.Partition{
var partitionTables = distro.BasePartitionTableMap{
arch.ARCH_X86_64.String(): disk.PartitionTable{
UUID: diskUuidOfUnknownOrigin,
Type: "gpt",
Type: disk.PT_GPT,
Partitions: []disk.Partition{
{
Size: 1 * MebiByte,
Expand All @@ -99,7 +99,7 @@ var partitionTables = distro.BasePartitionTableMap{
},
arch.ARCH_AARCH64.String(): disk.PartitionTable{
UUID: diskUuidOfUnknownOrigin,
Type: "gpt",
Type: disk.PT_GPT,
Partitions: []disk.Partition{
efiPartition,
bootPartition,
Expand All @@ -108,15 +108,15 @@ var partitionTables = distro.BasePartitionTableMap{
},
arch.ARCH_S390X.String(): disk.PartitionTable{
UUID: diskUuidOfUnknownOrigin,
Type: "gpt",
Type: disk.PT_GPT,
Partitions: []disk.Partition{
bootPartition,
rootPartition,
},
},
arch.ARCH_PPC64LE.String(): disk.PartitionTable{
UUID: diskUuidOfUnknownOrigin,
Type: "gpt",
Type: disk.PT_GPT,
Partitions: []disk.Partition{
{
Size: 4 * MebiByte,
Expand Down

0 comments on commit 374601d

Please sign in to comment.