From f5eb9486cc17863af202d693afc7c8e3d9650517 Mon Sep 17 00:00:00 2001
From: dw-0
Date: Sun, 17 Dec 2023 12:10:36 +0100
Subject: [PATCH 1/2] refactor(kiauh): use `sudo true` instead of `sudo -v` to
prevent password prompts
Fixes #395
Signed-off-by: Dominik Willner
---
scripts/ui/install_menu.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/ui/install_menu.sh b/scripts/ui/install_menu.sh
index 5bee3365..5c4b6257 100755
--- a/scripts/ui/install_menu.sh
+++ b/scripts/ui/install_menu.sh
@@ -35,7 +35,7 @@ function install_ui() {
}
function install_menu() {
- clear -x && sudo -v && clear -x # (re)cache sudo credentials so password prompt doesn't bork ui
+ clear -x && sudo true && clear -x # (re)cache sudo credentials so password prompt doesn't bork ui
print_header
install_ui
From 5ebe9411251b3f0b2688831e185b209c56ed644e Mon Sep 17 00:00:00 2001
From: dw-0
Date: Sun, 17 Dec 2023 12:18:04 +0100
Subject: [PATCH 2/2] readme: don't recommend a specific architecture anymore
Fixes #403
Both 32bit and 64bit images were reported to work fine. So we don't need a strict 32bit recommendation anymore which may confuses users, why they should pick 32bit over 64bit.
Signed-off-by: Dominik Willner
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index e3f6acc1..ae4edf41 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@
### 📋 Prerequisites
KIAUH is a script that assists you in installing Klipper on a Linux operating system that has
already been flashed to your Raspberry Pi's (or other SBC's) SD card. As a result, you must ensure
-that you have a functional Linux system on hand. `Raspberry Pi OS Lite (32bit)` is a recommended Linux image
+that you have a functional Linux system on hand. `Raspberry Pi OS Lite (either 32bit or 64bit)` is a recommended Linux image
if you are using a Raspberry Pi. The [official Raspberry Pi Imager](https://www.raspberrypi.com/software/)
is the simplest way to flash an image like this to an SD card.
@@ -39,7 +39,7 @@ select `Choose OS -> Raspberry Pi OS (other)`: \
-* Then select `Raspberry Pi OS Lite (32bit)`:
+* Then select `Raspberry Pi OS Lite (32bit)` (or 64bit if you want to use that instead):