Browse Source

Change EFI fs label

If EFI partition does not have specific label
different from ISO label, then udev first creates
/dev/disk/by-label for 9660 file system and then
overrides this link with the link pointing to
EFI partition.

Change-Id: Id841c5b306940fd157aee527ad69b0995bcf9cd8
Closes-Bug: #1605740
Vladimir Kozhukalov 2 years ago
parent
commit
08f1283db6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      iso/module.mk

+ 1
- 1
iso/module.mk View File

@@ -154,7 +154,7 @@ $(ISO_PATH): $(BUILD_DIR)/iso/isoroot.done
154 154
 	# vmlinuz + initrd + bootloader + conffile = about 38MB. 100M should be enough ^_^
155 155
 	dd bs=1M count=100 if=/dev/zero of=$(BUILD_DIR)/iso/efi_tmp/efiboot.img
156 156
 	# UEFI standard say to us that EFI partition should be some FAT-related filesystem
157
-	mkfs.vfat $(BUILD_DIR)/iso/efi_tmp/efiboot.img
157
+	mkfs.vfat -n EFI $(BUILD_DIR)/iso/efi_tmp/efiboot.img
158 158
 	sudo umount -l $(BUILD_DIR)/iso/efi_tmp/efi_image || true
159 159
 	sudo mount $(BUILD_DIR)/iso/efi_tmp/efiboot.img $(BUILD_DIR)/iso/efi_tmp/efi_image
160 160
 

Loading…
Cancel
Save