From f1cea9a022146163bce763168544e762f6bb3eb5 Mon Sep 17 00:00:00 2001 From: Julio Montes Date: Tue, 9 Feb 2021 13:18:44 -0600 Subject: [PATCH] ci: snap: build targets that not need sudo first `sudo` is required to build the image, once the image has been built the permission of some directories may change, let's build first the targerts that not need `sudo` Signed-off-by: Julio Montes --- snap/snapcraft.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 4ad8ef58a3..0f57489548 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -69,7 +69,7 @@ parts: tar -xf ${tarfile} --strip-components=1 image: - after: [godeps] + after: [godeps, qemu, kernel] plugin: nil build-packages: - docker.io @@ -171,7 +171,7 @@ parts: fi kernel: - after: [godeps, image] + after: [godeps] plugin: nil build-packages: - libelf-dev @@ -208,7 +208,7 @@ parts: qemu: plugin: make - after: [godeps, runtime] + after: [godeps] build-packages: - gcc - python3