Skip to content

Commit

Permalink
remove fs customization restriction for ostree raw
Browse files Browse the repository at this point in the history
Signed-off-by: Sayan Paul <[email protected]>
  • Loading branch information
say-paul committed Nov 13, 2023
1 parent 32a968e commit e4f8bc6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/distro/rhel9/imagetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ func (t *imageType) getPartitionTable(
// Edge supports only LVM, force it.
// Raw is not supported, return an error if it is requested
// TODO Need a central location for logic like this
if partitioningMode == disk.RawPartitioningMode {
return nil, fmt.Errorf("partitioning mode raw not supported for %s on %s", t.Name(), t.arch.Name())
}
// if partitioningMode == disk.RawPartitioningMode {
// return nil, fmt.Errorf("partitioning mode raw not supported for %s on %s", t.Name(), t.arch.Name())
// }
//removed in lieu of filesystem customization

partitioningMode = disk.LVMPartitioningMode
}
Expand Down

0 comments on commit e4f8bc6

Please sign in to comment.