summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-03-17 15:50:07 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-03-17 15:50:07 +0000
commit113ed511664f83cb3bbed27e747d2c0897c948bf (patch)
tree70f3bcfd99934549b9b8b2fbe8031b6abd90eb4e /perl-install
parenta226815ef06f303db79fef717ca93ac044454246 (diff)
downloaddrakx-113ed511664f83cb3bbed27e747d2c0897c948bf.tar
drakx-113ed511664f83cb3bbed27e747d2c0897c948bf.tar.gz
drakx-113ed511664f83cb3bbed27e747d2c0897c948bf.tar.bz2
drakx-113ed511664f83cb3bbed27e747d2c0897c948bf.tar.xz
drakx-113ed511664f83cb3bbed27e747d2c0897c948bf.zip
MERGE: don't be so i586 centric
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 50dd3bef6..513c1714a 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -52,7 +52,7 @@ sub set_loop {
my $dev = find_free_loop();
if ($o_encrypt_key && $o_encryption) {
- eval { modules::load('cryptoloop', 'aes-i586') };
+ eval { modules::load('cryptoloop', arch() =~ /i.86/ ? 'aes-i586' : 'aes') };
my $cmd = "losetup -p 0 -e $o_encryption $dev $file";
log::l("calling $cmd");
open(my $F, "|$cmd");