NomadBSD 140R-20240126 Errata
pkg upgrade failes to create hard links
Description
Since the commit 0bef4927... fusefs checks if the inodes of the source and the target file are identical when creating a hard link. If they differ, an error is returned. This, however, is a problem when using unionfs. Since hard links across different file systems are not possible, unionfs copies the source file from the r/o directory to the writeable directory first, and then creates the hard link there.
Solution
On the amd64 and the mac image run:
# fetch -o /tmp/hlp.tar.gz https://nomadbsd.org/download/hardlink-patch-amd64.tar.gz
# tar -C / -xf /tmp/hlp.tar.gz
# reboot
On the i386 image run:
# fetch -o /tmp/hlp.tar.gz https://nomadbsd.org/download/hardlink-patch-i386.tar.gz
# tar -C / -xf /tmp/hlp.tar.gz
# reboot
SHA256 (hardlink-patch-amd64.tar.gz) = ac4432e5775def92dce36e3f4a9b1533ea801e1643f509318a532bf0a754e89a
SHA256 (hardlink-patch-i386.tar.gz) = f41cad2af20b9c96a9e6c42f1bc9387a492c7d159cfa440dabe82ca5cb809eed