commit | 44c8b25fb3b4b67442426abdc2371e750f7a393e | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Thu Sep 06 13:32:14 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 10 16:43:32 2012 -0700 |
tree | de374c871cabe327c92b4aa98f7a74e99302507a | |
parent | 436473bc2173499ae274d0f50111d1e355006caf [diff] |
tools/hv: Parse /etc/os-release There is a new convention, used by systemd and supported by most distributions, to put basic OS release information in /etc/os-release. Added some additional error checking on strdup() Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>