From 15db3f8305dc7a8b4c1f9d0c0713e857f685e8ab Mon Sep 17 00:00:00 2001 From: MichaIng Date: Tue, 12 Sep 2023 00:05:25 +0200 Subject: [PATCH] v8.22 - DietPi-Imager | 1 MiB is too small for FAT16. FAT12 is anyway the smallest FAT size supported, so let mkfs decide --- .build/images/dietpi-imager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.build/images/dietpi-imager b/.build/images/dietpi-imager index f376015699..ba1db427ef 100755 --- a/.build/images/dietpi-imager +++ b/.build/images/dietpi-imager @@ -531,7 +531,7 @@ G_EXEC partx -u "$FP_SOURCE" # create a FAT filesystem and add config files to it local new_dos_part=$(sfdisk -l "$FP_SOURCE" | mawk "/ $start /{print \$1;exit}") - G_EXE_OUTPUT=1 G_EXEC mkfs.fat -F 16 -n DIETPISETUP "$new_dos_part" + G_EXE_OUTPUT=1 G_EXEC mkfs.fat -n DIETPISETUP "$new_dos_part" local fat_mountpoint=$(mktemp -d) local root_mountpoint=$(mktemp -d) G_EXEC mount "$new_dos_part" "$fat_mountpoint"