未验证 提交 4c441bc6 编写于 作者: H hustliyilin 提交者: GitHub

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: NYilin Li <YiLin.Li@linux.alibaba.com>
上级 344dff9e
......@@ -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"
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册