Add reference to Ubuntu kernel package names
Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
This commit is contained in:
parent
f512fe32bd
commit
7e4917be89
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue