summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Kozhukalov <vkozhukalov@mirantis.com>2016-08-03 18:39:05 +0300
committerVladimir Kozhukalov <vkozhukalov@mirantis.com>2016-08-16 15:06:13 +0300
commit08f1283db6c2dad75e2320b09446ca8a8c3898aa (patch)
tree8e79f759d74a5ba092db4368ae4344cc2c525eb7
parent3b9baf4a74bbd164c54dcfb81ce1617d648e0b50 (diff)
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
-rw-r--r--iso/module.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/iso/module.mk b/iso/module.mk
index af883dc..ab7542b 100644
--- a/iso/module.mk
+++ b/iso/module.mk
@@ -154,7 +154,7 @@ $(ISO_PATH): $(BUILD_DIR)/iso/isoroot.done
154 # vmlinuz + initrd + bootloader + conffile = about 38MB. 100M should be enough ^_^ 154 # vmlinuz + initrd + bootloader + conffile = about 38MB. 100M should be enough ^_^
155 dd bs=1M count=100 if=/dev/zero of=$(BUILD_DIR)/iso/efi_tmp/efiboot.img 155 dd bs=1M count=100 if=/dev/zero of=$(BUILD_DIR)/iso/efi_tmp/efiboot.img
156 # UEFI standard say to us that EFI partition should be some FAT-related filesystem 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 sudo umount -l $(BUILD_DIR)/iso/efi_tmp/efi_image || true 158 sudo umount -l $(BUILD_DIR)/iso/efi_tmp/efi_image || true
159 sudo mount $(BUILD_DIR)/iso/efi_tmp/efiboot.img $(BUILD_DIR)/iso/efi_tmp/efi_image 159 sudo mount $(BUILD_DIR)/iso/efi_tmp/efiboot.img $(BUILD_DIR)/iso/efi_tmp/efi_image
160 160