Mageia Bugzilla – Attachment 8483 Details for
Bug 19517
Enable Live system to install additional packages from local repository
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposed fix.
0001-Enable-Live-system-to-install-additional-packages-fr.patch (text/plain), 790 bytes, created by
Martin Whitaker
on 2016-10-03 22:31:10 CEST
(
hide
)
Description:
Proposed fix.
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2016-10-03 22:31:10 CEST
Size:
790 bytes
patch
obsolete
>From 2164e41f4c6d4a8acd3261d24e62fdf721631cbc Mon Sep 17 00:00:00 2001 >From: Martin Whitaker <mageia@martin-whitaker.me.uk> >Date: Mon, 3 Oct 2016 21:14:12 +0100 >Subject: [PATCH] Enable Live system to install additional packages from local > repository. > > >diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm >index 0433929..dae13ab 100644 >--- a/perl-install/do_pkgs.pm >+++ b/perl-install/do_pkgs.pm >@@ -333,7 +333,7 @@ sub install { > return 1; > } > >- my @wrapper = is_mgalive() ? qw(chroot /mnt/install) : (); >+ my @wrapper = is_mgalive() && -e '/mnt/install' ? qw(chroot /mnt/install) : (); > my @options = ('--allow-medium-change', '--auto', '--no-verify-rpm', '--expect-install', @l); > my $ret; > if (check_for_xserver() && -x '/usr/bin/gurpmi') { >-- >2.7.4
From 2164e41f4c6d4a8acd3261d24e62fdf721631cbc Mon Sep 17 00:00:00 2001 From: Martin Whitaker <mageia@martin-whitaker.me.uk> Date: Mon, 3 Oct 2016 21:14:12 +0100 Subject: [PATCH] Enable Live system to install additional packages from local repository. diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm index 0433929..dae13ab 100644 --- a/perl-install/do_pkgs.pm +++ b/perl-install/do_pkgs.pm @@ -333,7 +333,7 @@ sub install { return 1; } - my @wrapper = is_mgalive() ? qw(chroot /mnt/install) : (); + my @wrapper = is_mgalive() && -e '/mnt/install' ? qw(chroot /mnt/install) : (); my @options = ('--allow-medium-change', '--auto', '--no-verify-rpm', '--expect-install', @l); my $ret; if (check_for_xserver() && -x '/usr/bin/gurpmi') { -- 2.7.4
View Attachment As Raw
Actions:
View
Attachments on
bug 19517
: 8483