Fix building ZFS on linux.

This commit is contained in:
Tom Alexander 2023-10-26 20:40:12 -04:00
parent 7f47b1ca1b
commit ec72d20455
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 17 additions and 0 deletions

View File

@ -4,3 +4,6 @@ use-standard-socket
default-cache-ttl 600
max-cache-ttl 7200
display :0
{% if install_graphics and os_flavor == "freebsd" %}
pinentry-program /usr/local/bin/pinentry-qt5
{% endif %}

View File

@ -4,6 +4,20 @@
- linux-lts-headers
state: present
- name: Check trusted gpg keys
become_user: "{{ build_user.name }}"
command: gpg --list-public-keys --keyid-format LONG
register: gpgkeys
changed_when: false
check_mode: no
- name: Trust ZFS key
when: "item not in gpgkeys.stdout"
become_user: "{{ build_user.name }}"
command: "gpg --recv-key '{{ item }}'"
loop:
- "0AB9E991C6AF658B"
- name: Build aur packages
register: buildaur
become_user: "{{ build_user.name }}"