The version of serval is determined by parsing the git rev-list --abbrev-commit --max-count=1 HEAD output. But if you build Serval not from the serval-dna folder but a different one, this either results in UNKNOWN-VERSION or a commit id of another repository.
I found this issue, when i was compiling serval to openWRT, since i run make from the openWRT folder and not from the serval-dna folder.
The version of serval is determined by parsing the
git rev-list --abbrev-commit --max-count=1 HEAD
output. But if you build Serval not from the serval-dna folder but a different one, this either results inUNKNOWN-VERSION
or a commit id of another repository.I found this issue, when i was compiling serval to openWRT, since i run make from the openWRT folder and not from the serval-dna folder.