Skip to contentSkip to conversation

wic:mkefidisk:add use-uuid for all partitions

PATCH In review Jiang Lu 1 participant 3 messages Sep 7, 2018

lore
Share & tools
lore

Jiang Lu

author
#0 lore raw

cover wic:mkefidisk:add use-uuid for all partitions

Hi all,

This patch adds use-uuid for all partitions on mkefidisk.wks.

Thanks
Jiang Lu

author
#1 lore raw

PATCH 1/1 wic:mkefidisk:add use-uuid for all partitions

Add use-uuid for all partitions on mkefidisk.wks.

---
 scripts/lib/wic/canned-wks/mkefidisk.wks | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/lib/wic/canned-wks/mkefidisk.wks +2 -2
index 9f534fe..7bcb52f 100644
@@ -2,10 +2,10 @@
 # long-description: Creates a partitioned EFI disk image that the user
 # can directly dd to boot media.
 
-part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
+part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024 --use-uuid
 
 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
 
-part swap --ondisk sda --size 44 --label swap1 --fstype=swap
+part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
 
 bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"
Signature · 1 line
2.7.4
author
#2 lore raw
In reply to Jiang Lu
Quoted 7 lines · Jiang Lu

Hi all,

This patch adds use-uuid for all partitions on mkefidisk.wks.

Thanks
Jiang Lu

Please ignore this thread.

Thanks

Jiang Lu