]> git.proxmox.com Git - mirror_ovs.git/commitdiff
cirrus: Force pkg update on FreeBSD.
authorIlya Maximets <i.maximets@ovn.org>
Fri, 27 Mar 2020 08:51:51 +0000 (09:51 +0100)
committerIlya Maximets <i.maximets@ovn.org>
Fri, 27 Mar 2020 17:02:33 +0000 (18:02 +0100)
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>
.cirrus.yml

index 0818cb504ee6d8dec3469d746829943c07ef672b..8bab6e362b75e728b18a44a47592da3ec79f857f 100644 (file)
@@ -17,6 +17,7 @@ freebsd_build_task:
 
   prepare_script:
     - sysctl -w kern.coredump=0
+    - pkg update -f
     - pkg install -y ${DEPENDENCIES}
 
   configure_script: