aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt25
1 files changed, 3 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index 2cc6979..673f1c1 100755
--- a/iurt2
+++ b/iurt2
@@ -64,6 +64,7 @@ $config->{packager} ||= "Iurt";
$config->{install_chroot_binary} ||= 'install-chroot-tar.sh';
$config->{distribution} ||= 'Mandriva Linux';
$config->{vendor} ||= 'Mandriva';
+$config->{basesystem_media} ||= "$config->{repository}/$distro_version/$my_arch/media/main/";
$config->{upload} .= $distro_version;
$config->{upload} =~ s/community//g;
@@ -209,8 +210,8 @@ print "iurt: checking basesystem tar\n";
my $debug_tag = '_debug' if $debug;
my $chroot = "$config->{local_home}/chroot$debug_tag";
my $chroot_tar = "$chroot-$distro_tag.$my_arch.tar.gz";
-perform_command("sudo $config->{install_chroot_binary} cooker $config->{repository}/$distro_version/$my_arch/media/main/ $chroot_tar $chroot 501 basesystem rpm-build",
- mail => 'maintainers@mandriva.com',
+perform_command("sudo $config->{install_chroot_binary} cooker $config->{basesystem_media} $chroot_tar $chroot 501 basesystem rpm-build",
+ mail => $config->{admin},
error => "[REBUILD] Creating the inital chroot for $distro_tag on $my_arch failed",
hash => 'chroot_inititialization',
debug_mail => $debug,