diff options
author | Florent Villard <warly@mandriva.com> | 2005-12-29 15:54:54 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2005-12-29 15:54:54 +0000 |
commit | 9608e0bc577dac4a0bdf216880153d7a744a292e (patch) | |
tree | 3c02b9a7fb31b10d4d479176011c2943d917bfa6 /iurt2 | |
parent | 66bf60b25af5e6e657c8066c190ef0bd8e54a9a5 (diff) | |
download | iurt-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-x | iurt2 | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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, |