builder: Fix Fedora ppc64/ppc64le build scripts to use correct version.

This commit is contained in:
Richard W.M. Jones
2015-12-19 09:57:36 +00:00
parent d7753a8eb9
commit eed0e7a2e0
2 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ if [ $# -ne 1 ]; then
fi
version=$1
tree=https://download.fedoraproject.org/pub/fedora-secondary/releases/21/Server/ppc64/os/
tree=https://download.fedoraproject.org/pub/fedora-secondary/releases/$version/Server/ppc64/os/
output=fedora-$version-ppc64
tmpname=tmp-$(tr -cd 'a-f0-9' < /dev/urandom | head -c 8)
@@ -79,7 +79,7 @@ virt-install \
--name=$tmpname \
--ram=4096 \
--vcpus=1 \
--os-type=linux --os-variant=fedora21 \
--os-type=linux --os-variant=fedora22 \
--arch ppc64 --machine pseries \
--initrd-inject=$ks \
--extra-args="ks=file:/`basename $ks` console=tty0 console=hvc0 proxy=$http_proxy" \

View File

@@ -29,7 +29,7 @@ if [ $# -ne 1 ]; then
fi
version=$1
tree=https://download.fedoraproject.org/pub/fedora-secondary/releases/21/Server/ppc64le/os/
tree=https://download.fedoraproject.org/pub/fedora-secondary/releases/$version/Server/ppc64le/os/
output=fedora-$version-ppc64le
tmpname=tmp-$(tr -cd 'a-f0-9' < /dev/urandom | head -c 8)
@@ -79,7 +79,7 @@ virt-install \
--name=$tmpname \
--ram=4096 \
--vcpus=1 \
--os-type=linux --os-variant=fedora21 \
--os-type=linux --os-variant=fedora22 \
--arch ppc64le --machine pseries \
--initrd-inject=$ks \
--extra-args="ks=file:/`basename $ks` console=tty0 console=hvc0 proxy=$http_proxy" \