scripts/ (installer.sh, lib/*, modules/00-99) und backends/mint-image/ (inkl. echtem postinstall.sh statt Symlink auf backends/mint/) werden ueber config/includes.chroot/opt/tuxflotte/ ins Image kopiert - bewusst nur die zur Laufzeit benoetigten Dateien, nicht die Build-Host-Werkzeuge (build_customer_iso.sh, build_golden_image.sh, package_golden_image.sh, lib/initrd.sh etc. bleiben aussen vor). 00_preflight.sh und backend_init() (backends/mint-image/backend.sh) verlieren ihre Laufzeit-apt-get-Nachinstallation (jq, parted, dosfstools, e2fsprogs, zstd, btrfs-progs, gettext-base, curl) - alles bereits in Phase 0 vorinstalliert. Werden durch reine Assertions ersetzt, die frueh und klar melden, falls die Paketliste doch mal luecken sollte. backends/mint/postinstall.sh nach backends/mint-image/postinstall.sh als echte Datei verschoben (war Symlink) - noetig, weil backends/mint/ in Phase 4 komplett entfernt wird. Live verifiziert in der enterprise-QEMU-VM: installer.sh von Hand gestartet, Module 00/05/10/12/15/17 liefen sauber durch, inkl. echtem Server-Kontakt zu anode und echter Geraeteregistrierung (Liebherr-Org), Commit-Gate erschien interaktiv wie erwartet, kontrollierter Abbruch ohne jede destruktive Aktion.
77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
# config/bootstrap - options for live-build(7), bootstrap stage
|
|
|
|
# Select architecture to use
|
|
LB_ARCHITECTURE="amd64"
|
|
|
|
# Select distribution to use
|
|
LB_DISTRIBUTION="trixie"
|
|
|
|
# Select parent distribution to use
|
|
LB_PARENT_DISTRIBUTION=""
|
|
|
|
# Select distribution to use in the chroot
|
|
LB_DISTRIBUTION_CHROOT="trixie"
|
|
|
|
# Select parent distribution to use in the chroot
|
|
LB_PARENT_DISTRIBUTION_CHROOT="trixie"
|
|
|
|
# Select distribution to use in the final image
|
|
LB_DISTRIBUTION_BINARY="trixie"
|
|
|
|
# Select parent distribution to use in the final image
|
|
LB_PARENT_DISTRIBUTION_BINARY="trixie"
|
|
|
|
# Select parent distribution for debian-installer to use
|
|
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="trixie"
|
|
|
|
# Select archive areas to use
|
|
LB_ARCHIVE_AREAS="main contrib non-free non-free-firmware"
|
|
|
|
# Select parent archive areas to use
|
|
LB_PARENT_ARCHIVE_AREAS="main contrib non-free non-free-firmware"
|
|
|
|
# Set parent mirror to bootstrap from
|
|
LB_PARENT_MIRROR_BOOTSTRAP="http://deb.debian.org/debian/"
|
|
|
|
# Set parent mirror to fetch packages from
|
|
LB_PARENT_MIRROR_CHROOT="http://deb.debian.org/debian/"
|
|
|
|
# Set security parent mirror to fetch packages from
|
|
LB_PARENT_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
|
|
|
|
# Set parent mirror which ends up in the image
|
|
LB_PARENT_MIRROR_BINARY="http://deb.debian.org/debian/"
|
|
|
|
# Set security parent mirror which ends up in the image
|
|
LB_PARENT_MIRROR_BINARY_SECURITY="http://security.debian.org/"
|
|
|
|
# Set debian-installer parent mirror
|
|
LB_PARENT_MIRROR_DEBIAN_INSTALLER="http://deb.debian.org/debian/"
|
|
|
|
# Set mirror to bootstrap from
|
|
LB_MIRROR_BOOTSTRAP="http://deb.debian.org/debian/"
|
|
|
|
# Set mirror to fetch packages from
|
|
LB_MIRROR_CHROOT="http://deb.debian.org/debian/"
|
|
|
|
# Set security mirror to fetch packages from
|
|
LB_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
|
|
|
|
# Set mirror which ends up in the image
|
|
LB_MIRROR_BINARY="http://deb.debian.org/debian/"
|
|
|
|
# Set security mirror which ends up in the image
|
|
LB_MIRROR_BINARY_SECURITY="http://security.debian.org/"
|
|
|
|
# Set debian-installer mirror
|
|
LB_MIRROR_DEBIAN_INSTALLER="http://deb.debian.org/debian/"
|
|
|
|
# Set architectures to use foreign bootstrap
|
|
LB_BOOTSTRAP_QEMU_ARCHITECTURE=""
|
|
|
|
# Set packages to exclude during foreign bootstrap
|
|
LB_BOOTSTRAP_QEMU_EXCLUDE=""
|
|
|
|
# Set static qemu binary for foreign bootstrap
|
|
LB_BOOTSTRAP_QEMU_STATIC=""
|