Skip to content

Commit

Permalink
Use blueprint filesystem customizations to create partitions
Browse files Browse the repository at this point in the history
This also allows the root filesystem size to be increased if the default
of 10GiB isn't enough.
  • Loading branch information
bcl committed Jan 15, 2024
1 parent 220a974 commit bb0d2b1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bib/cmd/bootc-image-builder/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ func pipelinesForDiskImage(c *ManifestConfig, rng *rand.Rand) (image.ImageKind,
if !ok {
fail(fmt.Sprintf("pipelines: no partition tables defined for %s", c.Architecture))
}
pt, err := disk.NewPartitionTable(&basept, nil, DEFAULT_SIZE, disk.RawPartitioningMode, nil, rng)
pt, err := disk.NewPartitionTable(&basept,
customizations.GetFilesystems(),
DEFAULT_SIZE,
disk.RawPartitioningMode,
nil,
rng)
check(err)
img.PartitionTable = pt

Expand Down

0 comments on commit bb0d2b1

Please sign in to comment.