fixup! build: split NVIDIA rootfs into base-nvidia image + gpu addon

This commit is contained in:
Fabiano Fidêncio
2026-06-11 17:18:22 +02:00
parent 9d813076fe
commit f6eaba6c75

View File

@@ -74,6 +74,13 @@ install_userspace_components() {
apt-mark hold cryptsetup-bin dmsetup libargon2-1 \
e2fsprogs libxml2
# NVRC loads the NVIDIA driver modules from the gpu addon's self-contained
# module tree via `modprobe --dirname <addon>`, a kmod feature the base
# busybox lacks. Install the real kmod here so the base-nvidia chisel can
# pull /usr/bin/kmod (and its libzstd/liblzma deps) from this stage.
eval "${APT_INSTALL}" kmod
apt-mark hold kmod
}
setup_apt_repositories() {