Change the calling interface with sefs-cli
This commit is contained in:
parent
5960b2c787
commit
5e1635e2b8
2
deps/sefs
vendored
2
deps/sefs
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 12b4fbc6aed7bea1beb60ad121fd28cc96bd7fa4
|
Subproject commit 7ad4158794622216e47439534e3a34996f2bbd77
|
@ -386,12 +386,11 @@ cmd_mount() {
|
|||||||
|
|
||||||
echo "Start to mount the FS..."
|
echo "Start to mount the FS..."
|
||||||
LD_LIBRARY_PATH="$SGX_SDK/sdk_libs" "$sefs_cli" \
|
LD_LIBRARY_PATH="$SGX_SDK/sdk_libs" "$sefs_cli" \
|
||||||
--integrity-only \
|
--enclave "$signed_sefs_cli_lib" \
|
||||||
"$signed_sefs_cli_lib" \
|
mount \
|
||||||
"$image_fs" \
|
"$image_fs" \
|
||||||
"$container_fs" \
|
"$container_fs" \
|
||||||
"$MNT_POINT" \
|
"$MNT_POINT"
|
||||||
mount
|
|
||||||
|
|
||||||
# After mounting the FS, remove the signed mount tool
|
# After mounting the FS, remove the signed mount tool
|
||||||
rm -f "$signed_sefs_cli_lib"
|
rm -f "$signed_sefs_cli_lib"
|
||||||
|
@ -136,10 +136,9 @@ $(SECURE_IMAGE): $(IMAGE) $(IMAGE_DIRS) $(IMAGE_FILES) $(SEFS_CLI_SIM) $(SIGNED_
|
|||||||
|
|
||||||
@mkdir -p build/mount/
|
@mkdir -p build/mount/
|
||||||
@LD_LIBRARY_PATH="$(SGX_SDK)/sdk_libs" $(SEFS_CLI_SIM) \
|
@LD_LIBRARY_PATH="$(SGX_SDK)/sdk_libs" $(SEFS_CLI_SIM) \
|
||||||
--integrity-only \
|
--enclave "$(SIGNED_SEFS_CLI_LIB)" \
|
||||||
"$(SIGNED_SEFS_CLI_LIB)" \
|
zip \
|
||||||
"$(instance_dir)/build/mount/__ROOT" \
|
|
||||||
"" \
|
|
||||||
"$(instance_dir)/image" \
|
"$(instance_dir)/image" \
|
||||||
zip
|
"$(instance_dir)/build/mount/__ROOT" \
|
||||||
|
--integrity-only
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user