Add support for Windows 8.
authorColin Watson <cjwatson@debian.org>
Thu, 5 Apr 2012 08:24:32 +0000 (09:24 +0100)
committerColin Watson <cjwatson@debian.org>
Thu, 5 Apr 2012 08:24:32 +0000 (09:24 +0100)
debian/changelog
os-probes/mounted/x86/20microsoft

index f78c35d..d7192aa 100644 (file)
@@ -1,3 +1,10 @@
+os-prober (1.52) UNRELEASED; urgency=low
+
+  [ Stéphane Graber ]
+  * Add support for Windows 8.
+
+ -- Colin Watson <cjwatson@debian.org>  Thu, 05 Apr 2012 09:23:59 +0100
+
 os-prober (1.51) unstable; urgency=low
 
   [ Joey Hess ]
index 9bea8a1..644d63c 100755 (executable)
@@ -25,7 +25,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 -qs "W.i.n.d.o.w.s. .7" "$2/$boot/$bcd"; then
+                       if grep -qs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then
+                               long="Windows 8 (loader)"
+                       elif grep -qs "W.i.n.d.o.w.s. .7" "$2/$boot/$bcd"; then
                                long="Windows 7 (loader)"
                        elif grep -qs "W.i.n.d.o.w.s. .V.i.s.t.a" "$2/$boot/$bcd"; then
                                long="Windows Vista (loader)"