Mageia Bugzilla – Attachment 8032 Details for
Bug 18739
drak-install fails on install from desktop (grub2-install failed: grub2-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
enable to disable gurpmi usage
0001-enable-to-disable-gurpmi-usage.patch (text/plain), 1.00 KB, created by
Thierry Vignaud
on 2016-06-20 20:26:36 CEST
(
hide
)
Description:
enable to disable gurpmi usage
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-06-20 20:26:36 CEST
Size:
1.00 KB
patch
obsolete
>From 576eab489dab57c8463e7d5928d239e28b9266d6 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Mon, 20 Jun 2016 20:23:40 +0200 >Subject: [PATCH] enable to disable gurpmi usage > >for draklive-install due to issues with polkit >--- > perl-install/do_pkgs.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm >index 0433929..7cdb26c 100644 >--- a/perl-install/do_pkgs.pm >+++ b/perl-install/do_pkgs.pm >@@ -336,7 +336,7 @@ sub install { > my @wrapper = is_mgalive() ? 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') { >+ if (check_for_xserver() && -x '/usr/bin/gurpmi' && !$ENV{DISABLE_GURPMI}) { > $ret = system(@wrapper, 'gurpmi', @options) == 0; > } else { > my $_wait = $do->in && $do->in->wait_message(N("Please wait"), N("Installing packages...")); >-- >2.9.0 >
From 576eab489dab57c8463e7d5928d239e28b9266d6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Mon, 20 Jun 2016 20:23:40 +0200 Subject: [PATCH] enable to disable gurpmi usage for draklive-install due to issues with polkit --- perl-install/do_pkgs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm index 0433929..7cdb26c 100644 --- a/perl-install/do_pkgs.pm +++ b/perl-install/do_pkgs.pm @@ -336,7 +336,7 @@ sub install { my @wrapper = is_mgalive() ? 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') { + if (check_for_xserver() && -x '/usr/bin/gurpmi' && !$ENV{DISABLE_GURPMI}) { $ret = system(@wrapper, 'gurpmi', @options) == 0; } else { my $_wait = $do->in && $do->in->wait_message(N("Please wait"), N("Installing packages...")); -- 2.9.0
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18739
:
8029
| 8032 |
8033