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
- doas
- users
# - package_manager
# - zfs
# - zrepl
# - zsh
# - network
# - sshd
# - base
- package_manager
- zfs
- zrepl
- zsh
- network
- sshd
- base
- firewall
# - cpu
# - ntp
# - nvme
# - hosts
# - build
# - devfs
# - jail
# - bhyve
# - wireguard
# - plainmacs
# - mrmanager
- cpu
- ntp
- nvme
- hosts
- build
- devfs
- jail
- bhyve
- wireguard
- emacs
- mrmanager
- hosts: admin_git:public_dns
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
- src: aurutils-sync
dest: /usr/local/bin/aurutils-sync
- src: aurutils-update-devel-packages
dest: /usr/local/bin/
- name: build aurutils inside aurutils
become_user: "{{ build_user.name }}"