Re: FreeBSD Security Advisory FreeBSD-SA-24:01.bhyveload
- In reply to: George Mitchell : "Re: FreeBSD Security Advisory FreeBSD-SA-24:01.bhyveload"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Feb 2024 13:42:36 UTC
[I promise this is the last time I will write about this!] On 2/18/24 09:38, George Mitchell wrote: > On 2/16/24 08:48, George Mitchell wrote: >> For a complicated reason, I avoid "freebsd-update" and update the >> kernel and the world from source. >> [... discussion proving I am an idiot ...] >> Is there a hack that lets me fool freebsd-version into reporting -p10 >> instead of -p9? -- George >> [...] > > The hack (and it's ridiculously ugly) is to edit /bin/freebsd-version > and change: > USERLAND_VERSION="13.2-RELEASE-p9" > to: > USERLAND_VERSION="13.2-RELEASE-p10" > > Sorry for inflicting this on all of you ... -- George The less distressing way to do this, even though it's still a hack, is: cd /usr/src/bin/freebsd-version make make install It synthesizes USERLAND_VERSION from REVISION and BRANCH in newvers.sh, which I had properly updated with my "gitup release". We now return you to our regularly-scheduled programming. -- George