how to get kernel source (ie which ver to get?)

Post your general questions or comments about GhostBSD here!
Post Reply
debguy
Posts: 2
Joined: Sun Oct 15, 2017 11:03 pm
Has thanked: 0
Been thanked: 0

how to get kernel source (ie which ver to get?)

Post by debguy » Sun Oct 15, 2017 11:51 pm

so kernel source was not part of install (i think it is for freeBSD, no big deal), and i wanna compile something which is telling me i need kernel source installed

i'm running GhostBSD11.1-ALPHA1-20170808-063724-xfce-i386.iso

$ freebsd-version -k
11.1-RC3

if i use

$ git clone https://github.com/freebsd/freebsd.git /usr/src

will that get 11.1-RC3 or no, i have to add something special to the git command or even git from a different github ?

NevilleGoddard
Developer
Posts: 397
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: how to get kernel source (ie which ver to get?)

Post by NevilleGoddard » Mon Oct 16, 2017 2:08 am

You can get the source code from this GhostBSD wiki page:

http://wiki.ghostbsd.org/wiki/index.php ... stallation

Select the image you want

NevilleGoddard
Developer
Posts: 397
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: how to get kernel source (ie which ver to get?)

Post by NevilleGoddard » Mon Oct 16, 2017 2:11 am


ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: how to get kernel source (ie which ver to get?)

Post by ASX » Mon Oct 16, 2017 2:59 am

NevilleGoddard wrote:Your image is this one I think:


ftp://ftp.freebsd.org/pub/FreeBSD/relea ... SE/src.txz
Yes, that is the src tarball, however keep in mind two things:

1) you should spend some amount of time learning about GhostBSD/FreeBSD before to adventure into software building, FreeBSD/GhostBSD are quite different from a Linux distro.

2) We might drop i386 support any time, ideally within hours.

NevilleGoddard
Developer
Posts: 397
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: how to get kernel source (ie which ver to get?)

Post by NevilleGoddard » Mon Oct 16, 2017 3:48 am

Thanks, ASX.
Don't you ever sleep? :)

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: how to get kernel source (ie which ver to get?)

Post by ASX » Mon Oct 16, 2017 4:00 am

NevilleGoddard wrote:Thanks, ASX.
Don't you ever sleep? :)
Sleeping make me feel like a "rechargeable battery" and we all know batteries allow for a limited amount of discharge/recharge cycles :lol: :mrgreen:

NevilleGoddard
Developer
Posts: 397
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: how to get kernel source (ie which ver to get?)

Post by NevilleGoddard » Mon Oct 16, 2017 4:02 am

:D

Post Reply