index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2021-08-15 12:17:12 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2021-11-04 07:58:12 +0200 |
commit | d2addb25c94e10341362e38af89ca3afd6144409 (patch) | |
tree | 98ff717994337684c488112abc969d9c07b6aab4 | |
parent | 1c42553c355a0c74c0abc0f5a507e83605d924c8 (diff) |
-rwxr-xr-x | archiso/mkarchiso | 8 |
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 34c3e24..bb0549a 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -505,7 +505,13 @@ _make_efibootimg() { # https://lists.gnu.org/archive/html/grub-devel/2019-04/msg00099.html rm -f -- "${work_dir}/efiboot.img" _msg_info "Creating FAT image of size: ${imgsize} KiB..." - mkfs.fat -C -n ARCHISO_EFI "${work_dir}/efiboot.img" "${imgsize}" + if [[ "${quiet}" == "y" ]]; then + # mkfs.fat does not have a -q/--quiet option, so redirect stdout to /dev/null instead + # https://github.com/dosfstools/dosfstools/issues/103 + mkfs.fat -C -n ARCHISO_EFI "${work_dir}/efiboot.img" "${imgsize}" > /dev/null + else + mkfs.fat -C -n ARCHISO_EFI "${work_dir}/efiboot.img" "${imgsize}" + fi # Create the default/fallback boot path in which a boot loaders will be placed later. mmd -i "${work_dir}/efiboot.img" ::/EFI ::/EFI/BOOT |