]> git.ipfire.org Git - thirdparty/grub.git/commit
30_os-prober: derive --class from os-prober generated label
authorAndrey Borzenkov <arvidjaar@gmail.com>
Wed, 30 Dec 2015 19:30:16 +0000 (22:30 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Wed, 30 Dec 2015 19:30:16 +0000 (22:30 +0300)
commit2333a83baa3caf7efb0c6b94f0d9f9914682cf87
tree4d9e768cb03d209c766be8a0e804e66c6d0fc484
parent79cfad6fbeafcfa9b8a664643024e897123927c7
30_os-prober: derive --class from os-prober generated label

Currently only Windows gets distinguished icons, everything else is displayed
using the same generic one. Add additional --class based on os-prober returned
label, which usually is expected to match primary distribution name.

Also use it for Windows as well - chainloader prober may actually return
different strings (Windows, MS-DOS, Windows9xME).
util/grub.d/30_os-prober.in