Skip to content

Commit

Permalink
nvidia-container-toolkit: install l4t.csv
Browse files Browse the repository at this point in the history
this removes the need to install nvidia-container-runtime to provide
l4t.csv
  • Loading branch information
pgils committed May 21, 2020
1 parent 1edb89d commit fdda0e9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
dev, /dev/fb0
dev, /dev/fb1
dev, /dev/nvhost-as-gpu
dev, /dev/nvhost-ctrl
dev, /dev/nvhost-ctrl-gpu
dev, /dev/nvhost-dbg-gpu
dev, /dev/nvhost-gpu
dev, /dev/nvhost-nvdec
dev, /dev/nvhost-nvdec1
dev, /dev/nvhost-prof-gpu
dev, /dev/nvhost-vic
dev, /dev/nvhost-ctrl-nvdla0
dev, /dev/nvhost-ctrl-nvdla1
dev, /dev/nvhost-nvdla0
dev, /dev/nvhost-nvdla1
dev, /dev/nvidiactl
dev, /dev/nvmap
dev, /dev/tegra_dc_0
dev, /dev/tegra_dc_1
dev, /dev/tegra_dc_ctrl
dev, /dev/nvhost-msenc
dev, /dev/nvhost-nvenc1
dev, /dev/nvhost-nvjpg
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# We don't need to build or install docker-ce and cuda-toolkit
RDEPENDS_${PN} = ""

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_append = " \
file://l4t.csv \
"

DEPENDS += " \
gettext-native \
"

do_install_append(){
# L4T CSV
install -d -m 755 ${D}${sysconfdir}/nvidia-container-runtime/host-files-for-container.d
envsubst < ${WORKDIR}/l4t.csv > ${D}${sysconfdir}/nvidia-container-runtime/host-files-for-container.d/l4t.csv
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ IMAGE_INSTALL_append_jetson-nano = " \
go-runtime \
nvidia-container-toolkit \
tegra-argus-daemon \
nvidia-container-runtime \
cudnn \
tensorrt \
libvisionworks \
Expand Down

0 comments on commit fdda0e9

Please sign in to comment.