You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Copyright (c) 2026, UAB Kurokesu. All rights reserved.
#
# DKMS post-install script: build and install device tree overlays.
set -e
# Status line formatter (matches Makefile's PRINT)
print() { printf ' %-7s %s\n' "$1" "$2"; }
cd "$(dirname "$0")"
DKMS_SRC="$(pwd)"
DTS_FILES=$(ls ./*.dts)
KERNEL_INCLUDE="/usr/src/linux-headers-$(uname -r | sed 's/-tegra.*/-tegra-ubuntu22.04_aarch64/')/3rdparty/canonical/linux-jammy/kernel-source/include"
LOCAL_INCLUDE="$DKMS_SRC/include"
NV_TEGRA_RELEASE="/etc/nv_tegra_release"
# Patch to "Jetson 24pin CSI Connector" for L4T < 36.5 (JetPack 6.2.2).
read -r NV_RELEASE_STR < "$NV_TEGRA_RELEASE"
if [[ "$NV_RELEASE_STR" =~ R([0-9]+).*REVISION:\ *([0-9]+) ]]; then