Mageia Bugzilla – Attachment 2239 Details for
Bug 5772
Ethernet test fails when adding additional media
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
can you check this patch works as well?
patch-oem.pl (text/plain), 382 bytes, created by
Thierry Vignaud
on 2012-05-10 09:43:50 CEST
(
hide
)
Description:
can you check this patch works as well?
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2012-05-10 09:43:50 CEST
Size:
382 bytes
patch
obsolete
>use network::tools; > >package network::tools; > >undef *connected; >#During install avoid using gethostbyname() >*connected = sub { > if ($::isInstall) { > symlink "$::prefix/etc/resolv.conf", "/etc/resolv.conf" if ! -e "/etc/resolv.conf"; > return scalar grep { /1 received/ } `$::prefix/bin/ping -qc1 www.mageia.org`; > } > gethostbyname("www.mageia.org") ? 1 : 0; >}
use network::tools; package network::tools; undef *connected; #During install avoid using gethostbyname() *connected = sub { if ($::isInstall) { symlink "$::prefix/etc/resolv.conf", "/etc/resolv.conf" if ! -e "/etc/resolv.conf"; return scalar grep { /1 received/ } `$::prefix/bin/ping -qc1 www.mageia.org`; } gethostbyname("www.mageia.org") ? 1 : 0; }
View Attachment As Raw
Actions:
View
Attachments on
bug 5772
:
2196
|
2200
|
2230
|
2235
|
2238
| 2239 |
2303
|
2308
|
2309
|
2310