From 4c441bc6d091d7bb464661fe1baa550e21c6a2a1 Mon Sep 17 00:00:00 2001 From: hustliyilin Date: Thu, 13 Aug 2020 09:57:07 +0800 Subject: [PATCH] docs: Update skeleton README.md to support different PAL versions Use liberpal-skeleton-v${SKELETON_PAL_VERSION}.so to replace liberpal-skeleton.so in README. Signed-off-by: Yilin Li --- rune/libenclave/internal/runtime/pal/skeleton/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rune/libenclave/internal/runtime/pal/skeleton/README.md b/rune/libenclave/internal/runtime/pal/skeleton/README.md index 8bb5d76..c08c088 100644 --- a/rune/libenclave/internal/runtime/pal/skeleton/README.md +++ b/rune/libenclave/internal/runtime/pal/skeleton/README.md @@ -14,7 +14,7 @@ Note that this step is only required when using SGX out-of-tree driver. ```shell cd "${path_to_inclavare_containers}/rune/libenclave/internal/runtime/pal/skeleton" make -cp liberpal-skeleton.so /usr/lib +cp liberpal-skeleton-v*.so /usr/lib ``` ## Build skeleton container image @@ -68,7 +68,7 @@ Runtimes: rune runc ```shell docker run -it --rm --runtime=rune \ -e ENCLAVE_TYPE=intelSgx \ - -e ENCLAVE_RUNTIME_PATH=/usr/lib/liberpal-skeleton.so \ + -e ENCLAVE_RUNTIME_PATH=/usr/lib/liberpal-skeleton-v${SKELETON_PAL_VERSION}.so \ -e ENCLAVE_RUNTIME_ARGS="debug" \ skeleton-enclave ``` @@ -111,7 +111,7 @@ In order to run the skeleton bundle with `rune`, you need to configure enclave r ```json "annotations": { "enclave.type": "intelSgx", - "enclave.runtime.path": "/usr/lib/liberpal-skeleton.so", + "enclave.runtime.path": "/usr/lib/liberpal-skeleton-v${SKELETON_PAL_VERSION}.so", "enclave.runtime.args": "debug" } ``` -- GitLab