Message ID | 20210621185156.9108-3-alpernebiyasak@gmail.com |
---|---|
State | Accepted |
Commit | 1aaaf60d200c6bdc556626d586d8b57b8a86d832 |
Delegated to: | Tom Rini |
Headers | show |
Series | Fix CIs skipping filesystem, EFI secure boot and EFI capsule tests | expand |
On Mon, Jun 21, 2021 at 09:51:55PM +0300, Alper Nebi Yasak wrote: > The EFI secure boot and capsule test setups need to prepare disk images > for their tests using virt-make-fs, which requires access to the host > fuse device. This is not exposed to the docker container by default and > has to be added explicitly. Add it. > > Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Applied to u-boot/master, thanks!
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 35ab7f30b276..976868dd2eb7 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -318,7 +318,8 @@ jobs: # as sandbox testing need create files like spi flash images, etc. # (TODO: clean up this in the future) chmod 777 . - docker run -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh + # Some tests using libguestfs-tools need the fuse device to run + docker run --device /dev/fuse:/dev/fuse -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh - job: build_the_world displayName: 'Build the World'
The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> --- (no changes since v2) Changes in v2: - Always pass in /dev/fuse to Azure's docker run invocation. .azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)