ALT Linux Bugzilla
– Attachment 15062 Details for
Bug 48448
после выбора загрузочного носителя иногда появляется окно с выбором носителя, с которого нужно загрузиться
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Увеличение ожидания диска с 7 до 60 секунд
hardwait.patch (text/plain), 1.40 KB, created by
Evgeny Sinelnikov
on 2023-11-16 19:06:21 MSK
(
hide
)
Description:
Увеличение ожидания диска с 7 до 60 секунд
Filename:
MIME Type:
Creator:
Evgeny Sinelnikov
Created:
2023-11-16 19:06:21 MSK
Size:
1.40 KB
patch
obsolete
>commit 28670b6edf31ca50b657cbce47577dbc67ddc5de >Author: Evgeny Sinelnikov <sin@altlinux.org> >Date: Thu Nov 16 19:49:39 2023 +0400 > > Set hardwait for scan devices to 60 seconds and cdrom timeout to 180 > >diff --git a/bootchain-localdev/data/lib/bootchain/localdev b/bootchain-localdev/data/lib/bootchain/localdev >index 59dc6b9..fe8d157 100755 >--- a/bootchain-localdev/data/lib/bootchain/localdev >+++ b/bootchain-localdev/data/lib/bootchain/localdev >@@ -8,7 +8,7 @@ check_parameter ALTBOOT_LOCALDEV > target= > devspec= > devices= >-hardwait=7 >+hardwait=60 > > b_a() > { >@@ -257,12 +257,12 @@ main_loop() > { > enter "main_loop" > >- local iter=0 nsec=0 >+ local iter=0 nsec=0 scan_started= > > start_scan > >+ debug "Idle before scan devices" > while :; do >- debug "Idle before scan devices" > sleep 1 > scan_devices > iter=$((1 + $iter)) >@@ -293,10 +293,16 @@ main_loop() > fi > > iter=0 >+ debug "device not ready, go to the next ring" >+ fi >+ >+ if [ -z "$scan_started" ]; then >+ scan_started=1 > [ -n "$NOASKUSER" ] || > start_scan >- debug "device not ready, go to the next ring" > fi >+ >+ debug "device not found yet at $(( $iter + $nsec )) second..." > done > > leave "main_loop" >@@ -323,7 +329,7 @@ if [ -z "$devspec" ] && [ -n "$prevdir" ] && [ ! -f "$altboot_auto" ]; then > fi > fi > >-timeout="${timeout:-20}" >+timeout="${timeout:-180}" > label="${label//\\040/ }" > IM_start_output choice form errmsg ponder >
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 48448
:
15036
| 15062