Jump to content

Recommended Posts

Posted

Hi

 

I would like to add Armbian version to banner after login (eg. v5.10) to be sure that I'm using latest version. Is this value stored somewhere in the filesystem? I already checked:

/proc/version

/etc/debian_version

/etc/os-release

 

but it's not there. I found it in /etc/armbian.txt but this is plain text file and parsing it to fetch the value is a little overkill. Is there a better place where I can find it?

Posted

Is there a better place where I can find it?

You can check version of Armbian-specific packages (kernel, headers, DTB, board support package), it should match Armbian release version. I.e.

dpkg-query -W -f='${Version}\n' linux-jessie-root-orangepione

There will be an easier way to get Armbian version in the future, but probably not in the next release.

Posted

Just for people who need such info: in latests Armbian you can find armbian specific info in following file

/etc/armbian-release
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines