Re: Upgrading from old version (13.0-RELEASE-p4)

From: Polytropon <freebsd_at_edvax.de>
Date: Fri, 22 Sep 2023 08:08:30 UTC
On Thu, 21 Sep 2023 20:54:08 -0300, Eduardo Lemos de Sa wrote:
> [...]
> My suggestion is:
> 
> 1) remove all files under /usr/src (including .git etc)
> 2) git clone --branch releng/13.2 https://git.FreeBSD.org/src.git /usr/src
> (as described in handbook)
> 3) cd /usr/src
> 4) make -j xx buildworld
> 5) make -j xx buildkernel
> 6) install them & reboot
> 
> For future upgrades, I suggest:
> cd /usr/src
> git pull
> followed by steps 4, 5, and so on...

I also suggest to have a look at /usr/src/Makefile's
comment header, which is a great source for updating
procedures.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...