More work on switching to linux-rpi-16k kernel.
This commit is contained in:
parent
27f54b1a29
commit
a059cbe015
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user