From d91d2dd2182965f317650de1a00adc8ac260c8ee Mon Sep 17 00:00:00 2001 From: MichaIng Date: Thu, 14 Dec 2023 18:45:29 +0100 Subject: [PATCH] v8.25 - dietpi-rpi-firmware-migration | Require an actual /boot mount. The initial idea was to allow rerunning this script when it failed after the /boot mount has been removed already. But this would fail later anyway. For now, as long as there is no larger number of such failures which we cannot avoid, require the /boot mount to be present, to assure everything is as expected, and in case handle and investigate individual failures of testers. --- .meta/dietpi-rpi-firmware-migration | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.meta/dietpi-rpi-firmware-migration b/.meta/dietpi-rpi-firmware-migration index f3fb98fed8..06fc5e89a6 100644 --- a/.meta/dietpi-rpi-firmware-migration +++ b/.meta/dietpi-rpi-firmware-migration @@ -8,7 +8,7 @@ readonly G_PROGRAM_NAME='dietpi-rpi-firmware-migration' G_CHECK_ROOT_USER G_CHECK_ROOTFS_RW G_CHECK_FREESPACE / 200 -(( $(findmnt -nbo SIZE -T /boot) > 128000000 )) || { G_DIETPI-NOTIFY 1 'You can run this script on a system with at least 128 MiB boot partition only!'; exit 1; } +(( $(findmnt -nbo SIZE /boot) > 128000000 )) || { G_DIETPI-NOTIFY 1 'You can run this script on a system with at least 128 MiB boot partition only!'; exit 1; } G_INIT # Import DietPi-Globals ---------------------------------------------------------------