From b19d58417228be03c7a8adb786e427e4f300eafe Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 24 Nov 2010 00:25:19 +0000 Subject: extract repository variable --- modules/buildsystem/templates/upload.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/buildsystem') diff --git a/modules/buildsystem/templates/upload.conf b/modules/buildsystem/templates/upload.conf index 61cdd5e1..d30927be 100644 --- a/modules/buildsystem/templates/upload.conf +++ b/modules/buildsystem/templates/upload.conf @@ -11,6 +11,7 @@ my %nodes = ( i586 => [ qw(ecosse) ], x86_64 => [ qw(jonund) ], ); +my $repository = "http://repository/distrib/"; { bot => { @@ -24,7 +25,7 @@ my %nodes = ( user => 'iurt', # (spuk, 2007-08-16) disabled iurt_cache additional media, locks trying to mount -o bind # command => 'iurt --iurtlogdir __IURTLOGDIR__ --copy-srpm --group -v 6 --config local_spool /home/iurt/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- http://repository/distrib/ --additional-media -m __MEDIA__ -- file:///home/iurt_cache/ -p \"__PACKAGER__\" -r __TARGET__ __ARCH__', - command => 'iurt --iurtlogdir __IURTLOGDIR__ --copy_srpm --group -v 6 --config local_spool /home/iurt/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- http://repository/distrib/ -p \"__PACKAGER__\" -r __TARGET__ __ARCH__', + command => "iurt --iurtlogdir __IURTLOGDIR__ --copy_srpm --group -v 6 --config local_spool /home/iurt/iurt/__DIR__ --no_rsync --chrooted-urpmi -m __MEDIA__ -- $repository -p \"__PACKAGER__\" -r __TARGET__ __ARCH__", packages => '/home/iurt/iurt/', log => '/home/iurt/iurt/', }, -- cgit v1.2.1