Mikhail Chusavitin
72cf482ad3
Embed Reanimator Chart web viewer
2026-03-15 22:07:42 +03:00
Mikhail Chusavitin
6aca1682b9
Refactor bee CLI and LiveCD integration
2026-03-13 16:52:16 +03:00
Mikhail Chusavitin
345a93512a
migrate ISO build from Alpine to Debian 12 (Bookworm)
...
Replace the entire live CD build pipeline:
- Alpine SDK + mkimage + genapkovl → Debian live-build (lb config/build)
- OpenRC init scripts → systemd service units
- dropbear → openssh-server (native to Debian live)
- udhcpc → dhclient for DHCP
- apk → apt-get in setup-builder.sh and build-nvidia-module.sh
- Add auto/config (lb config options) and auto/build wrapper
- Add config/package-lists/bee.list.chroot replacing Alpine apks
- Add config/hooks/normal/9000-bee-setup.hook.chroot to enable services
- Add bee-nvidia-load and bee-sshsetup helper scripts
- Keep NVIDIA pre-compile pipeline (Option B): compile on builder VM against
pinned Debian kernel headers (DEBIAN_KERNEL_ABI), inject .ko into includes.chroot
- Fixes: native glibc (no gcompat shims), proper udev, writable /lib/modules,
no Alpine modloop read-only constraint, no stale apk cache issues
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-08 18:01:38 +03:00
2235a89364
fix: add modloop= to cmdline, revert lz4 compression
...
modloop was not mounting because:
1. modloop=/boot/modloop-lts was missing from kernel cmdline
2. lz4-compressed squashfs may not be supported by Alpine initramfs
Both issues result in /lib/modules not existing and all modprobe failing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-05 18:23:26 +03:00
e5c1ef2c33
fix: run build in screen session to survive SSH disconnects
...
Long builds (NVIDIA driver download+compile) would abort on SSH timeout.
Now build runs in a detached screen session on the VM, run-builder.sh
streams the log and waits for completion safely.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-05 18:07:17 +03:00
bd9279f96d
perf: use lz4 compression for modloop squashfs
...
xz → lz4 for mksquashfs: kernel modloop rebuild is ~10x faster.
Size increase is acceptable since modloop is loaded into RAM.
Applied in both setup-builder.sh and build-debug.sh.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-05 16:23:55 +03:00
9508743dcd
fix: add arch=x86_64 to profile, improve abuild key generation in setup
2026-03-05 11:37:46 +03:00
45f3182470
add run-builder.sh, .env, .gitignore; fix community repo in setup-builder.sh
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-05 11:27:26 +03:00
65d92d59c2
feat(iso): 2.1-2.3 — debug ISO builder with SSH access
...
Builder setup:
- iso/builder/VERSIONS: pinned Alpine 3.21, Go 1.23.6, NVIDIA 550.54.15
- iso/builder/setup-builder.sh: installs build deps + Go on Alpine VM, verifies packages
- iso/builder/build-debug.sh: compiles audit binary, injects SSH keys, builds ISO
- iso/builder/mkimg.bee_debug.sh: Alpine mkimage profile (all audit packages + dropbear)
SSH access (same Ed25519 key as release signing):
- auto-collects ~/.keys/*.key.pub into authorized_keys at build time
- fallback: user bee / password eeb when no keys available
- bee-sshsetup init.d service: creates bee user, sets password, logs status
Debug overlay:
- bee-network: DHCP on all physical interfaces before SSH/audit
- bee-audit-debug: runs audit on boot, leaves SSH up after
- bee-sshsetup: key/password SSH setup
- motd: shows log paths, re-run command, SSH access info
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-05 10:43:53 +03:00