aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2005-12-29 15:54:54 +0000
committerFlorent Villard <warly@mandriva.com>2005-12-29 15:54:54 +0000
commit9608e0bc577dac4a0bdf216880153d7a744a292e (patch)
tree3c02b9a7fb31b10d4d479176011c2943d917bfa6 /iurt2
parent66bf60b25af5e6e657c8066c190ef0bd8e54a9a5 (diff)
downloadiurt-9608e0bc577dac4a0bdf216880153d7a744a292e.tar
iurt-9608e0bc577dac4a0bdf216880153d7a744a292e.tar.gz
iurt-9608e0bc577dac4a0bdf216880153d7a744a292e.tar.bz2
iurt-9608e0bc577dac4a0bdf216880153d7a744a292e.tar.xz
iurt-9608e0bc577dac4a0bdf216880153d7a744a292e.zip
Create basesystem_media to install initial chroot with alternate media
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,