Mageia Bugzilla – Attachment 3625 Details for
Bug 8368
Even if nonfree media are left selected and used in install, not enabled in urpmi.cfg
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Enable nonfree media if nonfree media has been used during install
steps_interactive.patch (text/plain), 673 bytes, created by
Derek Jennings
on 2013-03-16 23:02:29 CET
(
hide
)
Description:
Enable nonfree media if nonfree media has been used during install
Filename:
MIME Type:
Creator:
Derek Jennings
Created:
2013-03-16 23:02:29 CET
Size:
673 bytes
patch
obsolete
>--- steps_interactive.pm 2013-03-16 20:41:51.000000000 +0000 >+++ steps_interactive.pm 2013-03-16 20:40:56.000000000 +0000 >@@ -781,6 +781,8 @@ > > install::pkgs::clean_rpmdb_shared_regions(); > if (any::urpmi_add_all_media($o, $o->{previous_release})) { >+ any::urpmi_enable_media("Nonfree") if `urpmq --list-media active` =~ /Nonfree/; >+ any::urpmi_enable_media("Tainted") if `urpmq --list-media active` =~ /Tainted/; > my $binary = find { whereis_binary($_, $::prefix) } if_(check_for_xserver(), 'gurpmi2'), 'urpmi' or return; > my $log_file = '/root/drakx/updates.log'; > run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, '--auto-select'); >
--- steps_interactive.pm 2013-03-16 20:41:51.000000000 +0000 +++ steps_interactive.pm 2013-03-16 20:40:56.000000000 +0000 @@ -781,6 +781,8 @@ install::pkgs::clean_rpmdb_shared_regions(); if (any::urpmi_add_all_media($o, $o->{previous_release})) { + any::urpmi_enable_media("Nonfree") if `urpmq --list-media active` =~ /Nonfree/; + any::urpmi_enable_media("Tainted") if `urpmq --list-media active` =~ /Tainted/; my $binary = find { whereis_binary($_, $::prefix) } if_(check_for_xserver(), 'gurpmi2'), 'urpmi' or return; my $log_file = '/root/drakx/updates.log'; run_program::rooted($::prefix, $binary, '>>', $log_file, '2>>', $log_file, '--auto-select');
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8368
:
3232
| 3625