From be16cf67b4d8c345704d53e52d72ceed11e11157 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Sat, 1 Apr 2017 16:22:35 +0100 Subject: [PATCH] tools: Fix make-efi script mkfs.vfat prints output (even without the -v option) which ends up in front of the ISO, which is cat'ed to stdout. This made the generated ISO unbootable. Redirect stdout of mkfs.vfat to /dev/null. Signed-off-by: Rolf Neugebauer --- tools/mkimage-iso-efi/make-efi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage-iso-efi/make-efi b/tools/mkimage-iso-efi/make-efi index e8a0c09ce..a5fe3b255 100755 --- a/tools/mkimage-iso-efi/make-efi +++ b/tools/mkimage-iso-efi/make-efi @@ -41,7 +41,7 @@ mkdir -p iso # headroom seems to be enough; (x+31)/32*32 rounds up to multiple of 32. mkfs.vfat -v -C iso/efi.raw \ $(( ($(stat -c %s "mobylinux.efi") / 1024 + 511) \ - / 32 * 32 )) + / 32 * 32 )) > /dev/null echo "mtools_skip_check=1" >> /etc/mtools.conf && \ mmd -i iso/efi.raw ::/EFI mmd -i iso/efi.raw ::/EFI/BOOT