Skip to content

Commit

Permalink
v9.0
Browse files Browse the repository at this point in the history
- dietpi-rpi-firmware-migration | Fix boot partition size check: We cannot check for /boot/firmware and /boot at the same time, since the target dir must exist for "df -T" to print anything. But it is okay to check /boot only, as if /boot/firmware exists already, the skript checked the size of the FAT partition before.
  • Loading branch information
MichaIng committed Jan 5, 2024
1 parent a6cddbe commit 4122593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .meta/dietpi-rpi-firmware-migration
Original file line number Diff line number Diff line change
Expand Up @@ -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/firmware) > 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 -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; }
G_INIT
# Import DietPi-Globals ---------------------------------------------------------------

Expand Down

0 comments on commit 4122593

Please sign in to comment.