gnomeos-run: Only clone runtime and devel refs
This is a lot faster.
This commit is contained in:
parent
dde4da9513
commit
9d645495ba
|
|
@ -75,7 +75,7 @@ if ! test -d ostree; then
|
||||||
ostree --repo=ostree/repo init
|
ostree --repo=ostree/repo init
|
||||||
fi
|
fi
|
||||||
cd ostree
|
cd ostree
|
||||||
ostree --repo=${OSTREE_REPO} local-clone repo
|
ostree --repo=${OSTREE_REPO} local-clone repo ${BRANCH_PREFIX}runtime ${BRANCH_PREFIX}devel
|
||||||
for branch in runtime devel; do
|
for branch in runtime devel; do
|
||||||
rev=$(ostree --repo=repo rev-parse ${BRANCH_PREFIX}${branch});
|
rev=$(ostree --repo=repo rev-parse ${BRANCH_PREFIX}${branch});
|
||||||
if ! test -d ${BRANCH_PREFIX}${branch}-${rev}; then
|
if ! test -d ${BRANCH_PREFIX}${branch}-${rev}; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue