Skip to contentSkip to conversation

wic:mkefidisk:add use-uuid for all partitions

PATCH In review Jiang Lu 2 participants 6 messages Sep 7, 2018 – Sep 28, 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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
scripts/lib/wic/canned-wks/mkefidisk.wks +3 -3
index 9f534fe..f06f6cd 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" --label msdos --active --align 1024 --use-uuid
 
-part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
+part / --source rootfs --fstype=ext4 --label platform --align 1024 --use-uuid
 
-part swap --ondisk sda --size 44 --label swap1 --fstype=swap
+part swap --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
#5 lore raw

Hi Richard,
Ping for this patch.

Thanks
Jiang Lu

Quoted 15 lines · Lu.Jiang

Hi Richard,
The patch is revied by Tom, can you help merge this patch?

Thanks
Jiang Lu

Quoted 7 lines · Tom Rini
Quoted 3 lines · Jiang Lu

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