Mageia Bugzilla – Attachment 13088 Details for
Bug 28539
Full network install fails on both MGA8 and Cauldron with custom local repository
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Enable to alter default downloaded
0001-Enable-to-alter-default-downloader-mga-28539.patch (text/plain), 1.90 KB, created by
Thierry Vignaud
on 2022-01-17 00:20:58 CET
(
hide
)
Description:
Enable to alter default downloaded
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2022-01-17 00:20:58 CET
Size:
1.90 KB
patch
obsolete
>From 739c1259b1eeff3d275d6f325603cd5e2a92d4c8 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Sun, 16 Jan 2022 23:14:53 +0100 >Subject: [PATCH] Enable to alter default downloader (mga#28539) > >--- > perl-install/install/install2.pm | 1 + > perl-install/install/pkgs.pm | 1 + > perl-install/install/share/list.xml | 2 +- > 3 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm >index 23adb2038..583651187 100644 >--- a/perl-install/install/install2.pm >+++ b/perl-install/install/install2.pm >@@ -645,6 +645,7 @@ sub parse_args { > 'deploops', > 'justdb', > 'tune-rpm' => sub { $o->{'tune-rpm'} = 'all' }, >+ 'downloader=s' => sub { $o->{options}{downloader} = $_[1] }, > > # GUI options: > 'vga16=s', >diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm >index 2fcd0eccc..73285d30a 100644 >--- a/perl-install/install/pkgs.pm >+++ b/perl-install/install/pkgs.pm >@@ -420,6 +420,7 @@ sub empty_packages { > urpm::set_tune_rpm($packages, $::o->{'tune-rpm'}) if $::o->{'tune-rpm'}; > $::force = 1; > $packages->{options}{ignoresize} = 1; >+ $packages->{options}{downloader} = $::o->{downloader}; > # prevent priority upgrade (redundant for now as $urpm->{root} implies disabling it: > $packages->{options}{'priority-upgrade'} = undef; > # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log? >diff --git a/perl-install/install/share/list.xml b/perl-install/install/share/list.xml >index 7e093783b..949ff2d09 100644 >--- a/perl-install/install/share/list.xml >+++ b/perl-install/install/share/list.xml >@@ -2,7 +2,7 @@ > > <from expand="binary"> > ash dash.static echo >- aria2c cp curl md5sum <!-- needed by urpmi --> >+ aria2c cp curl md5sum wget <!-- needed by urpmi --> > cpio gzip bzip2 xz > grub2-editenv > insmod modinfo rmmod modprobe lsmod >-- >2.34.1 >
From 739c1259b1eeff3d275d6f325603cd5e2a92d4c8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Sun, 16 Jan 2022 23:14:53 +0100 Subject: [PATCH] Enable to alter default downloader (mga#28539) --- perl-install/install/install2.pm | 1 + perl-install/install/pkgs.pm | 1 + perl-install/install/share/list.xml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 23adb2038..583651187 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -645,6 +645,7 @@ sub parse_args { 'deploops', 'justdb', 'tune-rpm' => sub { $o->{'tune-rpm'} = 'all' }, + 'downloader=s' => sub { $o->{options}{downloader} = $_[1] }, # GUI options: 'vga16=s', diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 2fcd0eccc..73285d30a 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -420,6 +420,7 @@ sub empty_packages { urpm::set_tune_rpm($packages, $::o->{'tune-rpm'}) if $::o->{'tune-rpm'}; $::force = 1; $packages->{options}{ignoresize} = 1; + $packages->{options}{downloader} = $::o->{downloader}; # prevent priority upgrade (redundant for now as $urpm->{root} implies disabling it: $packages->{options}{'priority-upgrade'} = undef; # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log? diff --git a/perl-install/install/share/list.xml b/perl-install/install/share/list.xml index 7e093783b..949ff2d09 100644 --- a/perl-install/install/share/list.xml +++ b/perl-install/install/share/list.xml @@ -2,7 +2,7 @@ <from expand="binary"> ash dash.static echo - aria2c cp curl md5sum <!-- needed by urpmi --> + aria2c cp curl md5sum wget <!-- needed by urpmi --> cpio gzip bzip2 xz grub2-editenv insmod modinfo rmmod modprobe lsmod -- 2.34.1
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28539
:
12425
|
12429
|
12430
|
13087
|
13088
|
13089
|
13091