buildworld and next kernel compilation
Polytropon
freebsd at edvax.de
Sat Aug 16 11:00:11 UTC 2014
On Sat, 16 Aug 2014 11:35:33 +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
^^
I assume you have correctly used KERNCONF=MYKERNELCONF.
The variable KERN*EL*KONF will be ignored and GENERIC
will be used.
The rest of your procedure looks correct.
> 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?
I'd suggest to use the following approach in multi-user mode:
# cd /usr/src
# make clean
... edit configuration file ...
# make kernel KERNCONF=MYKERNELCONF
# reboot
Note that "make kernel" is short for "make buildkernel" followed
by "make installkernel", but that's what you need, so it's less
typing. :-)
As you didn't change version numbers (new checkout of sources),
kernel and world version are still in sync. This is a requirement.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list