ALT Linux Bugzilla
– Attachment 6398 Details for
Bug 31347
Не правильно определяется загрузочная запись Windows 10
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Предлагаемый патч
os-prober-1.61-Windows_10.patch (text/plain), 1.06 KB, created by
ruslandh
on 2015-10-10 08:22:43 MSK
(
hide
)
Description:
Предлагаемый патч
Filename:
MIME Type:
Creator:
ruslandh
Created:
2015-10-10 08:22:43 MSK
Size:
1.06 KB
patch
obsolete
>diff -uNrBbwp os-prober-1.61/os-probes/mounted/x86/20microsoft os-prober-1.61-new/os-probes/mounted/x86/20microsoft >--- os-prober-1.61/os-probes/mounted/x86/20microsoft 2013-11-26 19:42:42.000000000 +0400 >+++ os-prober-1.61-new/os-probes/mounted/x86/20microsoft 2015-10-10 08:17:13.604097369 +0300 >@@ -30,8 +30,9 @@ if item_in_dir -q bootmgr "$2"; then > # boot Boot BOOT > 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. .8" "$2/$boot/$bcd"; then >+ if grep -qs "W.i.n.d.o.w.s. .1.0" "$2/$boot/$bcd"; then >+ long="Windows 10 (loader)" >+ elif 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)" >@@ -46,7 +47,7 @@ if item_in_dir -q bootmgr "$2"; then > elif grep -qs "W.i.n.d.o.w.s. .S.e.t.u.p" "$2/$boot/$bcd"; then > long="Windows Recovery Environment (loader)" > else >- long="Windows Vista (loader)" >+ long="Windows (loader)" > fi > short=Windows >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31347
:
6398
|
6399
|
6400