Bug#791383: Invalid detection of Windows Vista+ loader

2015-07-09 Thread Cyril Brulebois
Control: tag -1 patch pending
Control: severity -1 important
Usertags: jessie-pu

Gianluigi Tiesi sher...@netfarm.it (2015-07-04):
 Package: os-prober
 Severity: normal
 
 Hi, sometimes os-prober is unable to detect the exact version
 of windows loader is in use and mark the entry as vista (the fallback)
 this is due the fact grep is called without -a, so in os-probes/20microsof
 
 bootmgr detections should be done without grep -qas instead of grep -qs
 
 Sometimes it works because grep treats the file as ascii, sometimes not

Hi Gianluigi,

thanks for the report and the suggestion, I've just pushed that accordingly:
  https://anonscm.debian.org/cgit/d-i/os-prober.git/commit/?id=15dec5c

There are two files dealing with Microsoft products:
  os-probes/mounted/x86/20microsoft
  os-probes/mounted/x86/efi/20microsoft

The former relies on grep for the Vista section (modified by the patch),
but not for the other ones. The latter does things differently.

So hopefully that should be all.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#791383: Invalid detection of Windows Vista+ loader

2015-07-03 Thread Gianluigi Tiesi
Package: os-prober
Severity: normal

Hi, sometimes os-prober is unable to detect the exact version
of windows loader is in use and mark the entry as vista (the fallback)
this is due the fact grep is called without -a, so in os-probes/20microsof

bootmgr detections should be done without grep -qas instead of grep -qs

Sometimes it works because grep treats the file as ascii, sometimes not

Regards


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages os-prober depends on:
ii  libc6  2.19-18

os-prober recommends no packages.

os-prober suggests no packages.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org