fix void builds
This commit is contained in:
parent
d5c89c292f
commit
7d5a759bdd
|
@ -4,8 +4,8 @@ set -e
|
|||
cd $1 || exit
|
||||
cd tfcli || exit
|
||||
|
||||
echo "Building for release, v$2_$3 (+static) (--target x86_64-unknown-musl)"
|
||||
cargo build --release --target x86_64-unknown-linux-musl
|
||||
echo "Building for release, v$2_$3 (+static) (--target x86_64-unknown-gnu)"
|
||||
cargo build --release
|
||||
|
||||
cd ../packages/void_amd64_tfcli || exit
|
||||
|
||||
|
@ -17,7 +17,7 @@ mkdir -p work/etc/sv
|
|||
|
||||
echo "Copying tfcli binary"
|
||||
|
||||
cp ../../target/x86_64-unknown-linux-musl/release/tfcli work/usr/bin/tfcli
|
||||
cp ../../target/release/tfcli work/usr/bin/tfcli
|
||||
chmod 755 work/usr/bin/tfcli
|
||||
|
||||
echo "Building XBPS package"
|
||||
|
|
|
@ -4,8 +4,8 @@ set -e
|
|||
cd $1 || exit
|
||||
cd tfclient || exit
|
||||
|
||||
echo "Building for release, v$2_$3 (+static) (--target x86_64-unknown-musl)"
|
||||
cargo build --release --target x86_64-unknown-linux-musl
|
||||
echo "Building for release, v$2_$3 (+static) (--target x86_64-unknown-gnu)"
|
||||
cargo build --release
|
||||
|
||||
cd ../packages/void_amd64_tfclient || exit
|
||||
|
||||
|
@ -17,7 +17,7 @@ mkdir -p work/etc/sv
|
|||
|
||||
echo "Copying tfclient binary"
|
||||
|
||||
cp ../../target/x86_64-unknown-linux-musl/release/tfclient work/usr/bin/tfclient
|
||||
cp ../../target/release/tfclient work/usr/bin/tfclient
|
||||
chmod 755 work/usr/bin/tfclient
|
||||
cp -r tfclient work/etc/sv
|
||||
|
||||
|
|
Loading…
Reference in New Issue