From e344bc1fc70d10b9cddb3ebaf21c000de5ee882b Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Wed, 18 Jan 2023 17:02:54 +0100 Subject: [PATCH] armbian-next: nextify "Re-enabling support for Rpi3" --- config/boards/rpi4b.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/boards/rpi4b.conf b/config/boards/rpi4b.conf index 0cf86774aa..60f155fea1 100644 --- a/config/boards/rpi4b.conf +++ b/config/boards/rpi4b.conf @@ -8,7 +8,8 @@ export ASOUND_STATE="asound.state.rpi" # Our default paritioning system is leaving esp on. Rpi3 is the only board that have issues with this. # Removing the ESP flag from the boot partition should allow the image to boot on both the RPi3 and RPi4. pre_umount_final_image__remove_esp() { - sudo parted -s $LOOP set 1 esp off + display_alert "Removing ESP flag from FAT partition" "rpi4 / rpi3" "info" + run_host_command_logged parted -s "${LOOP}" set 1 esp off } # configure stuff at the appropriate time in flash-kernel