Add raspi ubuntu kernel

This commit is contained in:
Thorsten Spille 2023-08-10 20:20:00 +02:00
parent c52d60b56e
commit 134b8b11cd

View File

@ -106,6 +106,8 @@ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq -o DPkg::opti
echo "Detecting Architecture"
if [[ $(dpkg --get-selections | grep -m1 "raspberrypi-kernel") ]]; then
headers="raspberrypi-kernel-headers"
elif [[ $(dpkg --get-selections | grep -m1 "linux-image-raspi") ]]; then
headers="linux-headers-raspi"
elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-current-rockchip64") ]]; then
headers="linux-headers-current-rockchip64"
elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-edge-rockchip64") ]]; then