#!/bin/bash ## # Fetches the tegra k1 nvidia drivers, installs them, and makes them work again # after apt-get upgrade breaks my CB5-311. ## # This is heavily borrowed from # https://github.com/marcino239/chrubuntu-tegra/blob/master/chrubuntu-tegra.sh l4tdir=`mktemp -d` l4t=Tegra124_Linux_R19.3.0_armhf.tbz2 wget -P ${l4tdir} https://developer.nvidia.com/sites/default/files/akamai/mobile/files/L4T/${l4t} cd ${l4tdir} tar xvpf ${l4t} cd Linux_for_Tegra/rootfs/ tar xvpf ../nv_tegra/nvidia_drivers.tbz2 tar cf - usr/lib | ( cd / ; tar xvf -) cat > install-tegra.sh <