Merge pull request #311 from k0da/test_dvd_staging

create test dvd for stagings on power
This commit is contained in:
Max Lin 2015-03-19 17:33:19 +08:00
commit 84d2943639

View File

@ -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
}