Add a script to update git aurutil packages.
This commit is contained in:
parent
cd6d8f3f69
commit
6bde027c48
@ -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:
|
||||
|
10
ansible/roles/build/files/aurutils-update-devel-packages
Normal file
10
ansible/roles/build/files/aurutils-update-devel-packages
Normal 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 "$@"
|
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user