public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [PATCH] create-iso.sh: don't force FAT16
@ 2021-02-25 23:02 Ben Kohler
  0 siblings, 0 replies; only message in thread
From: Ben Kohler @ 2021-02-25 23:02 UTC (permalink / raw
  To: gentoo-catalyst

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@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"

-- 
2.30.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-25 23:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-25 23:02 [gentoo-catalyst] [PATCH] create-iso.sh: don't force FAT16 Ben Kohler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox