From 5c0fa40cf54682dbf1d82c4ad68fa78c2764eee1 Mon Sep 17 00:00:00 2001 From: Gemini Bot Date: Tue, 20 Jan 2026 12:12:08 +0000 Subject: [PATCH] Switch to dtbartle/cgminer-gc3355 fork as dmaxl is offline --- README.md | 4 ++-- install.sh | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4c0178e..8e446fd 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ Das `install.sh` Skript übernimmt die komplette Einrichtung inkl. Kompilieren v Falls Sie den Automatismus nicht nutzen wollen: 1. **Abhängigkeiten:** Python 3, `libusb-1.0-0-dev`, `libcurl4-openssl-dev`, `libncurses5-dev`. -2. **Cgminer:** Installieren Sie einen Gridseed-kompatiblen Fork (z.B. https://github.com/dmaxl/cgminer). - Configure flags: `./configure --enable-gridseed` +2. **Cgminer:** Installieren Sie einen Gridseed-kompatiblen Fork (z.B. https://github.com/dtbartle/cgminer-gc3355). + Configure flags: `./configure --enable-gridseed --enable-scrypt` 3. **App:** - Code nach `/opt/necrohash` kopieren. - `pip install -r requirements.txt` (in venv). diff --git a/install.sh b/install.sh index 067b01d..d97d0a2 100755 --- a/install.sh +++ b/install.sh @@ -18,18 +18,22 @@ echo "Installing system dependencies..." apt-get update apt-get install -y python3 python3-venv git libncurses5-dev libudev-dev build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev -# 2. Cgminer Installation (dmaxl fork for Gridseed) +# 2. Cgminer Installation (dtbartle fork for Gridseed GC3355) if [ ! -f "/usr/local/bin/cgminer" ]; then echo "Compiling and installing cgminer for Gridseed..." cd /tmp - git clone https://github.com/dmaxl/cgminer.git - cd cgminer + # Remove any existing failed clone + rm -rf cgminer-gc3355 + + git clone https://github.com/dtbartle/cgminer-gc3355.git + cd cgminer-gc3355 ./autogen.sh - ./configure --enable-gridseed + # Standard flags for this fork usually include gridseed support by default or via flag + ./configure --enable-gridseed --enable-scrypt make make install cd .. - rm -rf cgminer + rm -rf cgminer-gc3355 else echo "cgminer found, skipping compilation." fi