search for: hurd_root_test

Displaying 1 result from an estimated 1 matches for "hurd_root_test".

Did you mean: hurd_root_tests
2018 Feb 14
1
[PATCH] inspect: use check_tests also for detecting Hurd
...spect_fs_unix.ml b/daemon/inspect_fs_unix.ml index 53c86e878..e2a7364bd 100644 --- a/daemon/inspect_fs_unix.ml +++ b/daemon/inspect_fs_unix.ml @@ -698,6 +698,17 @@ let rec check_openbsd_root mountable data = and check_hostname_openbsd () = check_hostname_from_file "/etc/myname" +let hurd_root_tests : tests = [ + (* Newer distros include /etc/os-release which is reasonably + * standardized. This entry should be first. + *) + "/etc/os-release", parse_os_release; + "/etc/debian_version", parse_generic DISTRO_DEBIAN; + (* Arch Hurd also exists, but inconveniently...