search for: 65ab8ef

Displaying 2 results from an estimated 2 matches for "65ab8ef".

Did you mean: 25abfef
2015 Sep 08
1
[PATCH] inspect: recognize the Frugalware distribution
...stfs-internal.h +++ b/src/guestfs-internal.h @@ -554,6 +554,7 @@ enum inspect_os_distro { OS_DISTRO_COREOS, OS_DISTRO_ALPINE_LINUX, OS_DISTRO_ALTLINUX, + OS_DISTRO_FRUGALWARE, }; enum inspect_os_package_format { diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index abbae35..65ab8ef 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -85,6 +85,7 @@ COMPILE_REGEXP (re_openbsd_duid, "^[0-9a-f]{16}\\.[a-z]", 0) COMPILE_REGEXP (re_openbsd_dev, "^/dev/(s|w)d([0-9])([a-z])$", 0) COMPILE_REGEXP (re_netbsd_dev, "^/dev/(l|s)d([0-9])([a-z])$&quot...
2015 Sep 09
2
[PATCH] inspect: try to use /etc/os-release on Linux guests
...y, and already documented to not be parseable), there should be no regressions in the detected distro and version. --- src/inspect-fs-unix.c | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index 65ab8ef..19975a7 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -141,6 +141,140 @@ parse_release_file (guestfs_h *g, struct inspect_fs *fs, return 0; } +/* Parse a os-release file. + * + * Only few fields are parsed, falling back to the usual detection if we + * cannot read all of...