[releng] make sure we add the bleed repo to the json file

Dennis Gilmore ausil at fedoraproject.org
Thu Nov 13 23:32:12 UTC 2014


commit f927ea8ee4a29441126e603750820654b737d4d7
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Thu Nov 13 17:32:12 2014 -0600

    make sure we add the bleed repo to the json file

 scripts/run-pungi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/scripts/run-pungi b/scripts/run-pungi
index c566bd3..bb2255d 100755
--- a/scripts/run-pungi
+++ b/scripts/run-pungi
@@ -41,6 +41,8 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-21-$basearch
 enabled=1
 baseurl=http://kojipkgs.fedoraproject.org/mash/bleed/$basearch/' > fedora-bleed.repo
  sed -i -e 's|mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-21&arch=$basearch|baseurl=http://kojipkgs.fedoraproject.org/mash/branched/$basearch/os/|g' fedora*repo
+ # make sure we add the bleed repo to the json file
+ sed -i -e 's|\["fedora-21"\]|\["fedora-21", "fedora-bleed"\]|g' *json
  mock -r fedora-branched-compose-x86_64 --init || exit 1
  mock -r fedora-branched-compose-x86_64 --install rpm-ostree || exit 1
  mock -r fedora-branched-compose-x86_64 --shell "rpm-ostree compose tree --repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json" || exit 1


More information about the rel-eng mailing list