Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
We were resetting the list on every iteration of the loop when using
ephemeral build sources which is obviously wrong.
  • Loading branch information
DaanDeMeyer committed Aug 28, 2024
1 parent 7f836c3 commit 8c2f828
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mkosi/mounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ def finalize_source_mounts(config: Config, *, ephemeral: bool) -> Iterator[list[
src, dst = t.with_prefix("/work/src")

if ephemeral:
options = []

upperdir = Path(stack.enter_context(tempfile.TemporaryDirectory(prefix="volatile-overlay")))
os.chmod(upperdir, src.stat().st_mode)

Expand Down

0 comments on commit 8c2f828

Please sign in to comment.