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.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Mentions

  • Justin Sherrill
  • a user