Laszlo Ersek 3f6f2fb8f6 daemon/inspect_fs_unix: recognize modern Pardus GNU/Linux releases
Recent Pardus releases seem to have abandoned the original
"/etc/pardus-release" file, which the current Pardus detection, from
commit 233530d354 ("inspect: Add detection of Pardus.", 2010-10-29), is
based upon.

Instead, Pardus apparently adopted the "/etc/os-release" specification
<https://www.freedesktop.org/software/systemd/man/os-release.html>, with
"ID=pardus". Extend the "distro_of_os_release_id" function accordingly.
Keep the original method for recognizing earlier releases.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1993842
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20211001125338.8956-1-lersek@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
2021-10-01 15:34:25 +02:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2011-11-08 14:43:07 +00:00
2021-04-08 11:36:40 +01:00
2021-04-08 11:36:40 +01:00
2021-04-08 11:36:40 +01:00
2021-04-09 14:27:11 +01:00
2020-03-06 19:32:32 +00:00
2021-09-13 10:40:50 +01:00
2020-03-06 19:32:32 +00:00
2021-09-23 14:52:46 +01:00
2021-09-23 14:52:46 +01:00
2021-04-08 11:36:40 +01:00
2018-02-22 15:06:13 +00:00
2021-04-08 11:36:40 +01:00
2013-01-24 15:00:49 +00:00
2020-01-14 16:21:22 +01:00
2021-09-23 14:52:46 +01:00
2019-11-13 12:49:55 +00:00
2021-09-23 14:52:46 +01:00
2021-03-11 13:58:41 +00:00
2020-03-06 19:32:32 +00:00
2021-09-23 14:52:46 +01:00
2021-04-08 12:55:19 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2020 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%