More work on switching to linux-rpi-16k kernel.

This commit is contained in:
Storm Dragon 2024-02-22 01:46:39 -05:00
parent 27f54b1a29
commit a059cbe015
1 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ while [[ "$choice" != "Exit" ]]; do
sudo "${sudoFlags[@]}" systemctl enable bluetooth --now
;;
"Install Raspberry Pi 5 kernel")
yay -R --noconfirm linux-rpi
install_package linux-rpi-16k
;;
"Install Lxqt Desktop")
@ -108,7 +109,7 @@ while [[ "$choice" != "Exit" ]]; do
"Configure internet"
"Enable Bluetooth"
)
if [[ "$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ')" == "Raspberry Pi 5" ]]; then
if [[ "$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ')" == "Raspberry Pi 5" ]] && ! [[ "$(pacman -Q linux-rpi-16k &> /dev/null)" ]]; then
options+=("Install Raspberry Pi 5 kernel")
fi
options+=("Install Lxqt Desktop"