mirror of
https://github.com/AuxXxilium/synology-dsm-open-vm-tools.git
synced 2024-11-23 23:00:59 +07:00
08adb2d689
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
16 lines
566 B
Bash
Executable File
16 lines
566 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 -r ~/tmp/open-vm-tools/* ~/tmp/spksrc/
|
|
cp -r /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 |