On Fri, 29 Jul 2011, Amarendra Godbole wrote:

Hi,

http://www.openbsd.org/faq/faq5.html#BldKernel has a section
"Variation on above process: Read-only source tree", which talks about
building a kernel outside src/. Interestingly, when I do a GENERIC.MP
build, by following these steps, the name displayed via config is that
of the directory in which this kernel has been built. Eg.

# cd /home/foo/bar/testbuild
# cp /usr/src/sys/arch/i386/conf/GENERIC.MP .
# config -s /usr/src/sys -b . GENERIC.MP
# make clean && make depend && make
# make install

"config -e" displays the kernel string as:
OpenBSD 5.0-beta (testbuild) #2: Fri Jul 29 12:50:00 IST 2011
   root@zimbu:/home/foo/bar/testbuild

This may confuse, especially when a "dmesg" is required, as it loses
the type of kernel built - GENERIC or GENERIC.MP.

It loses the arch too. It is not easy to distinguish between i386 and amd64 then.

Regards,
David

Reply via email to