diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-08-29 15:10:26 +0000 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-11-23 20:57:44 +0100 |
commit | 22c8a374186b68db43c6a761d12e29a8a978cf22 (patch) | |
tree | 9d75a1e95abb36a558c7ed712b3a756563314864 /urpm/args.pm | |
parent | 6c21647504e586307882d27a58881aa33dae5bf9 (diff) | |
download | urpmi-22c8a374186b68db43c6a761d12e29a8a978cf22.tar urpmi-22c8a374186b68db43c6a761d12e29a8a978cf22.tar.gz urpmi-22c8a374186b68db43c6a761d12e29a8a978cf22.tar.bz2 urpmi-22c8a374186b68db43c6a761d12e29a8a978cf22.tar.xz urpmi-22c8a374186b68db43c6a761d12e29a8a978cf22.zip |
Add --ignorearch to urpmi.addmedia --distrib
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.pm | 1 |
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 }, }, ); |