Set up poudriere to build pkgbase.

This commit is contained in:
Tom Alexander
2024-02-11 14:59:55 -05:00
parent 8385b036a6
commit a66eff79e2
61 changed files with 232 additions and 816 deletions

View File

@@ -8,7 +8,7 @@
loop:
- /usr/local/etc/pkg
- /usr/local/etc/pkg/repos
- name: Install packages
package:
name:
@@ -65,6 +65,16 @@
loop:
- { src: custom.conf.j2, dest: /usr/local/etc/pkg/repos/custom.conf }
- name: Install Configuration
when: pkgbase_url is defined
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: root
group: wheel
mode: 0644
loop:
- { src: pkgbase.conf.j2, dest: /usr/local/etc/pkg/repos/pkgbase.conf }
# - name: Replace all packages with packages from new repo
# command: pkg upgrade -f -y
# when: changed_config.changed