Merge pull request #10965 from zvonkok/fix-init

gpu: fix init symlinks
This commit is contained in:
Zvonko Kaiser 2025-03-03 14:46:41 -05:00 committed by GitHub
commit 4df406f03c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -275,7 +275,8 @@ chisseled_init() {
ln -sf ../run var/run
tar xvf "${BUILD_DIR}"/kata-static-nvidia-nvrc.tar.zst -C .
# make sure NVRC is the init process for the initrd and image case
ln -sf /bin/NVRC init
ln -sf /bin/NVRC sbin/init
cp -a "${stage_one}"/usr/bin/kata-agent usr/bin/.