Commit 3f4294cd authored by Tim Pepper's avatar Tim Pepper

e2e_node: use newer util-linux

The e2e_node test environment setup script is hard coded to pull down a quite old version of util-linux in order to build nsenter on trusty, which sadly is well known to not include an nsenter executable. While "just a test", it's unfortunate to be building from really old util-linux sources when newer are available. Signed-off-by: 's avatarTim Pepper <tpepper@vmware.com>
parent 5256e26f
...@@ -59,11 +59,11 @@ if [ $? -eq 0 ]; then ...@@ -59,11 +59,11 @@ if [ $? -eq 0 ]; then
echo "Do not find nsenter. Install it." echo "Do not find nsenter. Install it."
NSENTER_BUILD_DIR=$(mktemp -d /tmp/nsenter-build-XXXXXX) NSENTER_BUILD_DIR=$(mktemp -d /tmp/nsenter-build-XXXXXX)
cd $NSENTER_BUILD_DIR cd $NSENTER_BUILD_DIR
curl https://www.kernel.org/pub/linux/utils/util-linux/v2.24/util-linux-2.24.tar.gz | tar -zxf- curl https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-2.31.tar.gz | tar -zxf-
sudo apt-get update sudo apt-get update
sudo apt-get --yes install make sudo apt-get --yes install make
sudo apt-get --yes install gcc sudo apt-get --yes install gcc
cd util-linux-2.24 cd util-linux-2.31
./configure --without-ncurses ./configure --without-ncurses
make nsenter make nsenter
sudo cp nsenter /usr/local/bin sudo cp nsenter /usr/local/bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment