Skip to content

Commit

Permalink
build-driver: allow basefiles directory to already exist
Browse files Browse the repository at this point in the history
Useful for local testing.
  • Loading branch information
zeha committed Nov 23, 2024
1 parent 39e491e commit 8001621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-driver/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def run_grml_live(
if not old_iso_path:
with ci_section("Creating basefile using mmdebstrap"):
basefiles_path = grml_fai_config / "config" / "basefiles"
basefiles_path.mkdir()
basefiles_path.mkdir(exist_ok=True)
basefile = basefiles_path / f"{arch.upper()}.tar.gz"
run_x(["mmdebstrap", "--format=tar", debian_suite, basefile])

Expand Down

0 comments on commit 8001621

Please sign in to comment.