CURRENT, STABLE, RELEASE --> meet PRERELEASE !
FreeBSD comes with good documentation, your question could have been answered fast, consulting the freebsd-update(8) manual.can we upgrade 14.2 to 14.3 from freebsd-update upgrade ? thanks.
BINARY UPDATES AVAILABILITY
Binary updates are not available for every single FreeBSD version and
architecture.
In general, binary updates are available for ALPHA, BETA, RC, and RELEASE
versions of FreeBSD, e.g.:
FreeBSD 13.1-ALPHA3
FreeBSD 13.1-BETA2
FreeBSD 13.1-RC1
FreeBSD 13.1-RELEASE
They are not available for branches such as PRERELEASE, STABLE, and
CURRENT, e.g.:
FreeBSD 13.0-PRERELEASE
FreeBSD 13.1-STABLE
FreeBSD 14.0-CURRENT
Name changes didn't happen. The upcoming next release names are on with the FreeBSD release engineering process.I'm not a fan of the name change, but it's good to know this bit of info.
And what's the difference between a "release candidate" and a "prerelease" build? Or is this just a rebranding of the RC (or worse: BETA) builds? why?
Thanks; so PRERELEASE builds were already a thing? I must have missed them for the last 10 years - I always only noticed BETA and RC builds...PRERELEASE is the name after the the so called code slush in STABLE. Next are the BETAs, then, when the releng/14.3 branch is created from stable/14, the RCs, then RELEASE. See the article down below for all the processes and all the names.
stable/14 -> STABLE, then it becomes PRERELEASE just before releng/14.3 is branched off. Then releng/14.3 is branched off first, and the releng/14.3 branch changes to BETA1, BETA2,..., RC1, RC2,..., and finally RELEASE.Next are the BETAs, then, when the releng/14.3 branch is created from stable/14, the RCs, then RELEASE.
---- 14/stable --- 14.2-STABLE ---> 14.3-PRERELEASE ----> 14.3-STABLE ---->
\____ releng/14.3 ---> 14.3-BETA1 -- 14.3-BETA2 --- 14.3-BETAx --- 14.3-RC1 --- 14.3-RC2 --- 14.3-RCx --- 14.3-RELEASE
That PRERELEASE tag only happens in the stable branches, if you've never tracked a stable you would never have seen them.Thanks; so PRERELEASE builds were already a thing? I must have missed them for the last 10 years - I always only noticed BETA and RC builds...
Oh, i thought it was a mistake named PRERELEASE hence my postingThat PRERELEASE tag only happens in the stable branches, if you've never tracked a stable you would never have seen them.
If you want to track -STABLE, yes. If not, no, just wait for the first betas of 14.3 to be available.So 14.3 PRERELEASE is ok to download and use ?
Can you explain the rationale behind this? What benefits do you get from walking this path instead of simply installing -STABLE?I'll start off by installing a -RELEASE and just use the source to get it to -STABLE.
So basically you install -RELEASE and than go with kernel update from source and you use -STABLE, you build the kernel and once reboot - you have -STABLE ? or i`m missing something ?I typically already have downloaded an -RELEASE installer. Don't see the point of downloading another image, which by the time you download it is already old. -STABLE is a constantly moving target, snapshots are just that, a specific point in time.
see https://docs.freebsd.org/en/books/handbook/cutting-edge/#stableSo basically you install -RELEASE and than go with kernel update from source and you use -STABLE, you build the kernel and once reboot - you have -STABLE ? or i`m missing something ?
I find your method odd. You have an outdated RELEASE installation image, install a new system with it, then upgrade the system to STABLE from source.I typically already have downloaded an -RELEASE installer. Don't see the point of downloading another image, which by the time you download it is already old. -STABLE is a constantly moving target, snapshots are just that, a specific point in time.
/usr/src-14.2
/usr/src-14.3
/usr/src-main
/usr/obj/usr/src-14.2
/usr/obj/usr/src-14.3
/usr/obj/usr/src-main
Yes you right - source as well.see https://docs.freebsd.org/en/books/handbook/cutting-edge/#stable
you have to checkout the latest source branch you want to follow and build world and kernel from that, not only the kernel. FreeBSD is a complete OS, not only a kernel like linux.
It takes the same amount of time to go from any -RELEASE to the latest -STABLE compared to a -STABLE snapshot to the latest -STABLE. Still have to fetch the sources, still have to build(7) world.I find your method odd. You have an outdated RELEASE installation image, install a new system with it, then upgrade the system to STABLE from source.
Surely you have a regularly updated Git deep clone of the source tree on one of your systems, why not use that clone to create installation images in the desired branch with the latest patch-level?
Sure, works for consecutive builds and can definitely be a time-saver. But we're talking about a new system, new build. It has to do a full build first before WITH_META_MODE would be able to skip parts that have already been built previously.To reduce build time, when possible, WITH_META_MODE is enabled. To avoid overwriting the object directory when switching branches, ever branch has its own source tree directory (dataset).