summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-08-29 15:10:26 +0000
committerPascal Terjan <pterjan@mageia.org>2020-09-09 15:52:20 +0000
commitfb6b4799fe4de44d9877422f68f4efbf602d3494 (patch)
tree0460adeda1a8735df74011c0d03c5659cd564425 /urpm/args.pm
parent82babb54cd00fbf27fbe1405529a723ce812d50b (diff)
downloadurpmi-fb6b4799fe4de44d9877422f68f4efbf602d3494.tar
urpmi-fb6b4799fe4de44d9877422f68f4efbf602d3494.tar.gz
urpmi-fb6b4799fe4de44d9877422f68f4efbf602d3494.tar.bz2
urpmi-fb6b4799fe4de44d9877422f68f4efbf602d3494.tar.xz
urpmi-fb6b4799fe4de44d9877422f68f4efbf602d3494.zip
Add --ignorearch to urpmi.addmedia --distribuser/pterjan/ignorearch
urpmi.addmedia --distrib --ignorearch allows to use --distrib to create a chroot for a different architecture. This is useful to build for armv5 or armv7 on the other one, and to create chroots with qemu used to execute foreign binaries.
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 26c07f0b..2dee2e6a 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -367,6 +367,7 @@ my %options_spec = (
nopubkey => \$options{nopubkey},
raw => \$options{raw},
'verify-rpm!' => sub { ${options}{'verify-rpm'} = $_[1] },
+ 'ignorearch' => sub { $options{ignorearch} = 1 },
},
);