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

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



On Mon, 12 Oct 2015 22:50:00 +0200 Cyril Brulebois <kibi@debian.org> wrote:
> Hi,
> 
> David Hare <davidahare@gmail.com> (2015-10-12):
> > 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
> 
> > 127a128,130
> > > 	elif [ -e "$dir/etc/devuan_version" ]; then
> > > 		short="Devuan"
> > > 		long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"
> 
> Thanks, but please use diff -u or git format-patch. Having the context
> around is always a good idea; having a patch ready to apply even more so.

Instead of increasing this list even further, wouldn't it be better to
simply rely on /etc/os-release and actually remove most of
/usr/lib/os-probes/mounted/90linux-distro ?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: