Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian....@packages.debian.org
Usertags: pu

Hi,

I'd like to fix EFI-related misdetection in os-prober, due to an
appropriate check (dos vs. msdos).

Changelog excerpt (no unrelated changes in the meanwhile):
| os-prober (1.76~deb9u1) stretch; urgency=medium
| 
|   * Rebuild for stretch.
| 
|  -- Cyril Brulebois <k...@debian.org>  Thu, 13 Jul 2017 13:12:22 +0200
| 
| os-prober (1.76) unstable; urgency=medium
| 
|   [ Cyril Brulebois ]
|   * os-probes/mounted/x86/05efi: Fix check on ID_PART_ENTRY_SCHEME, to
|     look for "dos" instead of "msdos" (Closes: #817023).
| 
|  -- Christian Perrier <bubu...@debian.org>  Wed, 28 Jun 2017 07:08:36 +0200

Thanks for considering.


KiBi.
diff -Nru os-prober-1.75/debian/changelog os-prober-1.76~deb9u1/debian/changelog
--- os-prober-1.75/debian/changelog	2017-05-01 09:55:33.000000000 +0200
+++ os-prober-1.76~deb9u1/debian/changelog	2017-07-13 13:13:03.000000000 +0200
@@ -1,3 +1,17 @@
+os-prober (1.76~deb9u1) stretch; urgency=medium
+
+  * Rebuild for stretch.
+
+ -- Cyril Brulebois <k...@debian.org>  Thu, 13 Jul 2017 13:12:22 +0200
+
+os-prober (1.76) unstable; urgency=medium
+
+  [ Cyril Brulebois ]
+  * os-probes/mounted/x86/05efi: Fix check on ID_PART_ENTRY_SCHEME, to
+    look for "dos" instead of "msdos" (Closes: #817023).
+
+ -- Christian Perrier <bubu...@debian.org>  Wed, 28 Jun 2017 07:08:36 +0200
+
 os-prober (1.75) unstable; urgency=medium
 
   * Remove code using device mapper (Closes: #860833, #853927, #853163).
diff -Nru os-prober-1.75/os-probes/mounted/x86/05efi os-prober-1.76~deb9u1/os-probes/mounted/x86/05efi
--- os-prober-1.75/os-probes/mounted/x86/05efi	2017-05-01 09:55:33.000000000 +0200
+++ os-prober-1.76~deb9u1/os-probes/mounted/x86/05efi	2017-06-24 19:38:43.000000000 +0200
@@ -39,9 +39,9 @@
 	debug "$partition partition type is $ID_PART_ENTRY_TYPE"
 
 	if [ -z "$ID_PART_ENTRY_TYPE" -o -z "$ID_PART_ENTRY_SCHEME" -o \
-		\( "$ID_PART_ENTRY_SCHEME" != gpt -a "$ID_PART_ENTRY_SCHEME" != msdos \) -o \
+		\( "$ID_PART_ENTRY_SCHEME" != gpt -a "$ID_PART_ENTRY_SCHEME" != dos \) -o \
 		\( "$ID_PART_ENTRY_SCHEME" = gpt -a "$ID_PART_ENTRY_TYPE" != c12a7328-f81f-11d2-ba4b-00a0c93ec93b \) -o \
-		\( "$ID_PART_ENTRY_SCHEME" = msdos -a "$ID_PART_ENTRY_TYPE" != 0xef \) ]; then
+		\( "$ID_PART_ENTRY_SCHEME" = dos -a "$ID_PART_ENTRY_TYPE" != 0xef \) ]; then
 		debug "$partition is not a ESP partition: exiting"
 		exit 1
 	fi

Reply via email to