diff --git a/etc/archboot/server-update.conf b/etc/archboot/server-update.conf index f21e60094..b377de061 100644 --- a/etc/archboot/server-update.conf +++ b/etc/archboot/server-update.conf @@ -2,6 +2,8 @@ # created by Tobias Powalowski # set your managed architectures _SERVER_ARCH="x86_64 aarch64 riscv64" +# set your time before next architecture is built (value in seconds) +_SERVER_WAIT="3600" # set program updates that trigger new server release _TRIGGER="archboot archboot-arm archboot-riscv archlinux-keyring archlinuxarm-keyring bcachefs-tools btrfs-progs coreutils diff --git a/usr/bin/archboot-server-update.sh b/usr/bin/archboot-server-update.sh index 74640ea55..f13723ac1 100755 --- a/usr/bin/archboot-server-update.sh +++ b/usr/bin/archboot-server-update.sh @@ -31,7 +31,7 @@ for i in ${_SERVER_ARCH}; do # if trigger successful, release new image to server if rg -qw "${k}" "${i}"/var/log/pacman.log; then archboot-"${i}"-server-release.sh || echo "Error: ${i} release!" >> error.log - sleep 3600 + sleep "${_SERVER_WAIT}" break fi done