Skip to content

Commit

Permalink
Fedora: add partition offsets to IoT images
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Whalen <[email protected]>
  • Loading branch information
Paul Whalen authored and supakeen committed Mar 15, 2024
1 parent 39b2833 commit 1eb0fa3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkg/distro/fedora/partition_tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,9 @@ var minimalrawPartitionTables = distro.BasePartitionTableMap{

var iotBasePartitionTables = distro.BasePartitionTableMap{
arch.ARCH_X86_64.String(): disk.PartitionTable{
UUID: "D209C89E-EA5E-4FBD-B161-B461CCE297E0",
Type: "gpt",
UUID: "D209C89E-EA5E-4FBD-B161-B461CCE297E0",
Type: "gpt",
StartOffset: 8 * common.MebiByte,
Partitions: []disk.Partition{
{
Size: 501 * common.MebiByte,
Expand Down Expand Up @@ -312,8 +313,9 @@ var iotBasePartitionTables = distro.BasePartitionTableMap{
},
},
arch.ARCH_AARCH64.String(): disk.PartitionTable{
UUID: "0xc1748067",
Type: "dos",
UUID: "0xc1748067",
Type: "dos",
StartOffset: 8 * common.MebiByte,
Partitions: []disk.Partition{
{
Size: 501 * common.MebiByte,
Expand Down

0 comments on commit 1eb0fa3

Please sign in to comment.