mirror of https://github.com/k3s-io/k3s
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: Tim Pepper <tpepper@vmware.com>pull/6/head
parent
5256e26f68
commit
3f4294cdf9
|
@ -59,11 +59,11 @@ if [ $? -eq 0 ]; then
|
|||
echo "Do not find nsenter. Install it."
|
||||
NSENTER_BUILD_DIR=$(mktemp -d /tmp/nsenter-build-XXXXXX)
|
||||
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 --yes install make
|
||||
sudo apt-get --yes install gcc
|
||||
cd util-linux-2.24
|
||||
cd util-linux-2.31
|
||||
./configure --without-ncurses
|
||||
make nsenter
|
||||
sudo cp nsenter /usr/local/bin
|
||||
|
|
Loading…
Reference in New Issue