:: Re: [DNG] os-prober detects Devuan …
Góra strony
Delete this message
Reply to this message
Autor: David Hare
Data:  
Dla: dng
Temat: Re: [DNG] os-prober detects Devuan as "Unknown Linux Distribution"
On 05/10/15 22:25, Adam Borowski wrote:
> On Mon, Oct 05, 2015 at 08:19:10PM +0100, David Hare wrote:
>> Don't know if there is an "official" plan to sort this. It is an annoyance
>> that os-prober (normally run at update-grub) detects my
>> (bootstrap-installed) Devuan as "Unknown Linux Distribution" then that's
>> what you get in grub menu.
>>
>> This is fixed here by adding after line 23 of
>> /usr/lib/os-probes/mounted/90linux-distro :
>>
>>     elif [ -e "$dir/etc/devuan_version" ]; then
>>         short="Devuan"
>>         long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat
>> "$dir/etc/devuan_version")")"

>
> Have you submitted this patch to os-prober? If not, please do so (or tell
> us you won't). This way:
> 1. there'll be no need to patch this in Devuan separately
> 2. systems with both Debian and Devuan will have proper grubbage
>


Done.. (patch slightly different).
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801631

David