From 3a10086228aa29364d2679d12eb6f8be680a925e Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Mon, 26 Feb 2024 16:25:44 +0200 Subject: [PATCH] jetson-orin-nx-seeed-j4012: Add ubuntu and debian distro tpl files Change-type: patch Signed-off-by: Alexandru Costache --- .../debian+jetson-orin-nx-seeed-j4012/distro-config.tpl | 4 ++++ .../ubuntu+jetson-orin-nx-seeed-j4012/distro-config.tpl | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 contracts/sw.os+hw.device-type/debian+jetson-orin-nx-seeed-j4012/distro-config.tpl create mode 100644 contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nx-seeed-j4012/distro-config.tpl diff --git a/contracts/sw.os+hw.device-type/debian+jetson-orin-nx-seeed-j4012/distro-config.tpl b/contracts/sw.os+hw.device-type/debian+jetson-orin-nx-seeed-j4012/distro-config.tpl new file mode 100644 index 00000000..ea566bd5 --- /dev/null +++ b/contracts/sw.os+hw.device-type/debian+jetson-orin-nx-seeed-j4012/distro-config.tpl @@ -0,0 +1,4 @@ +RUN echo "deb https://repo.download.nvidia.com/jetson/common r35.4 main" >> /etc/apt/sources.list.d/nvidia.list \ + && echo "deb https://repo.download.nvidia.com/jetson/t234 r35.4 main" >> /etc/apt/sources.list.d/nvidia.list \ + && apt-key adv --fetch-key http://repo.download.nvidia.com/jetson/jetson-ota-public.asc \ + && mkdir -p /opt/nvidia/l4t-packages/ && touch /opt/nvidia/l4t-packages/.nv-l4t-disable-boot-fw-update-in-preinstall diff --git a/contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nx-seeed-j4012/distro-config.tpl b/contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nx-seeed-j4012/distro-config.tpl new file mode 100644 index 00000000..ea566bd5 --- /dev/null +++ b/contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nx-seeed-j4012/distro-config.tpl @@ -0,0 +1,4 @@ +RUN echo "deb https://repo.download.nvidia.com/jetson/common r35.4 main" >> /etc/apt/sources.list.d/nvidia.list \ + && echo "deb https://repo.download.nvidia.com/jetson/t234 r35.4 main" >> /etc/apt/sources.list.d/nvidia.list \ + && apt-key adv --fetch-key http://repo.download.nvidia.com/jetson/jetson-ota-public.asc \ + && mkdir -p /opt/nvidia/l4t-packages/ && touch /opt/nvidia/l4t-packages/.nv-l4t-disable-boot-fw-update-in-preinstall