[releng] UGLY: no realy its very ugly but since atomic os x86_64 only right now just hardcode it to get movi

Dennis Gilmore ausil at fedoraproject.org
Sat Nov 8 01:37:25 UTC 2014


commit 6b8664ef01264bf7d455b3a3267f49a1a6f5de96
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Fri Nov 7 19:36:53 2014 -0600

    UGLY:  no realy its very ugly but since atomic os x86_64 only right now just hardcode it to get moving

 scripts/buildbranched |    2 +-
 scripts/buildrawhide  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/scripts/buildbranched b/scripts/buildbranched
index fef30c3..daca8e6 100755
--- a/scripts/buildbranched
+++ b/scripts/buildbranched
@@ -155,7 +155,7 @@ $MOCK -r $MOCKCONFIG --uniqueext=$DATE --init
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --install rpm-ostree git
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "if [ ! -d $ATOMICDEST ]; then ostree init --repo=$ATOMICDEST ;fi"
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "git clone https://git.fedorahosted.org/git/fedora-atomic.git $ATOMIC&& pushd $ATOMIC&& git checkout f$VERSION"
-$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "cd $ATOMIC && sed -i -e 's|mirrorlist.*$|baseurl=http://kojipkgs.fedoraproject.org/mash/branched/$basearch/os/|g' fedora*repo"
+$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "cd $ATOMIC && sed -i -e 's|mirrorlist.*$|baseurl=http://kojipkgs.fedoraproject.org/mash/branched/x86_64/os/|g' fedora*repo"
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "rpm-ostree compose tree --repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json"
 log "finished atomic tree creation"
 }
diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index c4b2bb5..117ae2a 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -146,7 +146,7 @@ $MOCK -r $MOCKCONFIG --uniqueext=$DATE --init
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --install rpm-ostree git
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "if [ ! -d $ATOMICDEST ]; then ostree init --repo=$ATOMICDEST ;fi"
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "git clone https://git.fedorahosted.org/git/fedora-atomic.git $ATOMIC"
-$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "cd $ATOMIC && sed -i -e 's|mirrorlist=.*$|baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide/$basearch/os/|g' fedora*repo"
+$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "cd $ATOMIC && sed -i -e 's|mirrorlist=.*$|baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide/x86_64/os/|g' fedora*repo"
 $MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "rpm-ostree compose tree --repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json"
 log "finished atomic tree creation"
 }


More information about the rel-eng mailing list