[Libguestfs] [PATCH 0/2] supermin: use /etc/os-release

Pino Toscano ptoscano at redhat.com
Wed Aug 31 13:05:34 UTC 2016


Hi,

let's make supermin use /etc/os-release as primary source instead of
the various release files in /etc; apparently distros (e.g. openSUSE)
are starting removing them.

Thanks,


Pino Toscano (2):
  Add simple handling of /etc/os-release
  Use os-release to detect the distro

 src/Makefile.am    |  3 +++
 src/dpkg.ml        |  3 ++-
 src/os_release.ml  | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/os_release.mli | 26 ++++++++++++++++++
 src/pacman.ml      |  5 ++--
 src/rpm.ml         | 15 ++++++-----
 6 files changed, 121 insertions(+), 9 deletions(-)
 create mode 100644 src/os_release.ml
 create mode 100644 src/os_release.mli

-- 
2.7.4




More information about the Libguestfs mailing list