We're now testing on a secondary architecture, and those don't use the same baseurl as primary ones. Thus, a need to differentiate. --- tests/install/run_install_test.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/tests/install/run_install_test.sh b/tests/install/run_install_test.sh index 782ade6..ed9f286 100755 --- a/tests/install/run_install_test.sh +++ b/tests/install/run_install_test.sh @@ -49,11 +49,22 @@ enabled=1 [anaconda-rawhide] name=Fedora - Rawhide - Developmental packages for the next Fedora release failovermethod=priority -baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/%5C$basearc... enabled=1 gpgcheck=0 EOF
+# Primary and secondary arches do not use the same baseurl, so we have to figure it +# out here. +if [[ "$(uname -m)" == "x86_64" ]]; then + cat <<EOF >> ${tmpdir}/yum.conf +baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/%5C$basearc... +EOF +else + cat <<EOF >> ${tmpdir}/yum.conf +baseurl=http://mirrors.kernel.org/fedora-secondary/development/rawhide/%5C$basearch/... +EOF +fi + dnf install -y -c ${tmpdir}/yum.conf --installroot=${tmpdir} --releasever=rawhide \ --disablerepo=* --enablerepo=anaconda --enablerepo=anaconda-rawhide \ anaconda
On Wed, Jul 15, 2015 at 01:21:44PM -0400, Chris Lumens wrote:
We're now testing on a secondary architecture, and those don't use the same baseurl as primary ones. Thus, a need to differentiate.
Ack.
tests/install/run_install_test.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/tests/install/run_install_test.sh b/tests/install/run_install_test.sh index 782ade6..ed9f286 100755 --- a/tests/install/run_install_test.sh +++ b/tests/install/run_install_test.sh @@ -49,11 +49,22 @@ enabled=1 [anaconda-rawhide] name=Fedora - Rawhide - Developmental packages for the next Fedora release failovermethod=priority -baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/%5C$basearc... enabled=1 gpgcheck=0 EOF
+# Primary and secondary arches do not use the same baseurl, so we have to figure it +# out here. +if [[ "$(uname -m)" == "x86_64" ]]; then
- cat <<EOF >> ${tmpdir}/yum.conf
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/%5C$basearc... +EOF +else
- cat <<EOF >> ${tmpdir}/yum.conf
+baseurl=http://mirrors.kernel.org/fedora-secondary/development/rawhide/%5C$basearch/... +EOF +fi
dnf install -y -c ${tmpdir}/yum.conf --installroot=${tmpdir} --releasever=rawhide \ --disablerepo=* --enablerepo=anaconda --enablerepo=anaconda-rawhide \ anaconda -- 2.4.3
anaconda-patches mailing list anaconda-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
anaconda-patches@lists.fedorahosted.org