summaryrefslogtreecommitdiffstats
path: root/patches/do_pkgs.patch
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-01 08:52:57 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-06 11:59:56 +0000
commite61963d811173bb572bb1ffe0d3ad1a8c265801d (patch)
treed1f7458e808b5a52f5c1b8f78567c9ff02bbc3fe /patches/do_pkgs.patch
parentc5dd608caa03d368e7d721cf291530b43410f73c (diff)
downloaddraklive-config-e61963d811173bb572bb1ffe0d3ad1a8c265801d.tar
draklive-config-e61963d811173bb572bb1ffe0d3ad1a8c265801d.tar.gz
draklive-config-e61963d811173bb572bb1ffe0d3ad1a8c265801d.tar.bz2
draklive-config-e61963d811173bb572bb1ffe0d3ad1a8c265801d.tar.xz
draklive-config-e61963d811173bb572bb1ffe0d3ad1a8c265801d.zip
Added patches to fix mga#19517 and mga#19520.
Diffstat (limited to 'patches/do_pkgs.patch')
-rw-r--r--patches/do_pkgs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/do_pkgs.patch b/patches/do_pkgs.patch
new file mode 100644
index 0000000..f507a97
--- /dev/null
+++ b/patches/do_pkgs.patch
@@ -0,0 +1,11 @@
+--- usr/lib/libDrakX/do_pkgs.pm.orig 2016-09-24 00:52:03.106222180 +0100
++++ usr/lib/libDrakX/do_pkgs.pm 2016-09-24 00:52:30.872813374 +0100
+@@ -333,7 +333,7 @@
+ 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') {