Skip to content

Commit

Permalink
cirrus: Force pkg update on FreeBSD.
Browse files Browse the repository at this point in the history
Seems like FreeBSD ports/images are not well maintained and frequently
causes package installation failures like this:

 [1/40] Fetching automake-1.16.1_2.txz: .......... done
 pkg: cached package automake-1.16.1_2: size mismatch, fetching from remote
 [2/40] Fetching automake-1.16.1_2.txz: .......... done
 pkg: cached package automake-1.16.1_2: size mismatch, cannot continue
 Consider running 'pkg update -f'

Forced update doesn't increase build time significantly, but helps
to solve at least this one kind of issues.

Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
  • Loading branch information
igsilya authored and Alin Gabriel Serdean committed Jul 15, 2020
1 parent 94bc5a9 commit 3d98565
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ freebsd_build_task:

prepare_script:
- sysctl -w kern.coredump=0
- pkg update -f
- pkg install -y ${DEPENDENCIES}

configure_script:
Expand Down

0 comments on commit 3d98565

Please sign in to comment.