feat(gramine): v1.7 -> v1.8

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-11-12 17:27:23 +01:00
parent ee9445bf57
commit 50f3adc1c6
Signed by: harald
GPG key ID: F519A1143B3FBE32
3 changed files with 28 additions and 69 deletions

View file

@ -55,7 +55,7 @@ let
};
loader = {
argv = [ entrypoint ];
entrypoint = "file:{{ gramine.libos }}";
entrypoint.uri = "file:{{ gramine.libos }}";
env = {
AZDCAP_COLLATERAL_VERSION = "v4";
AZDCAP_DEBUG_LOG_LEVEL = "ignore";
@ -209,7 +209,9 @@ let
CHROOT=$(pwd)
appDir="${appDir}"
cd "''${appDir#/}"
HOME="''${appDir#/}" ${nixsgx.gramine}/bin/gramine-manifest ${manifestFile} ${appName}.manifest;
HOME="${appDir}" ${nixsgx.gramine}/bin/gramine-manifest \
--chroot "$CHROOT" \
${manifestFile} ${appName}.manifest;
${nixsgx.gramine}/bin/gramine-sgx-sign \
--chroot "$CHROOT" \
--manifest ${appName}.manifest \