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:
parent
7a866aa1c3
commit
01aa00837f
10 changed files with 9 additions and 17 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue