remove lgpio from installation script improve logging output for generated tokens

This commit is contained in:
Lloyd
2025-12-09 09:20:19 +00:00
parent 3e46379623
commit b956f69e76
2 changed files with 3 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ install_repeater() {
echo "25"; echo "# Installing system dependencies..."
apt-get update -qq
apt-get install -y libffi-dev jq pip python3-rrdtool wget swig build-essential python3-dev liblgpio-dev
apt-get install -y libffi-dev jq pip python3-rrdtool wget swig build-essential python3-dev
# Install mikefarah yq v4 if not already installed
if ! command -v yq &> /dev/null || [[ "$(yq --version 2>&1)" != *"mikefarah/yq"* ]]; then
@@ -340,7 +340,7 @@ upgrade_repeater() {
echo "[3/9] Updating system dependencies..."
apt-get update -qq
apt-get install -y libffi-dev jq pip python3-rrdtool wget swig build-essential python3-dev liblgpio-dev
apt-get install -y libffi-dev jq pip python3-rrdtool wget swig build-essential python3-dev
# Install mikefarah yq v4 if not already installed
if ! command -v yq &> /dev/null || [[ "$(yq --version 2>&1)" != *"mikefarah/yq"* ]]; then

View File

@@ -142,7 +142,7 @@ class MeshCoreToMqttJwtPusher:
signature_hex = binascii.hexlify(signature).decode()
token = f"{header_b64}.{payload_b64}.{signature_hex}"
logging.debug(f"Generated MeshCore token: {token}")
logging.debug(f"Generated MeshCore token: {token[:10]}...{token[-10:]}")
return token
# ----------------------------------------------------------------