Re: freebsd-update: where does it get its target info?
- In reply to: Dag-Erling_Smørgrav : "Re: freebsd-update: where does it get its target info?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Feb 2024 13:16:24 UTC
uname -r says 13.2-RELEASE-p10 I checked that, should have mentioned it. freebsd-update fetch does what I expect but not with the cron argument. On Thu, Feb 29, 2024 at 4:03 AM Dag-Erling Smørgrav <des@freebsd.org> wrote: > paul beard <paulbeard@gmail.com> writes: > > I am seeing these messages from a freebsd-update cron job: > > > > Fetching metadata signature for 12.4-RELEASE from > update1.freebsd.org... done. > > > > but I am running 13.2-RELEASE-p10. If I run freebsd-update by hand, it > seems to know what to do: > > > > Fetching metadata signature for 13.2-RELEASE from > update2.freebsd.org... done. > > > > my freebsd-update.conf file is untouched. What is it looking at to > > pull 12.4? > > It uses `uname -r`, which normally does `sysctl -n kern.osrelease` but > can be overridden by the UNAME_r environment variable. > > DES > -- > Dag-Erling Smørgrav - des@FreeBSD.org > -- Paul Beard / www.paulbeard.org/