Mageia Bugzilla – Attachment 3841 Details for
Bug 9611
Mageia beta4 DVD do not accept 2° media
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
OEM patch #2
9611-b.patch (text/plain), 900 bytes, created by
Thierry Vignaud
on 2013-04-28 14:13:16 CEST
(
hide
)
Description:
OEM patch #2
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2013-04-28 14:13:16 CEST
Size:
900 bytes
patch
obsolete
>#!/usr/bin/perl >package install::any; > >log::l("PATCH: better check for basesystem"); > >undef *prep_net_suppl_media; >*prep_net_suppl_media = sub { > my ($o) = @_; > > require network::tools; > return if our $net_suppl_media_configured && network::tools::has_network_connection(); > $net_suppl_media_configured = 1; > > # needed so that one can install basesystem-minimal before adding suppl network media: > install::media::update_media($o->{packages}); > require urpm::media; > urpm::media::configure($o->{packages}); > > #- install basesystem-minimal now > $o->do_pkgs->ensure_is_installed('basesystem-minimal', undef, 1); > > # in case of no network install: > $o->{net} ||= {}; > require network::netconnect; > network::netconnect::real_main($o->{net}, $o, $o->{modules_conf}); > require install::interactive; > install::interactive::upNetwork($o); > sleep(3); >}; > >1;
#!/usr/bin/perl package install::any; log::l("PATCH: better check for basesystem"); undef *prep_net_suppl_media; *prep_net_suppl_media = sub { my ($o) = @_; require network::tools; return if our $net_suppl_media_configured && network::tools::has_network_connection(); $net_suppl_media_configured = 1; # needed so that one can install basesystem-minimal before adding suppl network media: install::media::update_media($o->{packages}); require urpm::media; urpm::media::configure($o->{packages}); #- install basesystem-minimal now $o->do_pkgs->ensure_is_installed('basesystem-minimal', undef, 1); # in case of no network install: $o->{net} ||= {}; require network::netconnect; network::netconnect::real_main($o->{net}, $o, $o->{modules_conf}); require install::interactive; install::interactive::upNetwork($o); sleep(3); }; 1;
View Attachment As Raw
Actions:
View
Attachments on
bug 9611
:
3835
|
3838
|
3839
|
3840
| 3841