|
@@ -6,17 +6,11 @@ Install the SGX driver in the usual way. This example is on a stock
|
|
|
Ubuntu 22.04.
|
|
|
|
|
|
```
|
|
|
-apt install build-essential ocaml ocamlbuild automake autoconf libtool \
|
|
|
- wget python-is-python3 libssl-dev git cmake perl unzip debhelper \
|
|
|
- libcurl4-openssl-dev protobuf-compiler reprepro
|
|
|
-
|
|
|
+apt install build-essential
|
|
|
git clone https://github.com/intel/linux-sgx-driver
|
|
|
cd linux-sgx-driver
|
|
|
make
|
|
|
-sudo mkdir -p "/lib/modules/"`uname -r`"/kernel/drivers/intel/sgx"
|
|
|
-sudo cp isgx.ko "/lib/modules/"`uname -r`"/kernel/drivers/intel/sgx"
|
|
|
-sudo sh -c "cat /etc/modules | grep -Fxq isgx || echo isgx >> /etc/modules"
|
|
|
-sudo /sbin/depmod
|
|
|
+sudo make install
|
|
|
sudo /sbin/modprobe isgx
|
|
|
```
|
|
|
|