Re: Current Way To Update Sources & Rebuild World/Kernel? -- SOLVED
On Tue, 19 Mar 2013 14:06:41 -0700, Drew Tomlinson wrote: > Thanks for the replies. Using freebsd-update seemed the simplest method > since it was already included. Worked just fine for getting the > sources. Probably in the future there will be a csup-equivalent included with the OS, plus configuration templates that can be used to do a source incorporation via SVN. > And following the steps listed in comments in > /usr/src/Makefile worked for building and installing the sources. I've relied on them for many years, and they seem to work happily. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Current Way To Update Sources & Rebuild World/Kernel? -- SOLVED
On 3/17/2013 3:16 PM, Polytropon wrote: On Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson wrote: I've been away for a while. In the past, the proper way to update a system was to grab current sources via cvsup and then rebuild world and kernel. But now I see cvsup is no longer supported. Correct. The new way to obtain sources is via Subversion. The OS will hopefully soon get a csup equivalent (svnup) so you don't need to install a port with heavy dependencies. The handbook talks about freebsd-update. I do not want binary upgrades but is this the tool to replace cvsup to update sources? Basically freebsd-update updates the system binarily, as you said. But it can also be used to only update sources. In order to do this, edit /etc/freebsd-update.conf to contain the line "Components src" (means: you remove all the other components such as "world" and "kernel"). Then you proceed to reinstall from source as known. How do I use it to replace the old way that went something like this: cvsup sources make buildworld make buildkernel make installkernel mergemaster make installworld (I'm not sure I have that in the exact proper order but it was something like that). The exact proper order can be found in the comment header of /usr/src/Makefile. You should stick to that order to avoid problems. Also see the corresponding handbook section. So is freebsd-update what I need? As explained above - or make yourself familiar with SVN, which is the CVSup / csup replacement. Is there a page that describes the steps to accomplish this? See "man freebsd-update" and the comments in /etc/freebsd-update.conf for details. Also see the Handbook's section about updating. Thanks for the replies. Using freebsd-update seemed the simplest method since it was already included. Worked just fine for getting the sources. And following the steps listed in comments in /usr/src/Makefile worked for building and installing the sources. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Current Way To Update Sources & Rebuild World/Kernel?
On Mar 17, 2013 11:07 PM, "Drew Tomlinson" wrote: > > I've been away for a while. In the past, the proper way to update a system was to grab current sources via cvsup and then rebuild world and kernel. But now I see cvsup is no longer supported. The handbook talks about freebsd-update. I do not want binary upgrades but is this the tool to replace cvsup to update sources? How do I use it to replace the old way that went something like this: > > cvsup sources > make buildworld > make buildkernel > make installkernel > mergemaster > make installworld > > (I'm not sure I have that in the exact proper order but it was something like that). > > So is freebsd-update what I need? Is there a page that describes the steps to accomplish this? > > Thanks, > > Drew > http://www.wonkity.com/~wblock/docs/html/stable.html Buildworld Buildkernel Installkernel Reboot Mergemaster -p Installworld Mergemaster Rebuild ports Delete-old Delete-old-libs Delete-old-dirs Less /usr/src/Makefile ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Current Way To Update Sources & Rebuild World/Kernel?
Le Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson a écrit : > I've been away for a while. In the past, the proper way to update a > system was to grab current sources via cvsup and then rebuild world > and kernel. But now I see cvsup is no longer supported. The > handbook talks about freebsd-update. I do not want binary upgrades > but is this the tool to replace cvsup to update sources? How do I > use it to replace the old way that went something like this: > > cvsup sources > make buildworld > make buildkernel > make installkernel > mergemaster > make installworld Instead cvsup you have to use svn to retrieve the sources : http://www.freebsd.org/doc/handbook/svn.html The good way is (and was) mergemaster -p before make installworld and mergemaster after. regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Current Way To Update Sources & Rebuild World/Kernel?
On Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson wrote: > I've been away for a while. In the past, the proper way to update a > system was to grab current sources via cvsup and then rebuild world and > kernel. But now I see cvsup is no longer supported. Correct. The new way to obtain sources is via Subversion. The OS will hopefully soon get a csup equivalent (svnup) so you don't need to install a port with heavy dependencies. > The handbook talks > about freebsd-update. I do not want binary upgrades but is this the > tool to replace cvsup to update sources? Basically freebsd-update updates the system binarily, as you said. But it can also be used to only update sources. In order to do this, edit /etc/freebsd-update.conf to contain the line "Components src" (means: you remove all the other components such as "world" and "kernel"). Then you proceed to reinstall from source as known. > How do I use it to replace the > old way that went something like this: > > cvsup sources > make buildworld > make buildkernel > make installkernel > mergemaster > make installworld > > (I'm not sure I have that in the exact proper order but it was something > like that). The exact proper order can be found in the comment header of /usr/src/Makefile. You should stick to that order to avoid problems. Also see the corresponding handbook section. > So is freebsd-update what I need? As explained above - or make yourself familiar with SVN, which is the CVSup / csup replacement. > Is there a page that describes the > steps to accomplish this? See "man freebsd-update" and the comments in /etc/freebsd-update.conf for details. Also see the Handbook's section about updating. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Current Way To Update Sources & Rebuild World/Kernel?
I've been away for a while. In the past, the proper way to update a system was to grab current sources via cvsup and then rebuild world and kernel. But now I see cvsup is no longer supported. The handbook talks about freebsd-update. I do not want binary upgrades but is this the tool to replace cvsup to update sources? How do I use it to replace the old way that went something like this: cvsup sources make buildworld make buildkernel make installkernel mergemaster make installworld (I'm not sure I have that in the exact proper order but it was something like that). So is freebsd-update what I need? Is there a page that describes the steps to accomplish this? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"