From 7d5a759bdda3a0ca030bbff28f4884c04adebcdd Mon Sep 17 00:00:00 2001 From: core Date: Tue, 18 Jul 2023 22:03:25 -0400 Subject: [PATCH] fix void builds --- packages/void_amd64_tfcli/build.sh | 6 +++--- packages/void_amd64_tfclient/build.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/void_amd64_tfcli/build.sh b/packages/void_amd64_tfcli/build.sh index 4b5684e..51d3fc1 100755 --- a/packages/void_amd64_tfcli/build.sh +++ b/packages/void_amd64_tfcli/build.sh @@ -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" diff --git a/packages/void_amd64_tfclient/build.sh b/packages/void_amd64_tfclient/build.sh index cc3aea7..7af9dbf 100755 --- a/packages/void_amd64_tfclient/build.sh +++ b/packages/void_amd64_tfclient/build.sh @@ -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