commit:     545fac34b731215ebeb1aa58b65dc22134d732ca
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 22:50:07 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 22:50:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=545fac34

create-iso.sh: don't force FAT16

Newer dosfstools has a problem with FAT16 and certain volume sizes.
Let's just let it autodetect the FAT size.

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 targets/support/create-iso.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index 6e71cbc4..bcfa20a6 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -229,11 +229,11 @@ case ${clst_hostarch} in
                                echo "Creating loopback file of size 
${iaSize}kB"
                                dd if=/dev/zero 
of="${clst_target_path}/gentoo.efimg" bs=1k \
                                        count=${iaSize}
-                               echo "Formatting loopback file with FAT16 FS"
-                               mkfs.vfat -F 16 -n GENTOOLIVE 
"${clst_target_path}/gentoo.efimg"
+                               echo "Formatting loopback file with FAT FS"
+                               mkfs.vfat -n GENTOOLIVE 
"${clst_target_path}/gentoo.efimg"
 
                                mkdir 
"${clst_target_path}/gentoo.efimg.mountPoint"
-                               echo "Mounting FAT16 loopback file"
+                               echo "Mounting FAT loopback file"
                                mount -t vfat -o loop 
"${clst_target_path}/gentoo.efimg" \
                                        
"${clst_target_path}/gentoo.efimg.mountPoint" || die "Failed to mount EFI image 
file"
 

Reply via email to