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
parent 138d22226e
commit e26006d40c

View file

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