You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cvm/installer/build.sh

26 lines
655 B
Bash

cd slave
echo "Copying needed files for slave SFX..."
cp ../../runhelper/runhelper .
cp ../../console/slave/dropper .
cp ../../logshell/logshell .
cp ../../logshell/cvmshell .
cp ../common/setuplib.py .
echo "Creating slave SFX..."
tar -czf - * | python ../../tools/pysfx/pysfx.py -as "python install.py" - ../slave_sfx.py
echo "Removing copied files..."
rm runhelper
rm dropper
rm logshell
rm cvmshell
rm setuplib.py
cd ..
cd master
echo "Copying needed files for master SFX..."
echo "Creating master SFX..."
tar -czf - * | python ../../tools/pysfx/pysfx.py -as "python install.py" - ../master_sfx.py
echo "Removing copied files..."
cd ..
echo "Done!"