Add scripts to trigger actions in the poudriere loop.

This commit is contained in:
Tom Alexander 2023-09-04 11:26:28 -04:00
parent 8744f8f547
commit 7f0af6f41c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
#
set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function main {
find / -type f -name times -exec sed -iE 's/LASTBUILD=.*/LASTBUILD=0/' {} \;
}
main "${@}"

View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
#
set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function main {
find / -type f -name times -exec sed -iE 's/PORTUPDATE=.*/PORTUPDATE=0/' {} \;
}
main "${@}"

View File

@ -78,6 +78,10 @@
dest: /usr/local/bin/poudboot
- src: poudriere_delete_jail.bash
dest: /usr/local/bin/poudriere_delete_jail
- src: poudriere_schedule_build.bash
dest: /usr/local/bin/poudriere_schedule_build
- src: poudriere_schedule_ports_tree_upgrade.bash
dest: /usr/local/bin/poudriere_schedule_ports_tree_upgrade
- name: Install Configuration
template: