Skip to content

Choose a tag to compare

@neilpang neilpang released this 15 Nov 09:03

DragonFly BSD images for the openssl 3.5 dports

The images move to dragonflybsd-builder 2.0.8. dports moved
security/openssl from 3.0 to 3.5 (libssl.so.12 -> .17), and a package
names its openssl dependency without a version, so on the 2.0.7 images
a plain pkg install curl (or rsync) in prepare pulled a binary that
could not start. Each image now runs a full pkg upgrade at build time
and ships one consistent package set (pkg 2.8.4, openssl 3.5.9, curl
8.23.0, rsync 3.5.1), so pkg install works again without a pkg upgrade
in prepare. In the 6.4.0 image libressl is replaced by openssl.
https://github.com/anyvm-org/dragonflybsd-builder/releases/tag/v2.0.8

New input: cache-after-prepare-key-suffix

vmactions/freebsd-vm#167: the cache-after-prepare key covers only the
prepare text, so when prepare runs a script from the repository, a
change to that script did not rebuild the prepared image. The optional
cache-after-prepare-key-suffix is appended to the key; set it to a
value you bump by hand, or to a hash of the files prepare depends on:

cache-after-prepare-key-suffix: deps-${{ hashFiles('ci/install-deps.sh') }}

Empty (the default) leaves the key unchanged.

Also

  • README: with sync: nfs every VM user, root included, maps to the
    runner's user, so chown, and tar -x as root of an archive that
    stores another owner, fail with "Operation not permitted". Use
    rsync, scp or tar, or tar --no-same-owner.
  • anyvm 0.7.7: an image download split into parts now fails with an
    error when a part cannot be fetched, instead of extracting a
    truncated image.

Tested on 6.4.0, 6.4.1 and 6.4.2: 20 of 22 jobs pass; the 9p and sshfs
jobs are skipped as before.

Pins

BUILDER_VERSION 2.0.7 -> 2.0.8
ANYVM_VERSION 0.7.2 -> 0.7.7