buildworld and next kernel compilation

Hasse Hansson hasse at thorshammare.org
Sat Aug 16 11:21:34 UTC 2014


On Sat, Aug 16, 2014 at 11:35:33AM +0430, Mohsen Pahlevanzadeh wrote:
> Dear BSD man,
> 
> Suppose i compile my kernel via:
> 
> ///////////////////////////////////////////////////////
> svn co svn://svn.freebsd.org/base/stable/10 /usr/src
> svn up /usr/src
> cd /usr/src
> make buildworld
> ### edit my MYKERNELCONF
> make kernel KERNELCONF=MYKERNELCONF
> shutdown -r now
> ### boot via single user and use the following commands:
> mount -u /
> mount -a -t ufs #my fs is ufs
> swapon -a
> adjkerntz -i
> mergemaster -p
> cd /usr/src
> make installworld
> mergemaster -iF
> make delete-old
> reboot
> make delete-old-libs
> ///////////////////////////////////
> 
> My question: suppose i need to again compile my kernel and add fooobar,
> What do you suggesst procedure for compilation according to i compile
> once?
> 
> 
>                                                                   Yours,
>                                                                   Mohsen
> 
> 
> 
> _______________________________________________
> 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"

Hello.

Two excellent guides that will answer your questions :

http://www.wonkity.com/~wblock/docs/html/kernelconfig.html
http://www.wonkity.com/~wblock/docs/html/buildworld.html

All the Best
Hasse

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140816/54b3e250/attachment.sig>


More information about the freebsd-questions mailing list