From 692d3fbad9da8af8c2c18cc2103fc52617339d99 Mon Sep 17 00:00:00 2001 From: oxmc7769 Date: Thu, 5 Mar 2026 03:06:23 -0800 Subject: [PATCH] forgot rpi stuff --- stage2/01-sys-tweaks/01-run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 4493ed6..6dc3e71 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -20,7 +20,9 @@ if [ "${USE_QEMU}" = "1" ]; then fi on_chroot <<- EOF - systemctl enable rpi-resize + if [[ "${ARCH}" == "arm64" || "${ARCH}" == "armhf" ]]; then + systemctl enable rpi-resize + fi for GRP in input spi i2c gpio; do groupadd -f -r "\$GRP"