manifest: remove unused public functions from pipelines

These were only used from the manifest package, make them internal,
or read private fields directly.
This commit is contained in:
Tom Gundersen 2022-06-28 18:34:11 +01:00
parent 5f763dc386
commit 6940853215
10 changed files with 31 additions and 85 deletions

View file

@ -60,7 +60,7 @@ func (p OSTreeCommitServerTreePipeline) serialize() osbuild2.Pipeline {
pipeline.AddStage(osbuild2.NewOSTreePullStage(
&osbuild2.OSTreePullStageOptions{Repo: repoPath},
osbuild2.NewOstreePullStageInputs("org.osbuild.pipeline", "name:"+p.commitPipeline.Name(), p.commitPipeline.Ref()),
osbuild2.NewOstreePullStageInputs("org.osbuild.pipeline", "name:"+p.commitPipeline.Name(), p.commitPipeline.ref),
))
// make nginx log and lib directories world writeable, otherwise nginx can't start in