summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-11-28 15:10:08 +0100
committerGitHub <noreply@github.com>2018-11-28 15:10:08 +0100
commit2e1eb5bf5ff232dd197e7891aee6efd42b6c27a0 (patch)
tree042a3a792c76d30483f69e55d8f4d3b58b435a6a
parent73e15405ee32bcc33b6ef1a1a525e2b22bc641fe (diff)
parentd13ec585ae677affd88b9d92c6ea135cc249b2fa (diff)
downloadmeta-updater-2e1eb5bf5ff232dd197e7891aee6efd42b6c27a0.tar.gz
Merge pull request #439 from agners/fix-ostree-lockfiles
image_types_ostree: use OSTree repo location for lockfiles
-rw-r--r--classes/image_types_ostree.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index 41b8d0d..ff807a4 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -129,7 +129,7 @@ IMAGE_CMD_ostree () {
129 129
130IMAGE_TYPEDEP_ostreecommit = "ostree" 130IMAGE_TYPEDEP_ostreecommit = "ostree"
131do_image_ostreecommit[depends] += "ostree-native:do_populate_sysroot" 131do_image_ostreecommit[depends] += "ostree-native:do_populate_sysroot"
132do_image_ostreecommit[lockfiles] += "${WORKDIR}/${OSTREE_REPO}-commit.lock" 132do_image_ostreecommit[lockfiles] += "${OSTREE_REPO}/ostree.lock"
133IMAGE_CMD_ostreecommit () { 133IMAGE_CMD_ostreecommit () {
134 if ! ostree --repo=${OSTREE_REPO} refs 2>&1 > /dev/null; then 134 if ! ostree --repo=${OSTREE_REPO} refs 2>&1 > /dev/null; then
135 ostree --repo=${OSTREE_REPO} init --mode=archive-z2 135 ostree --repo=${OSTREE_REPO} init --mode=archive-z2