Commit cb4370f2 authored by Cyril Brulebois's avatar Cyril Brulebois

Add support for Windows 10 (Closes: #801278).

It was previously reported as Windows Recovery Environment.

Thanks, Philipp Wolfer!
parent 6d93bc44
......@@ -2,6 +2,8 @@ os-prober (1.68) UNRELEASED; urgency=medium
* Adjust extended dos partition support for blkid/util-linux 2.24+,
thanks to Andreas Henriksson (Closes: #735169).
* Add support for Windows 10 (otherwise reported as Windows Recovery
Environment). Thanks, Philipp Wolfer! (Closes: #801278).
-- Cyril Brulebois <kibi@debian.org> Thu, 08 Oct 2015 02:30:41 +0200
......
......@@ -31,7 +31,9 @@ if item_in_dir -q bootmgr "$2"; then
for boot in $(item_in_dir boot "$2"); do
bcd=$(item_in_dir bcd "$2/$boot")
if [ -n "$bcd" ]; then
if grep -aqs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then
if grep -aqs "W.i.n.d.o.w.s. .1.0" "$2/$boot/$bcd"; then
long="Windows 10 (loader)"
elif grep -aqs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then
long="Windows 8 (loader)"
elif grep -aqs "W.i.n.d.o.w.s. .7" "$2/$boot/$bcd"; then
long="Windows 7 (loader)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment