From e4f8bc69df761ab102ca4a7a70b94eb1c36081bf Mon Sep 17 00:00:00 2001 From: Sayan Paul Date: Mon, 13 Nov 2023 17:05:55 +0530 Subject: [PATCH] remove fs customization restriction for ostree raw Signed-off-by: Sayan Paul --- pkg/distro/rhel9/imagetype.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/distro/rhel9/imagetype.go b/pkg/distro/rhel9/imagetype.go index 5b3e52925c..f774a129f6 100644 --- a/pkg/distro/rhel9/imagetype.go +++ b/pkg/distro/rhel9/imagetype.go @@ -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 }