]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - .cirrus-ci/pkg-install.sh
Add UPDATING entries and bump version
[FreeBSD/FreeBSD.git] / .cirrus-ci / pkg-install.sh
1 #!/bin/sh
2 set -e
3
4 start_time=$(date +%s)
5 pkg install -y "$@" && exit 0
6
7 cat <<EOF
8 pkg install failed after $(($(date +%s) - $start_time))s
9
10 dmesg tail:
11 $(dmesg | tail)
12
13 trying again
14 EOF
15
16 start_time=$(date +%s)
17 pkg install -y "$@" && exit 0
18
19 cat <<EOF
20 second pkg install failed after $(($(date +%s) - $start_time))s
21 EOF
22 exit 1