xref: /freebsd/.cirrus-ci/pkg-install.sh (revision dc318a4ffabcbfa23bb56a33403aad36e6de30af)
1#!/bin/sh
2set -e
3
4pkg install -y "$@" && exit 0
5
6cat <<EOF
7pkg install failed
8
9dmesg tail:
10$(dmesg | tail)
11
12trying again
13EOF
14
15pkg install -y "$@"
16