Displaying 1 result from an estimated 1 matches for "e2a7364bd".
2018 Feb 14
1
[PATCH] inspect: use check_tests also for detecting Hurd
...There should be no behaviour change, other than using os-release if it
contains all the needed information.
---
daemon/inspect_fs_unix.ml | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/daemon/inspect_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...