commit 0094d9015ab9b803462ed540679066d50830aed6 Author: Dennis Gilmore dennis@ausil.us Date: Fri Nov 7 19:43:11 2014 -0600
log the output of rpm-ostree to an atomic file
scripts/buildbranched | 2 +- scripts/buildrawhide | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- diff --git a/scripts/buildbranched b/scripts/buildbranched index daca8e6..9f001cc 100755 --- a/scripts/buildbranched +++ b/scripts/buildbranched @@ -156,7 +156,7 @@ $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/x86_64/os/%7Cg' fedora*repo" -$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "rpm-ostree compose tree --repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json" +$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "rpm-ostree compose tree --repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json >$logdir/atomic" log "finished atomic tree creation" }
diff --git a/scripts/buildrawhide b/scripts/buildrawhide index 117ae2a..e1e85c1 100755 --- a/scripts/buildrawhide +++ b/scripts/buildrawhide @@ -147,7 +147,7 @@ $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/x86_64/os/%7Cg' fedora*repo" -$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "rpm-ostree compose tree --repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json" +$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "rpm-ostree compose tree --repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json >$logdir/atomic" log "finished atomic tree creation" }