Building TrueNAS Core from source, how to choose exact version?

seanm

Guru
Joined
Jun 11, 2018
Messages
570
Hi all,

I'm trying to build TrueNAS 13.0-U6.1 from source.

I've found some instructions here: https://github.com/truenas/core-build and am having some success.

But one immediate question: how to a build a specific version, like 13.0-U6.1? After doing the git clone, I looked at the branch names, and see one named `remotes/origin/release/13.0-u5.3-stable` but I don't see anything that looks like it corresponds to 13.0-U6.1.

Thanks.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
The releases are usually tagged, not branched:


I believe it should be git clone --depth 1 --branch TN-13.0-U6.1 https://github.com/truenas/core-build if you only want specifically that which would give U6.1, for example.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112

Volts

Patron
Joined
May 3, 2021
Messages
210
Let us know how it goes. I keep meaning to do this and haven’t sat down to spend the time.
 

Volts

Patron
Joined
May 3, 2021
Messages
210
Thanks! What'd you change, if you don't mind my asking?

I'm interested in a kernel build with WITH_EXTRA_TCP_STACKS and TCP BBR myself. Hearing it went smoothly is motivational.

What didn't build correctly?
 

seanm

Guru
Joined
Jun 11, 2018
Messages
570
Just built again, the failed ports were:

[04:10:24] Failed ports: sysutils/uefi-edk2-bhyve-csm:build www/minio:build lang/gcc10:build www/node16:build
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
I recall building FreeNAS 8.x and 9.x practically nightly. I would add a few custom things. The good 'ole days.
 
Top