Add a script to update git aurutil packages.
This commit is contained in:
parent
cd6d8f3f69
commit
6bde027c48
@ -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:
|
||||||
|
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
|
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 }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user