Bugzilla – Attachment 256995 Details for
Bug 450229
online update is not run during installation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
A bit more reliable patch proposal
inst_ask_online_update.ycp.diff (text/plain), 810 bytes, created by
Lukas Ocilka
on 2008-12-01 15:41:17 UTC
(
hide
)
Description:
A bit more reliable patch proposal
Filename:
MIME Type:
Creator:
Lukas Ocilka
Created:
2008-12-01 15:41:17 UTC
Size:
810 bytes
patch
obsolete
>Index: inst_ask_online_update.ycp >=================================================================== >--- inst_ask_online_update.ycp (revision 53761) >+++ inst_ask_online_update.ycp (working copy) >@@ -25,8 +25,14 @@ > import "Label"; > import "Internet"; > import "Installation"; >+ import "NetworkService"; > >- if (!Internet::do_you) return `auto; >+ // BNC #450229 >+ // There used to be >if (!Internet::do_you)< >+ if (NetworkService::isNetworkRunning() != true) { >+ y2milestone ("No network running, skipping online update..."); >+ return `auto; >+ } > > map ui = UI::GetDisplayInfo(); > >@@ -117,6 +123,11 @@ > Internet::do_you = false; > ret = `next; > } >+ else >+ { >+ // do_you is checked later >+ Internet::do_you = true; >+ } > > return (symbol)ret; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 450229
:
256728
|
256991
|
256995
|
256998
|
257001
|
257759