- Deprecate `mkSGXContainer` in favor of `sgxGramineContainer`.
- Update references to use the new container creation function.
- Streamline the codebase by simplifying `overlays/libTee/default.nix`.
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
`enableFakechroot = true` somehow triggered the inclusion of `/dev`.
Some fake chroots included `/dev/kvm` with different permissions,
so the produced container was not the same.
As this fake chroot is not needed anymore with using `--chroot` for `gramine-sgx-sign`,
it can be turned off.
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
by providing the `--chroot` argument to `gramine-sgx-sign` and with
a careful assembled `nix` directory, containing no build root artifacts.
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>