未验证 提交 d1ef4679 编写于 作者: H haosanzi 提交者: GitHub

rune: Refresh the doc and example code for multiple version support of skeleton

- Use liberpal-skeleton to replace liberpal-skeleton.so in README.
- Use liberpal-skeleton-v1.so to replace liberpal-skeleton.so in rune/libcontainer/specconv/example.go
- Use liberpal-skeleton*.so to repalce liberpal-skeleton.so in rune/Makefile and .gitignore
Signed-off-by: NShirong Hao <shirong@linux.alibaba.com>
上级 4c441bc6
......@@ -5,4 +5,4 @@ contrib/cmd/recvtty/recvtty
man/man8
release
*.pb.go
liberpal-skeleton.so
liberpal-skeleton*.so
......@@ -43,8 +43,8 @@ all: rune recvtty skeleton
recvtty:
$(GO_BUILD) -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty
skeleton: libenclave/internal/runtime/pal/skeleton/liberpal-skeleton.so
libenclave/internal/runtime/pal/skeleton/liberpal-skeleton.so:
skeleton: libenclave/internal/runtime/pal/skeleton/liberpal-skeleton*.so
libenclave/internal/runtime/pal/skeleton/liberpal-skeleton*.so:
make -C libenclave/internal/runtime/pal/skeleton
static: $(PROTOS)
......
......@@ -159,7 +159,7 @@ func Example() *specs.Spec {
},
Annotations: map[string]string{
"enclave.type": "intelSgx",
"enclave.runtime.path": "/var/run/rune/liberpal-skeleton.so",
"enclave.runtime.path": "/var/run/rune/liberpal-skeleton-v1.so",
"enclave.runtime.args": "skeleton,debug",
},
}
......
......@@ -10,7 +10,7 @@ Refer to [this guide](https://github.com/alibaba/inclavare-containers/tree/maste
Note that this step is only required when using SGX out-of-tree driver.
## Build liberpal-skeleton.so
## Build liberpal-skeleton
```shell
cd "${path_to_inclavare_containers}/rune/libenclave/internal/runtime/pal/skeleton"
make
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册