Jump to content

Is there a way to show armbian version in bash?


tiamat

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines