Skip to content

Commit

Permalink
image: remove ref
Browse files Browse the repository at this point in the history
We'll be removing the `ref` from the constructor(s) in `images` at a
later point in time as well.
  • Loading branch information
supakeen committed Jan 11, 2024
1 parent 3b865eb commit 502b401
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bib/cmd/bootc-image-builder/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,16 @@ func pipelinesForISO(c *ManifestConfig, rng *rand.Rand) (image.ImageKind, error)
if c.Imgref == "" {
fail("pipeline: no base image defined")
}
ref := "ostree/1/1/0"

containerSource := container.SourceSpec{
Source: c.Imgref,
Name: c.Imgref,
TLSVerify: &c.TLSVerify,
}

img := image.NewAnacondaContainerInstaller(containerSource, ref)
// The ref is not needed and will be removed from the ctor later
// in time
img := image.NewAnacondaContainerInstaller(containerSource, "")
img.SquashfsCompression = "zstd"

img.ExtraBasePackages = rpmmd.PackageSet{
Expand Down

0 comments on commit 502b401

Please sign in to comment.