Skip to content

Commit

Permalink
Check for apt keyring in tools tree
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Nov 14, 2024
1 parent 920e397 commit d0be3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkosi/installer/apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def setup(cls, context: Context, repositories: Sequence[AptRepository]) -> None:
sources = context.sandbox_tree / "etc/apt/sources.list.d/mkosi.sources"
if not sources.exists():
for repo in repositories:
if repo.signedby and not repo.signedby.exists():
if repo.signedby and not (context.config.tools() / str(repo.signedby).lstrip("/")).exists():
die(
f"Keyring for repo {repo.url} not found at {repo.signedby}",
hint="Make sure the right keyring package (e.g. debian-archive-keyring, "
Expand Down

0 comments on commit d0be3f4

Please sign in to comment.