complitely disable signature check for local repository in devtools

It appears that with optional level pacman still tries to validate the
key, which can lead to errors whille processing in docker container
This commit is contained in:
Evgenii Alekseev 2023-06-05 04:41:03 +03:00
parent c22ddd71d9
commit 17f5f41e36

View File

@ -175,7 +175,7 @@ class Setup(Handler):
configuration.set_option(section, "Server", mirror) configuration.set_option(section, "Server", mirror)
# add repository itself # add repository itself
configuration.set_option(repository, "SigLevel", "Optional TrustAll") # we don't care configuration.set_option(repository, "SigLevel", "Never") # we don't care
configuration.set_option(repository, "Server", f"file://{paths.repository}") configuration.set_option(repository, "Server", f"file://{paths.repository}")
target = source.parent / f"{prefix}-{architecture}.conf" target = source.parent / f"{prefix}-{architecture}.conf"