1 |
Newer dosfstools has a problem with FAT16 and certain volume sizes. |
2 |
Let's just let it autodetect the FAT size. |
3 |
|
4 |
Signed-off-by: Ben Kohler <bkohler@g.o> |
5 |
--- |
6 |
targets/support/create-iso.sh | 6 +++--- |
7 |
1 file changed, 3 insertions(+), 3 deletions(-) |
8 |
|
9 |
diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh |
10 |
index 6e71cbc4..bcfa20a6 100755 |
11 |
--- a/targets/support/create-iso.sh |
12 |
+++ b/targets/support/create-iso.sh |
13 |
@@ -229,11 +229,11 @@ case ${clst_hostarch} in |
14 |
echo "Creating loopback file of size |
15 |
${iaSize}kB" |
16 |
dd if=/dev/zero |
17 |
of="${clst_target_path}/gentoo.efimg" bs=1k \ |
18 |
count=${iaSize} |
19 |
- echo "Formatting loopback file with |
20 |
FAT16 FS" |
21 |
- mkfs.vfat -F 16 -n GENTOOLIVE |
22 |
"${clst_target_path}/gentoo.efimg" |
23 |
+ echo "Formatting loopback file with FAT FS" |
24 |
+ mkfs.vfat -n GENTOOLIVE |
25 |
"${clst_target_path}/gentoo.efimg" |
26 |
|
27 |
mkdir |
28 |
"${clst_target_path}/gentoo.efimg.mountPoint" |
29 |
- echo "Mounting FAT16 loopback file" |
30 |
+ echo "Mounting FAT loopback file" |
31 |
mount -t vfat -o loop |
32 |
"${clst_target_path}/gentoo.efimg" \ |
33 |
"${clst_target_path}/gentoo.efimg.mountPoint" || die "Failed to mount |
34 |
EFI image file" |
35 |
|
36 |
-- |
37 |
2.30.1 |