Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
#!/bin/sh
set -e
start_time=$(date +%s)
pkg install -y "$@" && exit 0
cat <<EOF
pkg install failed after $(($(date +%s) - $start_time))s
dmesg tail:
$(dmesg | tail)
trying again
EOF
second pkg install failed after $(($(date +%s) - $start_time))s
exit 1