Vendor cgminer source, patch for SHA256, update installer

This commit is contained in:
Gemini Bot
2026-01-21 12:49:35 +00:00
parent 47bb68c2ec
commit 7df9460026
245 changed files with 228809 additions and 99 deletions

View File

@@ -51,6 +51,21 @@ chown -R $USER:$USER "$TARGET_DIR"
echo "=== Aktualisiere Service-Definitionen ==="
# Wir schreiben die Services neu, falls sich im Repo die Startlogik geändert hat
# Optional: Rebuild cgminer if requested
if [ "$1" == "--rebuild-miner" ]; then
echo "=== Recompiling Miner from Local Source ==="
# Reuse logic from install.sh essentially
cp -r src/cgminer-gc3355 /tmp/cgminer-build
cd /tmp/cgminer-build
export CFLAGS="-fcommon -O2"
./autogen.sh
./configure --enable-gridseed --enable-scrypt --without-curses
make -j1
make install
cd "$TARGET_DIR"
rm -rf /tmp/cgminer-build
fi
# GUI Service
cat <<EOF > /etc/systemd/system/necrohash-gui.service
[Unit]