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>
31 lines
945 B
Bash
Executable File
31 lines
945 B
Bash
Executable File
#!/bin/sh
|
|
# auto/config — live-build configuration for bee ISO
|
|
# Runs automatically when lb config is called.
|
|
# See: man lb_config
|
|
|
|
set -e
|
|
|
|
. "$(dirname "$0")/../VERSIONS"
|
|
|
|
lb config noauto \
|
|
--distribution bookworm \
|
|
--architectures amd64 \
|
|
--binary-images iso-hybrid \
|
|
--bootloaders "grub-efi,syslinux" \
|
|
--debian-installer none \
|
|
--archive-areas "main contrib non-free non-free-firmware" \
|
|
--mirror-bootstrap "https://deb.debian.org/debian" \
|
|
--mirror-chroot "https://deb.debian.org/debian" \
|
|
--mirror-binary "https://deb.debian.org/debian" \
|
|
--security true \
|
|
--linux-flavours "amd64" \
|
|
--linux-packages "linux-image-${DEBIAN_KERNEL_ABI}" \
|
|
--memtest none \
|
|
--iso-volume "BEE-DEBUG" \
|
|
--iso-application "Bee Hardware Audit" \
|
|
--hostname "bee-debug" \
|
|
--username "root" \
|
|
--bootappend-live "boot=live components quiet splash" \
|
|
--apt-recommends false \
|
|
"${@}"
|