Switch to rust implementation of poudboot.

This commit is contained in:
Tom Alexander
2024-05-05 12:08:01 -04:00
parent 44fd819705
commit 5a763d422a
5 changed files with 9 additions and 148 deletions

View File

@@ -26,6 +26,7 @@
- poudriere
- bash
- rsync
- rust-nightly # to build poudboot
state: present
- name: Create directories
@@ -65,6 +66,11 @@
- src: poudriere.d
dest: /usr/local/etc/
- name: Install poudboot
command: "cargo install --profile release-lto --git 'https://code.fizz.buzz/talexander/poudboot.git'"
args:
creates: /root/.cargo/bin/poudboot
- name: Install scripts
copy:
src: "files/{{ item.src }}"
@@ -73,8 +79,6 @@
owner: root
group: wheel
loop:
- src: poudboot.bash
dest: /usr/local/bin/poudboot
- src: poudriere_delete_jail.bash
dest: /usr/local/bin/poudriere_delete_jail
- src: poudriere_schedule_build.bash