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
This commit is contained in:
parent
3b9baf4a74
commit
08f1283db6
|
@ -154,7 +154,7 @@ $(ISO_PATH): $(BUILD_DIR)/iso/isoroot.done
|
|||
# vmlinuz + initrd + bootloader + conffile = about 38MB. 100M should be enough ^_^
|
||||
dd bs=1M count=100 if=/dev/zero of=$(BUILD_DIR)/iso/efi_tmp/efiboot.img
|
||||
# UEFI standard say to us that EFI partition should be some FAT-related filesystem
|
||||
mkfs.vfat $(BUILD_DIR)/iso/efi_tmp/efiboot.img
|
||||
mkfs.vfat -n EFI $(BUILD_DIR)/iso/efi_tmp/efiboot.img
|
||||
sudo umount -l $(BUILD_DIR)/iso/efi_tmp/efi_image || true
|
||||
sudo mount $(BUILD_DIR)/iso/efi_tmp/efiboot.img $(BUILD_DIR)/iso/efi_tmp/efi_image
|
||||
|
||||
|
|
Loading…
Reference in New Issue