commit 328f68b49e21b85ae23f3db782519d36f8543d67
Author: Colin Walters <walters(a)verbum.org>
Date: Wed Nov 12 17:59:18 2014 +0100
build-functions: Init OSTree repos with --mode=archive-z2
This is the mode intended for HTTP export.
scripts/build-functions.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/build-functions.sh b/scripts/build-functions.sh
index 00d2bee..04c1a69 100644
--- a/scripts/build-functions.sh
+++ b/scripts/build-functions.sh
@@ -141,7 +141,7 @@ log "starting atomic tree creation"
MOCKCONFIG="fedora-${DIST}-compose-x86_64"
$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 "if [ ! -d $ATOMICDEST ]; then ostree
init --repo=$ATOMICDEST --mode=archive-z2;fi"
$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "git clone
https://git.fedorahosted.org/git/fedora-atomic.git $ATOMIC && pushd $ATOMIC
&& git log -n 1 --pretty='%h: %ci - %s' && git checkout
${GIT_BRANCH}"
$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "cd $ATOMIC && sed -i -e
's|mirrorlist=.*$|baseurl=http://kojipkgs.fedoraproject.org/mash/${DIST}/x86_64/os/|g'
fedora*repo"
$MOCK -r $MOCKCONFIG --uniqueext=$DATE --shell "rpm-ostree compose tree
--repo=$ATOMICDEST $ATOMIC/fedora-atomic-docker-host.json >$logdir/atomic"