Phase 1: CKPool build infrastructure
Forks CKPool-solo at upstream commit cfb0f83b (v1.0) via a multi-stage Docker build, with an env-driven entrypoint that renders ckpool.conf from a template. The pinned commit already includes every fix referenced in Bassin issue #29 (workbase_id double increment, extended low-power timeouts, configurable dropidle, vardiff burst handling). No patches are applied yet — the patches/ directory holds the workflow and build wiring so Kamado-specific patches can be added incrementally. Build is portable across aarch64/x86_64: yasm is intentionally omitted so CKPool falls back to its C SHA256, and CFLAGS override drops upstream's default -march=native. Runtime image ships ckpool and ckpmsg for socket debugging; share logging (-L) is enabled by default. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
# Build artifacts
|
||||
build/
|
||||
dist/
|
||||
*.o
|
||||
*.a
|
||||
*.so
|
||||
*.tar
|
||||
*.tar.gz
|
||||
|
||||
# Docker
|
||||
docker-images/
|
||||
|
||||
# CKPool source (cloned at build time)
|
||||
ckpool/src/
|
||||
|
||||
# Go
|
||||
api/bin/
|
||||
api/vendor/
|
||||
*.exe
|
||||
|
||||
# Node / Svelte
|
||||
ui/node_modules/
|
||||
ui/.svelte-kit/
|
||||
ui/build/
|
||||
|
||||
# Runtime / data
|
||||
data/
|
||||
logs/
|
||||
*.log
|
||||
*.pid
|
||||
|
||||
# Editor
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
.DS_Store
|
||||
|
||||
# Environment
|
||||
.env
|
||||
.env.local
|
||||
Reference in New Issue
Block a user