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

Richard W.M. Jones rjones at redhat.com
Mon Oct 10 16:01:03 UTC 2016


On Wed, Aug 31, 2016 at 03:05:34PM +0200, Pino Toscano wrote:
> 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

Yes, this looks good.  ACK series.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list