[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801631: Os-prober identifies a Devuan installation as 'unknown Linux distribution'

Package: os-prober
Version: 1.65
Severity: normal
Tags: patch

When invoking 'update-grub' an installation of Devuan on another partition is identified by os-prober as 'unknown Linux distribution'. It does have an /etc/devuan_version file. By contrast, os-prober supports detection of other OS's (including some Debian derivatives).

Please resolve this for future versions. A simple 3-line patch to /usr/lib/os-probes/mounted/90linux-distro (enclosed) has been observed to work (by myself only so far).

David Hare
> 	elif [ -e "$dir/etc/devuan_version" ]; then
> 		short="Devuan"
> 		long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"

Reply to: