Hello community,
here is the log from the commit of package os-prober for openSUSE:Factory checked in at 2015-10-12 10:00:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/os-prober (Old)
and /work/SRC/openSUSE:Factory/.os-prober.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-prober"
Changes:
--------
--- /work/SRC/openSUSE:Factory/os-prober/os-prober.changes 2015-08-07 00:17:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.os-prober.new/os-prober.changes 2015-10-12 10:00:01.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Oct 1 07:24:12 UTC 2015 - mchang@suse.com
+
+- replace os-prober-grep-for-windows-bcd-file.patch by upstream's version
+ * modified os-prober-grep-for-windows-bcd-file.patch
+- include patch from upstream to fix os-prober is missing support for
+ Windows 10 (bsc#947487)
+ * added os-prober-properly-detect-Windows-10.patch
+
+-------------------------------------------------------------------
New:
----
os-prober-properly-detect-Windows-10.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ os-prober.spec ++++++
--- /var/tmp/diff_new_pack.YtN9rr/_old 2015-10-12 10:00:02.000000000 +0200
+++ /var/tmp/diff_new_pack.YtN9rr/_new 2015-10-12 10:00:02.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package os-prober
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -54,7 +54,7 @@
Patch14: os-prober-skip-part-on-multipath.patch
# PATCH-FIX-SLE: fix os-prober: dmraid is called without a device list for every partition (bnc#883453)
Patch15: os-prober-call-dmraid-once.patch
-# PATCH-FIX-OPENSUSE: fix os-prober misinterprets Windows 8 to be Vista (bsc#910654)
+# PATCH-FIX-UPSTREAM: fix os-prober misinterprets Windows 8 to be Vista (bsc#910654)
Patch16: os-prober-grep-for-windows-bcd-file.patch
# PATCH-FIX-SLE: fix os-prober fails to detect other SLES12 installation (bsc#892364)
Patch17: Improve-btrfs-handling-on-os-probing-for-grub2.patch
@@ -62,6 +62,8 @@
Patch18: os-prober-btrfs-absolute-subvol.patch
# PATCH-FIX-OPENSUSE: also skip legacy grub if /boot/grub2/grub.cfg is present
Patch19: os-prober-40grub-check-grub2.patch
+# PATCH-FIX-UPSTREAM: fix os-prober is missing support for Windows 10 detection (bsc#947487)
+Patch20: os-prober-properly-detect-Windows-10.patch
Requires: /bin/grep
Requires: /bin/sed
Requires: /sbin/modprobe
@@ -102,6 +104,7 @@
%patch17 -p1
%patch18 -p1
%patch19 -p1
+%patch20 -p1
find . -name \*.orig -delete
%build
++++++ os-prober-grep-for-windows-bcd-file.patch ++++++
--- /var/tmp/diff_new_pack.YtN9rr/_old 2015-10-12 10:00:02.000000000 +0200
+++ /var/tmp/diff_new_pack.YtN9rr/_new 2015-10-12 10:00:02.000000000 +0200
@@ -1,31 +1,64 @@
-Index: os-prober/os-probes/mounted/x86/20microsoft
-===================================================================
---- os-prober.orig/os-probes/mounted/x86/20microsoft
-+++ os-prober/os-probes/mounted/x86/20microsoft
+From 15dec5c28b77b6db1492e42e25946cd7ae7a7885 Mon Sep 17 00:00:00 2001
+From: Cyril Brulebois
From 1643858767dda87140201d7ff0e0f3857b8bbf25 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre
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/os-probes/mounted/x86/20microsoft
===================================================================
--- os-prober.orig/os-probes/mounted/x86/20microsoft 2015-10-01 17:04:58.708069823 +0800
+++ os-prober/os-probes/mounted/x86/20microsoft 2015-10-01 17:05:59.072069823 +0800
@@ -31,7 +31,9 @@
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)"
Index: os-prober/debian/changelog
===================================================================
--- os-prober.orig/debian/changelog 2015-10-01 17:04:58.708069823 +0800
+++ os-prober/debian/changelog 2015-10-01 17:04:58.752069823 +0800
@@ -1,3 +1,10 @@
+os-prober (1.67) UNRELEASED; urgency=medium
+
+ * os-probes/mounted/x86/20microsoft: properly detect Windows 10 installs.
+ Thanks to David Martin for the patch.
+
+ -- Mathieu Trudel-Lapierre