From f3f4fa281da04e3b1d0ff98344e345c8ef3e07b0 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 14 Mar 2016 11:20:46 -0700 Subject: [PATCH] Fix PSRP build notes These got split up. Moved them all to detailed build notes section. --- README.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9ac7f4ad9d..6e8a100131 100644 --- a/README.md +++ b/README.md @@ -113,13 +113,11 @@ wget https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/Latest/dotne sudo dpkg -i ./dotnet-ubuntu-x64.latest.deb ``` -#### OMI - -To develop on the PowerShell Remoting Protocol (PSRP) for Linux, you'll need to -be able to compile OMI, which additionally requires: +Additionally, PowerShell on Linux builds a native library, so install +the following additional build / debug tools. ```sh -sudo apt-get install libpam0g-dev libssl-dev libcurl4-openssl-dev libboost-filesystem-dev +sudo apt-get install g++ cmake make lldb-3.6 strace ``` ### Windows @@ -208,11 +206,10 @@ PSRP communication is tunneled through OMI using the `omi-provider`. > accomplish this are not even beta-ready and need to be done correctly. They > exist on the `andschwa-osx` branch of the OMI repository. -### Building +### PowerShell Remoting Protocol -**PSRP support is not built by `./build.sh`** - -Build with `./omibuild.sh`. +PSRP support is *not* built automatically. See the detailed notes on +how to enable it. ### Running @@ -296,6 +293,17 @@ The output is a `.so` on Linux and `.dylib` on OS X. It is unnecessary for Windo #### OMI +**PSRP support is not built by `./build.sh`** + +To develop on the PowerShell Remoting Protocol (PSRP) for Linux, you'll need to +be able to compile OMI, which additionally requires: + +```sh +sudo apt-get install libpam0g-dev libssl-dev libcurl4-openssl-dev libboost-filesystem-dev +``` + +Note that the OMI build steps can be done with `./omibuild.sh`. + Build OMI from source in developer mode: ```sh