diff --git a/docker/tensorrt/detector/rootfs/etc/s6-overlay/s6-rc.d/trt-model-prepare/run b/docker/tensorrt/detector/rootfs/etc/s6-overlay/s6-rc.d/trt-model-prepare/run index c39c7a0aa..23c406324 100755 --- a/docker/tensorrt/detector/rootfs/etc/s6-overlay/s6-rc.d/trt-model-prepare/run +++ b/docker/tensorrt/detector/rootfs/etc/s6-overlay/s6-rc.d/trt-model-prepare/run @@ -58,7 +58,7 @@ fi # order to run libyolo here. # On Jetpack 5.0, these libraries are not mounted by the runtime and are supplied by the image. if [[ "$(arch)" == "aarch64" ]]; then - if [[ ! -e /usr/lib/aarch64-linux-gnu/tegra ]]; then + if [[ ! -e /usr/lib/aarch64-linux-gnu/tegra-egl ]]; then echo "ERROR: Container must be launched with nvidia runtime" exit 1 elif [[ ! -e /usr/lib/aarch64-linux-gnu/libnvinfer.so.8 ||