Upgrading FreeBSD to patch level with subversion

Olivier Nicole olivier.nicole at cs.ait.ac.th
Thu Mar 20 04:18:43 UTC 2014


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list