tiamat Posted May 14, 2016 Posted May 14, 2016 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?
zador.blood.stained Posted May 14, 2016 Posted May 14, 2016 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.
tiamat Posted July 2, 2016 Author Posted July 2, 2016 Just for people who need such info: in latests Armbian you can find armbian specific info in following file /etc/armbian-release
Recommended Posts