Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
[Examples] Add new library dependencies in Redis 6.0.5 manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
sudharkrish authored and Dmitrii Kuvaiskii committed Jul 21, 2020
1 parent b789ed3 commit b66fbd1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Examples/redis/redis-server.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ loader.insecure__use_cmdline_argv = 1
# In case of Redis:
# - /lib is searched for Glibc libraries (ld, libc, libpthread)
# - $(ARCH_LIBDIR) is searched for Name Service Switch (NSS) libraries
loader.env.LD_LIBRARY_PATH = /lib:$(ARCH_LIBDIR)
loader.env.LD_LIBRARY_PATH = /lib:$(ARCH_LIBDIR):/usr/$(ARCH_LIBDIR)

################################# MOUNT FS ###################################

Expand All @@ -62,6 +62,10 @@ fs.mount.lib2.type = chroot
fs.mount.lib2.path = $(ARCH_LIBDIR)
fs.mount.lib2.uri = file:$(ARCH_LIBDIR)

fs.mount.lib3.type = chroot
fs.mount.lib3.path = /usr/$(ARCH_LIBDIR)
fs.mount.lib3.uri = file:/usr/$(ARCH_LIBDIR)

# Mount host-OS directory to NSS files required by Glibc + NSS libs (in 'uri')
# into in-Graphene visible directory /etc (in 'path').
fs.mount.etc.type = chroot
Expand Down Expand Up @@ -132,6 +136,13 @@ sgx.trusted_files.libnssnis = file:$(ARCH_LIBDIR)/libnss_nis.so.2
# library dependencies required by Graphene-SGX.
sgx.trusted_files.libnsl = file:$(ARCH_LIBDIR)/libnsl.so.1

# Additional dependant libraries for redis version 6+
sgx.trusted_files.libsystemd = file:$(ARCH_LIBDIR)/libsystemd.so.0
sgx.trusted_files.liblzma = file:$(ARCH_LIBDIR)/liblzma.so.5
sgx.trusted_files.libgcrypt = file:$(ARCH_LIBDIR)/libgcrypt.so.20
sgx.trusted_files.libgpgerror = file:$(ARCH_LIBDIR)/libgpg-error.so.0
sgx.trusted_files.liblz4 = file:/usr/$(ARCH_LIBDIR)/liblz4.so.1

############################ SGX: TRUSTED FILES ###############################

# Trusted no-library files include configuration files, read-only files, and
Expand Down

0 comments on commit b66fbd1

Please sign in to comment.