779b365
@@ -1,7 +1,7 @@
[fedora-28]
name=Fedora 28 $basearch
#baseurl=http://download.fedoraproject.org/pub/fedora/linux//development/rawhide/$basearch/os/
- mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=28&arch=$basearch
+ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-28&arch=$basearch
enabled=0
gpgcheck=0
metadata_expire=1d
I was trying to build Atomic workstation locally when I discovered what I believe to be a bug in f28 branch.
I executed rpm-ostree compose tree --repo=repo workstation-ostree-config/fedora-ostree-workstation.json but it failed with
rpm-ostree compose tree --repo=repo workstation-ostree-config/fedora-ostree-workstation.json
No previous commit for fedora/28/x86_64/workstation Enabled rpm-md repositories: fedora-28-updates fedora-28 Updating metadata for 'fedora-28-updates': [=============] 100% rpm-md repo 'fedora-28-updates'; generated: 2018-06-15 15:44:56 error: cannot update repo 'fedora-28': Cannot prepare internal mirrorlist: file "repomd.xml" was not found in metalink
On closer inspection I noticed that in fedora-28.repo had mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=28&arch=$basearch which did not lead to a valid mirrorlist but https://mirrors.fedoraproject.org/metalink?repo=fedora-28&arch=$basearch did. So I edited it and it worked.
Sending this PR to have it fixed.
LGTM
Pull-Request has been merged by dustymabe
I was trying to build Atomic workstation locally when I discovered what I believe to be a bug in f28 branch.
I executed
rpm-ostree compose tree --repo=repo workstation-ostree-config/fedora-ostree-workstation.json
but it failed withOn closer inspection I noticed that in fedora-28.repo had mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=28&arch=$basearch which did not lead to a valid mirrorlist but https://mirrors.fedoraproject.org/metalink?repo=fedora-28&arch=$basearch did. So I edited it and it worked.
Sending this PR to have it fixed.