Add reference to Ubuntu kernel package names

Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
This commit is contained in:
Hin-Tak Leung 2020-09-04 06:37:57 +01:00 committed by turmary
parent 1f7323417b
commit f47375e54d

View file

@ -100,7 +100,10 @@ function check_kernel_headers() {
which apt &>/dev/null
if [[ $? -eq 0 ]]; then
apt update -y
# Raspbian kernel packages
apt-get -y install raspberrypi-kernel-headers raspberrypi-kernel
# Ubuntu kernel packages
apt-get -y install linux-raspi linux-headers-raspi linux-image-raspi
apt-get -y install dkms git i2c-tools libasound2-plugins
# rpi-update checker
check_kernel_headers