Update embedded_mode demo with bom file

This commit is contained in:
zongmin.gu 2021-09-26 13:27:36 +08:00 committed by Zongmin.Gu
parent 8a6b44a68c
commit 0e00782c21
2 changed files with 9 additions and 1 deletions

@ -9,7 +9,8 @@ occlum_instance: build_src
@mkdir -p occlum_instance
@cd occlum_instance && \
occlum init && \
cp ../trusted_memcpy_bench/build/trusted_memcpy_bench image/bin/ && \
rm -rf image && \
copy_bom -f ../embedded_mode.yaml --root image --include-dir /opt/occlum/etc/template && \
occlum build
build_src:

@ -0,0 +1,7 @@
includes:
- base.yaml
targets:
- target: /bin
copy:
- files:
- ../trusted_memcpy_bench/build/trusted_memcpy_bench