forked from balena-os/balena-jetson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvidia-container-toolkit: install l4t.csv
this removes the need to install nvidia-container-runtime to provide l4t.csv
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...alena-jetson/recipes-containers/nvidia-container-toolkit/nvidia-container-toolkit/l4t.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
16 changes: 16 additions & 0 deletions
16
...na-jetson/recipes-containers/nvidia-container-toolkit/nvidia-container-toolkit_%.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters