svn commit: r365660 - user/cperciva/freebsd-update-build/patches/12.2-BETA1

Colin Percival cperciva at tarsnap.com
Sat Sep 12 16:35:08 UTC 2020


On 2020-09-12 08:31, Alan Somers wrote:
> On Sat, Sep 12, 2020 at 9:19 AM Gordon Tetlow <gordon at freebsd.org
> <mailto:gordon at freebsd.org>> wrote:
> 
>     Author: gordon
>     Date: Sat Sep 12 15:18:52 2020
>     New Revision: 365660
>     URL: https://svnweb.freebsd.org/changeset/base/365660
> 
>     Log:
>       Add needed patch for 12.2-BETA1 to prevent spurious changes through
>       freebsd-update processing.
> 
>     Added:
>       user/cperciva/freebsd-update-build/patches/12.2-BETA1/
>       user/cperciva/freebsd-update-build/patches/12.2-BETA1/0-newvers
> 
> What kinds of spurious changes do you see without this patch?

There's three issues:

1. The code which selects which file to install as /etc/pkg/FreeBSD.conf
doesn't recognize a fake branch name and installs the "latest" file instead
of the "quarterly" file.

2. The branch name gets into /bin/freebsd-version, which is technically
correct, but confuses freebsd-update's "don't update files if the only
change is the version number" code.

3. The branch name gets into every single .o file in the kernel build, and
at this point all hell breaks loose.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


More information about the svn-src-user mailing list