sender-d用cpp

This commit is contained in:
2023-03-08 18:42:39 +08:00
parent 710cd9fa5c
commit 2d116ae6c1
6 changed files with 10 additions and 1089 deletions

View File

@@ -34,11 +34,12 @@ case "$1" in
# Create symbol links for SSINSTALL
ln -s -f /opt/durapps/spark-store/bin/auto-install-policy/store.spark-app.ssinstall.policy /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
# Link sender module
echo "link the `arch` sender module... "
#gcc -Wformat -Wformat-security -Werror=format-security
ln -sf /opt/durapps/spark-store/bin/ss-feedback/sender-d_`arch` /opt/durapps/spark-store/bin/ss-feedback/sender-d
# Compile sender module
echo "Compiling the Sender module..."
gcc -Wformat -Wformat-security -Werror=format-security /opt/durapps/spark-store/bin/ss-feedback/sender-d_$(arch).sh.c -o /opt/durapps/spark-store/bin/ss-feedback/sender-d
# Install key
mkdir -p /tmp/spark-store-install/
cp -f /opt/durapps/spark-store/bin/spark-store.asc /tmp/spark-store-install/spark-store.asc