From a059cbe01536511be81d3e10935b72d38cf7b927 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 22 Feb 2024 01:46:39 -0500 Subject: [PATCH] More work on switching to linux-rpi-16k kernel. --- configure-stormux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure-stormux.sh b/configure-stormux.sh index 45bada0..eb34639 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -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"