Skip to content

Commit c7dd947

Browse files
committed
bib: update for latest image release
1 parent c800a31 commit c7dd947

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
@@ -157,16 +157,15 @@ func manifestFromCobra(cmd *cobra.Command, args []string, pbar progress.Progress
157157
}
158158

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

0 commit comments

Comments
 (0)