Add a script to update git aurutil packages.

This commit is contained in:
Tom Alexander 2023-07-14 13:18:49 -04:00
parent cd6d8f3f69
commit 6bde027c48
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 30 additions and 18 deletions

View File

@ -73,25 +73,25 @@
- sudo - sudo
- doas - doas
- users - users
# - package_manager - package_manager
# - zfs - zfs
# - zrepl - zrepl
# - zsh - zsh
# - network - network
# - sshd - sshd
# - base - base
- firewall - firewall
# - cpu - cpu
# - ntp - ntp
# - nvme - nvme
# - hosts - hosts
# - build - build
# - devfs - devfs
# - jail - jail
# - bhyve - bhyve
# - wireguard - wireguard
# - plainmacs - emacs
# - mrmanager - mrmanager
- hosts: admin_git:public_dns - hosts: admin_git:public_dns
vars: vars:

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
#
# Update packages in aurutils with -git suffix.
#
# This has to be done manually because aurutils does not check for new git commits every time we run an update.
set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pacman -Slq custom | grep -E -- '-git$' | xargs aurutils-sync --no-ver --reset "$@"

View File

@ -113,6 +113,8 @@
dest: /usr/local/bin/aurutils-purge dest: /usr/local/bin/aurutils-purge
- src: aurutils-sync - src: aurutils-sync
dest: /usr/local/bin/aurutils-sync dest: /usr/local/bin/aurutils-sync
- src: aurutils-update-devel-packages
dest: /usr/local/bin/
- name: build aurutils inside aurutils - name: build aurutils inside aurutils
become_user: "{{ build_user.name }}" become_user: "{{ build_user.name }}"