diff --git a/create_test_dvds.sh b/create_test_dvds.sh index 158c372b..f29e11d0 100755 --- a/create_test_dvds.sh +++ b/create_test_dvds.sh @@ -96,13 +96,15 @@ function start_creating() { regenerate_pl openSUSE:$target:Rings:1-MinimalX $target 1 $target-bootstrap $target-minimalx $arch - #we don't have all architectures yet. - if [ "$arch" = "x86_64" ];then - sync_prj openSUSE:$target:Rings:2-TestDVD/standard $target-testdvd $arch - regenerate_pl openSUSE:$target:Rings:2-TestDVD $target 2 $target-bootstrap $target-minimalx $target-testdvd $arch - + #we don't have all architectures yet. projects=$(osc api /search/project/id?match="starts-with(@name,\"openSUSE:$target:Staging\")" | grep name | cut -d\' -f2) - for prj in openSUSE:$target:Rings:2-TestDVD $projects; do + if [ "$arch" = "x86_64" ];then + sync_prj openSUSE:$target:Rings:2-TestDVD/standard $target-testdvd $arch + regenerate_pl openSUSE:$target:Rings:2-TestDVD $target 2 $target-bootstrap $target-minimalx $target-testdvd $arch + $projects+=" openSUSE:$target:Rings:2-TestDVD" + fi + + for prj in $projects; do l=$(echo $prj | cut -d: -f4) use_bc="staging_$target:$l-bc" if [ "$l" = "A" -o "$l" = "B" ]; then @@ -127,7 +129,6 @@ function start_creating() { regenerate_pl "openSUSE:$target:Staging:$l:DVD" $target 2 $use_bc staging_$target:$l "staging_$target:$l-dvd" $arch fi done - fi done }