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 <julio.montes@intel.com>
This commit is contained in:
Julio Montes 2021-02-09 13:18:44 -06:00
parent a115338ddd
commit d054841430

View File

@ -69,7 +69,7 @@ parts:
tar -xf ${tarfile} --strip-components=1 tar -xf ${tarfile} --strip-components=1
image: image:
after: [godeps] after: [godeps, qemu, kernel]
plugin: nil plugin: nil
build-packages: build-packages:
- docker.io - docker.io
@ -171,7 +171,7 @@ parts:
fi fi
kernel: kernel:
after: [godeps, image] after: [godeps]
plugin: nil plugin: nil
build-packages: build-packages:
- libelf-dev - libelf-dev
@ -208,7 +208,7 @@ parts:
qemu: qemu:
plugin: make plugin: make
after: [godeps, runtime] after: [godeps]
build-packages: build-packages:
- gcc - gcc
- python3 - python3