NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: track current kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On May 2, 2008, at 19:31, anon ymous wrote:
Hi,
I am a long time linux user and i figure out i should give netbsd a
try. I downloaded NetBSD 4.0 installed it on my system. I read
http://www.netbsd.org/docs/current/
but it's not so well structured for my taste I just can't figure out a
few things.
I want to test the latest kernel (current) so i get it through anoncvs
(equivalent as taking the linux source through git i'm not lost here
:P). Now do I have to get anything else on a fresh installed NetBSD4.0
to compile and use the current kernel just for testing?
There are a lot of informations on that site i just can't figure out
which one to follow.
I don't want my whole system current just want to get the current
kernel compile it and put it along with the one i have so i can chose
to run it.
Check out the source tree ( 'cvs checkout src' with
CVSROOT=anoncvs%anoncvs.netbsd.org@localhost:/cvsroot ), and in src first run
'build.sh tools' ( you may want to specify where to put build tools,
object files etc. - look at BUILDING for more detailed instructions )
- - this will build the tools needed to build the kernel. You can
probably build a -current kernel with the tools that come with 4.0
but I wouldn't bet on it. Then edit your kernel config file ( sys/
arch/whatever/conf/GENERIC is a good starting point ) and run
'build.sh kernel=WHATEVER'. That's it. make sure you have options
COMPAT_40 in your jkernel config so your 4.0 userland will work
( except threaded applications. That stuff changed radically from 4.0
to -current )
The nice thing about this approach is that you can build kernels and
userlands for any architecture supported by NetBSD independent from
your host tools. For instance you could easily build a NetBSD/sparc
kernel on a linux/x86 box.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSBuv5MpnzkX8Yg2nAQIjwQf+IAo5PpPIBsV+myyFqHNtnM18QPlHJ/uG
6/I7mPwOFdTaFE5TYSBUNPQpsmXHaEb3JIgLV14Q1k1V+eKNhsupcqXOlFrJm6XY
kinLQ/OZtNLjzEkvHpWnEI6PA2AJwLjTyrxKBA7QOJSnmFQjNW4BkqkG+hKTa2uH
cwRm8yTVzzG3CGE99qvfQLk/dWqWmP2MgDm2mAvCA+gIYwCtCgFXD1Nc1Mb8+WaT
kJos2uB6quWCaBnSjFBpYRdG4+O21l2dv9lCh7AgYtLIRg5kBBIfaPyTVWz+I8vg
Rp1cIMRNACtbCkGHBaTNiK3PZ0MWMkQgYT6rz28xnrhNXhcF7CmUjQ==
=N/G2
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index