diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-10-31 19:10:23 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2018-11-02 10:49:42 +0100 |
commit | 7dfa63e7ee47e23f41e1f0a5dce30cf642b95457 (patch) | |
tree | 91f7867443eadc137f414f025af1db618be858a4 | |
parent | f2cf964b132f0ab462264daaf017a9a533dbd667 (diff) | |
download | meta-updater-7dfa63e7ee47e23f41e1f0a5dce30cf642b95457.tar.gz |
classes: image_types_ostree: use locking during OSTree repo update
The OSTree repository might be shared accross several individual
OSTree builders. Use bitbakes lockfiles mechanism to lock the
OSTree for exclusive use.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r-- | classes/image_types_ostree.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index d74b7ae..d2feb50 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -7,6 +7,7 @@ do_image_ostree[depends] += "ostree-native:do_populate_sysroot \ | |||
7 | virtual/kernel:do_deploy \ | 7 | virtual/kernel:do_deploy \ |
8 | ${INITRAMFS_IMAGE}:do_image_complete \ | 8 | ${INITRAMFS_IMAGE}:do_image_complete \ |
9 | " | 9 | " |
10 | do_image_ostree[lockfiles] += "${OSTREE_REPO}/ostree.lock" | ||
10 | 11 | ||
11 | export OSTREE_REPO | 12 | export OSTREE_REPO |
12 | export OSTREE_BRANCHNAME | 13 | export OSTREE_BRANCHNAME |