Compare commits

..

7 Commits

Author SHA1 Message Date
Jos Dehaes
abadeb646c configs: packages: add nvim 2024-08-22 11:19:14 +03:00
Jos Dehaes
1bc5af460e configs: shell: add fish 2024-08-22 11:19:14 +03:00
Jos Dehaes
daa0930f8e builder: build: filesystem.py: ignore errors for existing directories 2024-08-22 11:19:14 +03:00
anonymix007
6e7b87f3dc configs: locale: More locales 2024-08-22 11:19:04 +03:00
anonymix007
0874ec6fdf configs: desktop: plasma: install Firefox, Konsole and Dolphin 2024-08-22 11:14:46 +03:00
anonymix007
94804ec8d9 configs: packages: add Firefox 2024-08-21 18:15:25 +03:00
anonymix007
7b1e8f7dd9 builder: component: pacman.py: Add publickey and keyid repo properties 2024-08-21 18:15:24 +03:00
2 changed files with 3 additions and 20 deletions

View File

@ -151,9 +151,6 @@ class Pacman:
if ret != 0: raise OSError(f"wget failed with {ret}")
self.pacman_key(["--add", keypath])
self.lsign_key(repo.keyid)
elif repo.keyid is not None:
self.recv_keys(repo.keyid)
self.lsign_key(repo.keyid)
def init_config(self):
"""
@ -305,6 +302,9 @@ class Pacman:
if "publickey" in repo and "keyid" not in repo:
raise ArchBuilderConfigError("publickey is provided without keyid")
if "keyid" in repo and "publickey" not in repo:
raise ArchBuilderConfigError("keyid is provided without publickey")
if "publickey" in repo:
pacman_repo.publickey = repo["publickey"]

View File

@ -1,17 +0,0 @@
filesystem:
files:
- path: /etc/systemd/system/wait-addresses@.service
content: |
[Unit]
Description=Initializes Pacman keyring
Requires=etc-pacman.d-gnupg.mount
After=etc-pacman.d-gnupg.mount time-sync.target
BindsTo=etc-pacman.d-gnupg.mount
Before=archlinux-keyring-wkd-sync.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/pacman-key --init
ExecStart=/usr/bin/pacman-key --populate
[Install]
WantedBy=multi-user.target