diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2021-06-21 21:51:55 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-05 15:28:32 -0400 |
commit | 1aaaf60d200c6bdc556626d586d8b57b8a86d832 (patch) | |
tree | c5b419f51ab5f95c06ff9788e7d037bba42906b9 | |
parent | f9abaa53ec82613ce0f578e9742092a987e8c6e6 (diff) | |
download | u-boot-1aaaf60d200c6bdc556626d586d8b57b8a86d832.zip u-boot-1aaaf60d200c6bdc556626d586d8b57b8a86d832.tar.gz u-boot-1aaaf60d200c6bdc556626d586d8b57b8a86d832.tar.bz2 |
Azure: Add fuse device for test.py tests
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>
-rw-r--r-- | .azure-pipelines.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 221e600..e8f3c9b 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' |