mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 06:03:35 +00:00
Update linux-before-install.sh
This commit is contained in:
14
.github/actions/linux-before-install.sh
vendored
14
.github/actions/linux-before-install.sh
vendored
@ -95,18 +95,8 @@ else
|
|||||||
pip=~/python/bin/pip3
|
pip=~/python/bin/pip3
|
||||||
|
|
||||||
if ([ "${ImageOS}" == "ubuntu20" ]) && [ "${HOSTTYPE}" == "x86_64" ]; then
|
if ([ "${ImageOS}" == "ubuntu20" ]) && [ "${HOSTTYPE}" == "x86_64" ]; then
|
||||||
echo "Installing deps for StaticX..."
|
"${python}" -m pip install --upgrade patchelf-wrapper
|
||||||
if [ ! -d patchelf-$PATCHELF_VERSION ]; then
|
"${python}" -m pip install --upgrade staticx
|
||||||
echo "Downloading PatchELF $PATCHELF_VERSION"
|
|
||||||
wget https://github.com/NixOS/patchelf/archive/$PATCHELF_VERSION.tar.gz
|
|
||||||
tar xf $PATCHELF_VERSION.tar.gz
|
|
||||||
cd patchelf-$PATCHELF_VERSION/
|
|
||||||
./bootstrap.sh
|
|
||||||
./configure
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
fi
|
|
||||||
$pip install staticx
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $whereibelong
|
cd $whereibelong
|
||||||
|
Reference in New Issue
Block a user