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"