jbech-linaro / docker_optee

Simple Dockerfile that makes it easy to try OP-TEE using Docker
20 stars 21 forks source link

Dockerfile: add libcap-ng-dev for qemu virtfs support #9

Closed mzoubert-forvia closed 2 years ago

mzoubert-forvia commented 2 years ago

When QEMU shared folders feature is enabled (through QEMU_VIRTFS_ENABLE option) then QEMU is configured with the parameter --enable-virtfs which requires libcap-ng-dev package.

Without this package, it produces this error:

../meson.build:1467:0: ERROR: Feature virtfs cannot be enabled: virtio-9p (virtfs) on Linux requires libcap-ng-devel and libattr-devel

Steps to reproduce (inside docker image):

cd build
make QEMU_VIRTFS_AUTOMOUNT=y qemu
jbech-linaro commented 2 years ago

Thank you Mathieu! Merging!