From 12e5b8453fafb0f6f34f998227b241efbf1fb94a Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 23 Nov 2017 12:01:25 +0000 Subject: baserock_ostree: Reinstall BuildStream whenever source code is updated --- baserock_ostree/image-config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/baserock_ostree/image-config.yml b/baserock_ostree/image-config.yml index 21c7ba24..2a896ecd 100644 --- a/baserock_ostree/image-config.yml +++ b/baserock_ostree/image-config.yml @@ -42,12 +42,13 @@ - name: buildstream sources git: dest=/home/fedora/buildstream repo=https://gitlab.com/buildstream/buildstream version=bf8fc373d7711861129ab841a74ecf32b3d8b2dd become_user: fedora + register: buildstream_source - name: buildstream installed command: /usr/bin/pip3 install . args: chdir: /home/fedora/buildstream - creates: /usr/bin/bst-artifact-receive + when: buildstream_source.changed # We also install ostree-push/receive, which is used for pushing to the # releases/ repo. -- cgit v1.2.1