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

Cedric Bosdonnat cbosdonnat at suse.com
Thu Sep 8 15:25:09 UTC 2016


On Wed, 2016-08-31 at 15:05 +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
> 
ACK to the whole series. Just tested it and backported it to Factory packages.
openSUSE updated supermin package will arrive soon.

--
Cedric




More information about the Libguestfs mailing list