installworld and sources
Compiling a new kernel from source requires /usr/src to be populated, I understand that. The buildworld process for sure needs /usr/src. My question is , is /usr/src also used in the installworld process? Now I have never had to do this type of system RELEASE upgrade before, so I just don't know. ___ 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: installworld and sources
Hi! It's good practice to keep /usr/src (your source) intact and the same version as your worldkernel is and vica versa. For the particular installworld step AFAIK /usr/obj is used, where the system has the compiled world made in the build process. steps here: http://www.freebsd.org/doc/en/books/handbook/makeworld.html however you should always read the actual UPDATING file if something changes between versions! Regards, M.Balázs. On 6 June 2010 12:55, Fbsd1 fb...@a1poweruser.com wrote: Compiling a new kernel from source requires /usr/src to be populated, I understand that. The buildworld process for sure needs /usr/src. My question is , is /usr/src also used in the installworld process? Now I have never had to do this type of system RELEASE upgrade before, so I just don't know. ___ 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 ___ 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: installworld and sources
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/06/2010 11:55:51, Fbsd1 wrote: Compiling a new kernel from source requires /usr/src to be populated, I understand that. Uh -- compiling a kernel requires /usr/src/sys. I think you can do without the rest of the system sources if all you want to do is build a kernel. OTOH, as you say: you do need all of /usr/src if you want to do a buildworld. The buildworld process for sure needs /usr/src. My question is , is /usr/src also used in the installworld process? Now I have never had to do this type of system RELEASE upgrade before, so I just don't know. Yes -- all of the Makefiles used to run your 'make installworld' are held under /usr/src. Amongst other things -- for instance, you'll need the contents of /usr/src/etc/ in order to run mergemaster(1). Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwLgfgACgkQ8Mjk52CukIzaHwCcCB4Uri2gKKODCT2xH4nYg8RV uZAAnjt/TAbHC0c18TT+RsmRU/iPVfua =exb6 -END PGP SIGNATURE- ___ 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: installworld and sources
Compiling a new kernel from source requires /usr/src to be populated, I understand that. The buildworld process for sure needs /usr/src. My question is , is /usr/src also used in the installworld process? Now I have never had to do this type of system RELEASE upgrade before, so I just don't know. If you don't mean installworld literally, but instead you mean installing pre-compiled binaries like those distributed on the FreeBSD installation disk images, or those intended for use with freebsd-update(8), then the answer is no. But if you mean it literally -- you intend to run the installworld target -- then the answer is yes, of course. It is the makefiles in /usr/src, from /usr/src/Makefile on down, that are responsible for telling make(1) what to do during installworld. Even after you are done installing, you may still wish to keep part or all of the system sources around, in case of emergencies (you need to rebuild/re-install part of the base system), or for reference, or for subsequent base system updates, or because /sys may be sym-linked to the headers in /usr/src/sys. b. ___ 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