gramineproject / gsc

Gramine Shielded Containers (Docker integration)
BSD 3-Clause "New" or "Revised" License
43 stars 34 forks source link

Remove obsolete "--debug" and "--linux" options #174

Closed jkr0103 closed 11 months ago

jkr0103 commented 12 months ago

Description of the changes

After the introduction of --buildtype option which supports release, debug and debugoptimized buildtype in GSC v1.5, --debug option became obsolote and marked for removal in V1.6- release.

Option --linux used to compile Gramine with Linux-PAL. But bydefault we compile Gramine with both Linux-PAL and Linux-SGX here, hence this option doesn't have any use and can be removed.

How to test this PR?

Graminize any image using GSC and run in LINUX PAL (gramine-direct) without using -L and using instructions: https://gramine.readthedocs.io/projects/gsc/en/latest/#execute-with-linux-pal-instead-of-linux-sgx-pal

Also we should get error if try to use -L and -d options


This change is Reviewable