gramineproject / graphene

Graphene / Graphene-SGX - a library OS for Linux multi-process applications, with Intel SGX support
https://grapheneproject.io
GNU Lesser General Public License v3.0
771 stars 260 forks source link

[GSC] Update GSC for latest master build changes #2594

Closed veenasai2 closed 3 years ago

veenasai2 commented 3 years ago

Signed-off-by: Veena Saini veena.saini@intel.com

Description of the changes

This PR allows GSC to work successfully with latest master. Meson build steps are included in gsc/templates/Dockerfile.ubuntu18.04.compile.template file. The output of meson build is stored inside /graphene/meson_build_output directory and path to this output directory is included in $PATH and $PYTHONPATH environment variables.

Few more changes: (i) loader.preload variable in entrypoint.manifest.template points to meson build output sub-directory, i.e., /graphene/meson_build_output/lib/x86_64-linux-gnu/graphene/. (ii) graphene-sgx-sign and graphene-sgx-get-token binaries are included from meson build output sub-directory, i.e. , /graphene/meson_build_output/bin.

How to test this PR?

GSC build and sign steps should pass, and resultant gsc image should successfully run. Jenkins must pass.


This change is Reviewable

dimakuv commented 3 years ago

Jenkins, test this please