Solved Where is source code for 14.0-RELEASE?

Hello.

When I did a fresh install of 14.0-RELEASE I didn't install the source with the think "can do that later...". Today I want to try my own kernel compilation, and I'm searching the src:
Code:
# svn checkout [URL]https://svn.freebsd.org/base/releng/14.0[/URL] /usr/src
svn: E170000: URL '[URL]https://svn.freebsd.org/base/releng/14.0[/URL] /usr/src' doesn´t exist
#
# svn checkout [URL]https://svn.freebsd.org/base/release/14.0[/URL] /usr/src
svn: E170000: URL '[URL]https://svn.freebsd.org/base/release/14.0[/URL] /usr/src' doesn´t exist
#
What am I doing wrong?

Any help will be very appreciated.

Regards.
 
Ok. Solved.

Now i'm using git with no problem, as i found in this thread:

Thanks.
Regards.
 
Now i'm using git with no problem
Make sure you're on the right branch. For 14.0-RELEASE that should be releng/14.0. By default a git clone will get the 'main' branch, that's -CURRENT. Git works a bit differently compared to subversion when it comes to branches. You can check which branch you're on by looking at git branch or git status. Switching branches is easy to do, just git checkout releng/14.0. Keeping the tree up to date can be done with git pull.

If you use freebsd-update(8) to keep the system updated you will want to disable it updating the source tree.
Remove the src from this line:
Code:
# Components of the base system which should be kept updated.
Components src world kernel
Or else both freebsd-update(8) and git(1) will be messing with the source tree and that's going to cause problems.
 
Back
Top