Updating from 2.4 to 2.6

Here’s some explicit instructions for upgrading from 2.4 to 2.6.

If for some reason you don’t have a /usr/src directory:

mkdir -p /usr/src
cd /usr/src && git init
git remote add origin git://git.dragonflybsd.org/dragonfly.git
git fetch origin
git branch DragonFly_RELEASE_2_6 origin/DragonFly_RELEASE_2_6
git checkout DragonFly_RELEASE_2_6
git pull

If you already have a /usr/src/ directory, you can just do the last 3 steps:

git branch DragonFly_RELEASE_2_6 origin/DragonFly_RELEASE_2_6
git checkout DragonFly_RELEASE_2_6
git pull

And then you can perform the normal “make buildworld…” steps outlined in /usr/src/UPDATING.

2 Replies to “Updating from 2.4 to 2.6”

  1. My “if you already have a /usr/src directory” note also assumes that you already have an ‘origin’ target that has this release. Chances are you do.

Comments are closed.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.