synology-dsm-open-vm-tools/build.sh
AuxXxilium a7d2b28e77 build: update
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
2024-03-29 16:50:27 +01:00

16 lines
568 B
Bash
Executable File

#!/bin/bash
sudo apt-get update
sudo apt-get install -y libelf-dev moreutils
unset DOCKER_HOST
rm -rf ~/tmp/
mkdir -p ~/tmp/
git clone https://github.com/SynoCommunity/spksrc ~/tmp/spksrc
docker pull ghcr.io/synocommunity/spksrc
git clone https://github.com/AuxXxilium/synology-dsm-open-vm-tools.git ~/tmp/open-vm-tools
cp -rf ~/tmp/open-vm-tools/* ~/tmp/spksrc/
cp -rf /usr/bin/sponge ~/tmp/spksrc/
cp -f docker.sh ~/tmp/spksrc/
docker run -it -v ~/tmp/spksrc:/spksrc ghcr.io/synocommunity/spksrc /spksrc/docker.sh
cp -f ~/tmp/spksrc/packages/*.spk /home/auxxxilium