summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2020-03-27 09:51:51 +0100
committerIlya Maximets <i.maximets@ovn.org>2020-03-27 18:01:33 +0100
commitcdc5d9cba175e233eb8da498d46ff4be5080b035 (patch)
tree580355662f15845ca868a2b3ffb3d13e75ba0317 /.cirrus.yml
parent2b7e536fa5e20be10e620b959e05557f88862d2c (diff)
downloadopenvswitch-cdc5d9cba175e233eb8da498d46ff4be5080b035.tar.gz
cirrus: Force pkg update on FreeBSD.
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>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 1b32f55d6..9428164ee 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -16,6 +16,7 @@ freebsd_build_task:
prepare_script:
- sysctl -w kern.coredump=0
+ - pkg update -f
- pkg install -y ${DEPENDENCIES}
configure_script: