diff --git a/demos/embedded_mode/Makefile b/demos/embedded_mode/Makefile index eebf5265..8818b643 100644 --- a/demos/embedded_mode/Makefile +++ b/demos/embedded_mode/Makefile @@ -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: diff --git a/demos/embedded_mode/embedded_mode.yaml b/demos/embedded_mode/embedded_mode.yaml new file mode 100644 index 00000000..0d10b2e3 --- /dev/null +++ b/demos/embedded_mode/embedded_mode.yaml @@ -0,0 +1,7 @@ +includes: + - base.yaml +targets: + - target: /bin + copy: + - files: + - ../trusted_memcpy_bench/build/trusted_memcpy_bench