aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2010-11-26 00:15:08 +0000
committerOlivier Blin <blino@mageia.org>2010-11-26 00:15:08 +0000
commit4fcb2c6059c9281ab67d75ad1e4d0d3ec5213585 (patch)
tree04e054151deb36cb6df1f765df4868cd54af1906 /iurt2
parent1bcebd1198e8ed6e9df818283fb4d2e52d6ea8dd (diff)
downloadiurt-4fcb2c6059c9281ab67d75ad1e4d0d3ec5213585.tar
iurt-4fcb2c6059c9281ab67d75ad1e4d0d3ec5213585.tar.gz
iurt-4fcb2c6059c9281ab67d75ad1e4d0d3ec5213585.tar.bz2
iurt-4fcb2c6059c9281ab67d75ad1e4d0d3ec5213585.tar.xz
iurt-4fcb2c6059c9281ab67d75ad1e4d0d3ec5213585.zip
include arch in chroot dir name
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt24
1 files changed, 2 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index a8fbbd7..2a64243 100755
--- a/iurt2
+++ b/iurt2
@@ -707,7 +707,7 @@ my $union_id = 1;
$run{unionfs_tmp} = $run{unionfs};
my ($chroot_name, $chroot_tmp, $chroot, $chroot_tar);
-$chroot_name = "chroot_$run{distro_tag}$debug_tag";
+$chroot_name = "chroot_$run{distro_tag}$debug_tag.$run{my_arch}";
if (!$run{use_old_chroot}) {
$chroot_tmp = "$config->{local_home}/chroot_tmp";
@@ -731,7 +731,7 @@ if (!$run{use_old_chroot}) {
$chroot = $run{use_old_chroot};
}
$run{chroot_path} = $chroot;
-$chroot_tar = "$config->{local_home}/$chroot_name.$run{my_arch}.tar.gz";
+$chroot_tar = "$config->{local_home}/$chroot_name.tar.gz";
$run{chroot_tar} = $chroot_tar;
# 20061222 warly
# even in use_old_chroot mode we create the chroot if it does not exist (useful