diff --git a/build/README_DOCKER.md b/build/README_DOCKER.md index 9b3af169..be1535aa 100644 --- a/build/README_DOCKER.md +++ b/build/README_DOCKER.md @@ -137,7 +137,7 @@ for creating the vhost socket interfaces in `volume/intf`, all the log files in `volume/logs` and can be used to share files with the IPDK daemon container where the `VOLUME` directory is available as '/tmp'. -* Run - 'ipdk connect' - To connect to your IPDK container daemon and to use +* Run - `ipdk connect` - To connect to your IPDK container daemon and to use it from a command line. If above commands are successful, at this point you should have your IPDK diff --git a/build/scripts/build_p4sde.sh b/build/scripts/build_p4sde.sh index d966973a..12ce1ac8 100755 --- a/build/scripts/build_p4sde.sh +++ b/build/scripts/build_p4sde.sh @@ -32,7 +32,8 @@ export SDE_INSTALL="$SDE/install" #...Package Config Path...# if [ "${OS}" = "Ubuntu" ] || [ "${VER}" = "20.04" ] ; then - export PKG_CONFIG_PATH=${SDE_INSTALL}/lib/x86_64-linux-gnu/pkgconfig + arch=$(uname -m) + export PKG_CONFIG_PATH=${SDE_INSTALL}/lib/${arch}-linux-gnu/pkgconfig else export PKG_CONFIG_PATH=${SDE_INSTALL}/lib64/pkgconfig fi