Test for /servers instead of /servers/exec to avoid starting an translator
in the mounted system. Also, /hurd/init might be phased out at some point
(Closes: #802053).
+os-prober (1.70) UNRELEASED; urgency=medium
+
+ [ Justus Winter ]
+ * Fix hurd-any support: Test for /servers instead of /servers/exec to avoid
+ starting an translator in the mounted system. Also, /hurd/init might be
+ phased out at some point (Closes: #802053).
+
+ -- Samuel Thibault <sthibault@debian.org> Sat, 17 Oct 2015 14:26:43 +0200
+
os-prober (1.68) unstable; urgency=medium
* Adjust extended dos partition support for blkid/util-linux 2.24+,
dir="$2"
type="$3"
-if [ -e "$dir/servers/exec" ] && [ -x "$dir/hurd/init" ]; then
+if [ -d "$dir/servers" ] && [ -d "$dir/hurd" ]; then
label="$(count_next_label Hurd)"
result "$partition:GNU/Hurd:$label:hurd"
exit 0