manifest: use size from partition table for efiboot image
This commit is contained in:
parent
3ee5622ad7
commit
6bd15c19a3
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func (p *ISOTree) serialize() osbuild.Pipeline {
|
|||
filename := "images/efiboot.img"
|
||||
pipeline.AddStage(osbuild.NewTruncateStage(&osbuild.TruncateStageOptions{
|
||||
Filename: filename,
|
||||
Size: "20MB",
|
||||
Size: fmt.Sprintf("%d", p.PartitionTable.Size),
|
||||
}))
|
||||
|
||||
efibootDevice := osbuild.NewLoopbackDevice(&osbuild.LoopbackDeviceOptions{Filename: filename})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue