common.mk post-build.sh S30optee: change /data to /var/lib
/data/tee is not FHS compatible path. Use /var/lib/tee instead.
Related to optee_client side CMake change to use standard CMake
install and runtime paths:
https://github.com/OP-TEE/optee_client/pull/391
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
diff --git a/common.mk b/common.mk
index b6b3c5f..7c36904 100644
--- a/common.mk
+++ b/common.mk
@@ -64,7 +64,7 @@
# 1) make QEMU_VIRTFS_AUTOMOUNT=y run
# will mount the project's root on the host as /mnt/host in QEMU.
# 2) mkdir -p /tmp/qemu-data-tee && make QEMU_PSS_AUTOMOUNT=y run
-# will mount the host directory /tmp/qemu-data-tee as /data/tee
+# will mount the host directory /tmp/qemu-data-tee as /var/lib/tee
# in QEMU, thus creating persistent secure storage.
ifeq ($(QEMU_VIRTFS_AUTOMOUNT),y)
@@ -90,7 +90,7 @@
# Persistent Secure Storage via shared folder
# # Set QEMU_PSS_ENABLE to 'y' and adjust QEMU_PSS_HOST_DIR
# # Then in QEMU, run:
-# # $ mount -t 9p -o trans=virtio secure /data/tee
+# # $ mount -t 9p -o trans=virtio secure /var/lib/tee
# # Or enable QEMU_PSS_AUTOMOUNT
QEMU_PSS_ENABLE ?= n
QEMU_PSS_HOST_DIR ?= /tmp/qemu-data-tee