Skip to content

Commit 7887324

Browse files
committed
bib: update for latest image release
1 parent e1b83d6 commit 7887324

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

bib/cmd/bootc-image-builder/main.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,15 @@ func manifestFromCobra(cmd *cobra.Command, args []string, pbar progress.Progress
158158
}
159159

160160
func manifestFromCobraFor(imgref, buildImgref, installerPayloadRef, imgTypeStr, rootFs, rpmCacheRoot string, config *blueprint.Blueprint, useLibrepo bool, cntArch arch.Arch) ([]byte, *mTLSConfig, error) {
161-
distri, err := bootc.NewBootcDistro(imgref)
161+
distri, err := bootc.NewBootcDistro(imgref, &bootc.DistroOptions{
162+
DefaultFs: rootFs,
163+
})
162164
if err != nil {
163165
return nil, nil, err
164166
}
165167
if err := distri.SetBuildContainer(buildImgref); err != nil {
166168
return nil, nil, err
167169
}
168-
if err := distri.SetDefaultFs(rootFs); err != nil {
169-
return nil, nil, err
170-
}
171170
archi, err := distri.GetArch(cntArch.String())
172171
if err != nil {
173172
return nil, nil, err

0 commit comments

Comments
 (0)