Hello, I'd like to clarify a certain info regarding FreeBSD -STABLE. Currently, I am running 10-STABLE and need to know if it is mandatory to rebuild kernel and world every time I sync the source using "# svn up /usr/src"? Thank You, @youngunix --
On Mon, Jan 19, 2015 at 8:36 PM, Yass Amed <zagazaw2004 at gmail.com> wrote:> I'd like to clarify a certain info regarding FreeBSD -STABLE. > Currently, I am running 10-STABLE and need to know if it is mandatory to > rebuild kernel and world every time I sync the source using "# svn up > /usr/src"? >A running FreeBSD system never needs /usr/src. But if you are running STABLE (or CURRENT), sometimes you will want to look at the source to something in the running system (usually because it just did something unexpected...) and so it's helpful to have /usr/src match the running system. So, not necessary but often a good idea. -- brandon s allbery kf8nh sine nomine associates allbery.b at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
On 20/01/2015 12:06, Yass Amed wrote:> Hello, > > I'd like to clarify a certain info regarding FreeBSD -STABLE. > Currently, I am running 10-STABLE and need to know if it is mandatory to > rebuild kernel and world every time I sync the source using "# svn up > /usr/src"? > > Thank You, > > @youngunix >No it isn't mandatory, but you may want to rebuild kernel and world from time to time so you are using the new code changes. svn up will only bring in new source code changes to /usr/src, you won't be running any of these changes until you rebuild. If you run svn up everyday then rebuilding everyday would be overkill, if you see an update that may effect you then you will need to rebuild to test it. You may want to rebuild weekly or monthly to help test or take advantage of changes made. -- FreeBSD - the place to B...Software Developing Shane Ambler
Hi Yass, On 19 January 2015 at 17:36, Yass Amed <zagazaw2004 at gmail.com> wrote:> Hello, > > I'd like to clarify a certain info regarding FreeBSD -STABLE. > Currently, I am running 10-STABLE and need to know if it is mandatory to > rebuild kernel and world every time I sync the source using "# svn up > /usr/src"? >Good, helpful tutorial here: http://www.bsdnow.tv/tutorials/stable-current If you only want to look at code, I suggest the website so you can diff files a little easier: https://svnweb.freebsd.org/base/stable/10/ (or whatever version you're following) If you want to update to the latest, then you need to rebuild after you svn up /usr/src. That's the part that can take hours on older systems.> Thank You, > > @youngunix > > -- >-- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si
On 01/19, Yass Amed wrote:> Hello, > > I'd like to clarify a certain info regarding FreeBSD -STABLE. > Currently, I am running 10-STABLE and need to know if it is mandatory to > rebuild kernel and world every time I sync the source using "# svn up > /usr/src"?Just the opposite is the case, actually---the only time you ever need to update the local source repo is when you're about to rebuild world and the kernel. -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams
If you're using something require kernel src (such as nvidia-driver), you need keeping sync with running kernel and its src. Just as Bigby James noted, you should update src only when you want to update running FreeBSD }(kernel / userland). Don't forget to rebuild ALL softwares requiring kernel src. If you want src of different revision, I recommend to keep it somewhere other than /usr/src. On Mon, 19 Jan 2015 19:36:13 -0600 Yass Amed <zagazaw2004 at gmail.com> wrote:> Hello, > > I'd like to clarify a certain info regarding FreeBSD -STABLE. > Currently, I am running 10-STABLE and need to know if it is mandatory to > rebuild kernel and world every time I sync the source using "# svn up > /usr/src"? > > Thank You, > > @youngunix > > -- > > > _______________________________________________ > freebsd-stable at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >-- Tomoaki AOKI junchoon at dec.sakura.ne.jp