osbuild: drop state

Stages should be as stateless as possible. Don't provide an easy way out
of that.

Only the dnf stage used stage to save the dnf cache. That's only useful
during development and can be solved by pointing to a local repo mirror.
This commit is contained in:
Lars Karlitski 2019-06-12 15:23:45 +02:00
parent 7a866aa1c3
commit 01aa00837f
10 changed files with 9 additions and 17 deletions

View file

@ -7,7 +7,7 @@ import subprocess
import sys
def main(tree, state, script):
def main(tree, script):
scriptfile = f"{tree}/osbuild-script"
with open(scriptfile, "w") as f: