summaryrefslogtreecommitdiffstats
path: root/patches/do_pkgs.patch
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-12 19:06:31 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-12 19:06:31 +0000
commitb6a40abe0a9f4127a1def0ac5b5667e963eebd80 (patch)
tree54f460623f385ae9163491649ddccc58131dd703 /patches/do_pkgs.patch
parent05625dbf3ab9345db60dd1a5c9ca76e4f545ac36 (diff)
downloaddraklive-config-b6a40abe0a9f4127a1def0ac5b5667e963eebd80.tar
draklive-config-b6a40abe0a9f4127a1def0ac5b5667e963eebd80.tar.gz
draklive-config-b6a40abe0a9f4127a1def0ac5b5667e963eebd80.tar.bz2
draklive-config-b6a40abe0a9f4127a1def0ac5b5667e963eebd80.tar.xz
draklive-config-b6a40abe0a9f4127a1def0ac5b5667e963eebd80.zip
Temporarily add patches for mga#17223, mga#19517, 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') {