mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
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 <rolf.neugebauer@docker.com>
This commit is contained in:
parent
b5e07659bb
commit
be16cf67b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user