Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mkosi/distribution/arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ def keyring(cls, context: Context) -> None:
@classmethod
def setup(cls, context: Context) -> None:
Pacman.setup(context, list(cls.repositories(context)))
# pacman's keyring needs to be initialized and pre-seeded with any drop-in keys prior
# to its first sync, otherwise it'll refuse to continue when using custom repositories
# due to missing signatures.
Pacman.keyring(context)

@classmethod
def install(cls, context: Context) -> None:
Expand Down