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