Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
os-prober.1605
os-prober-properly-detect-Windows-10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File os-prober-properly-detect-Windows-10.patch of Package os-prober.1605
From 1643858767dda87140201d7ff0e0f3857b8bbf25 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> Date: Mon, 21 Sep 2015 10:36:00 -0400 Subject: [PATCH] os-probes/mounted/x86/20microsoft: properly detect Windows 10 installs. Thanks to David Martin for the patch. --- debian/changelog | 7 +++++++ os-probes/mounted/x86/20microsoft | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) Index: os-prober-1.61/os-probes/mounted/x86/20microsoft =================================================================== --- os-prober-1.61.orig/os-probes/mounted/x86/20microsoft +++ os-prober-1.61/os-probes/mounted/x86/20microsoft @@ -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)"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor