On rolling release based Linux distros (at least on ArchLinux) getting the platform version from info.versionId fails. Looks like getting it from _p.version is a meaningful fallback. On my system this prop contains Linux kernel version and build time which gives you some idea about the system.
On rolling release based Linux distros (at least on ArchLinux) getting the platform version from
info.versionId
fails. Looks like getting it from_p.version
is a meaningful fallback. On my system this prop contains Linux kernel version and build time which gives you some idea about the system.