Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 11:18:41 +0700
From:      Olivier Nicole <olivier.nicole@cs.ait.ac.th>
To:        nightrecon@hotmail.com
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Upgrading FreeBSD to patch level with subversion
Message-ID:  <CA%2Bg%2BBvi3wrZOBWdgQ4TdkhHopq7aFH8vcGZo2gYNSCQZJvB6ZA@mail.gmail.com>
In-Reply-To: <lgcue8$ier$1@ger.gmane.org>
References:  <CA%2Bg%2BBvgg6Ay=SgA6cUhxeNqFZoh%2B_11VhFjMFht-mp1vCM219Q@mail.gmail.com> <lgcue8$ier$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you Mike,

>> Now if I installed a machine with 9.2-RELEASE and I try the same svn
>> command, nothing get updated.
>
> Use update instead of checkout. You can do a cursory check first by

Obviously, I have overlooked and missed the command update.

Best regards,

Olivier

> establishing that there is a .svn directory with stuff below /usr/src. If
> this isn't there (maybe from deleting /usr/src) you can simply start over.
>
> Wipe everything under /usr/src with a rm -rf * which leaves the .svn - if
> one is present. You need to use chflags -R on .svn first before an rm -rf
> .svn will succeed. If there is no .svn and everything else under /usr/src is
> gone you're good to start again with fresh bits.
>
> Using the checkout command exactly as you did before will download a fresh,
> new copy of RELEASE to work with.
>
>> Is there some magic to be added (beside deleting /usr/src) to get svn
>> to do the update?
>
> After putting the new, fresh /usr/src in place the same way as you did before
> simply do: # svn update /usr/src
>
> Now you should have the same P3 as noted from your description of the
> source-based upgrade process from 9.1 to 9.2 (after round of make
> world/buildkernel/installworld...), etc.
>
> svn update /usr/src is essentially the same concept-wise as the old csup of
> the security branch of releng.
>
> [snip]
> -Mike
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bg%2BBvi3wrZOBWdgQ4TdkhHopq7aFH8vcGZo2gYNSCQZJvB6ZA>