mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
gpu: fix init symlinks
With the recent changes we need to make sure NVRC is symlinked for init and sbin/init Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
parent
545022f295
commit
eb2f75ee61
@ -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/.
|
||||
|
Loading…
Reference in New Issue
Block a user