mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-09 22:24:51 +00:00
fixup! build: split NVIDIA rootfs into base-nvidia image + gpu addon
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user