[OE-core] [PATCH 7/7] wic:mkefidisk:add use-uuid for all partitions

Tom Rini trini at konsulko.com
Fri Aug 31 13:55:21 UTC 2018


On Fri, Aug 31, 2018 at 10:15:10AM +0800, Jiang Lu wrote:
> Add use-uuid for all partitions on mkefidisk.wks.
> 
> Signed-off-by: Jiang Lu <lu.jiang at windriver.com>
> ---
>  scripts/lib/wic/canned-wks/mkefidisk.wks | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/lib/wic/canned-wks/mkefidisk.wks b/scripts/lib/wic/canned-wks/mkefidisk.wks
> index 9f534fe..7bcb52f 100644
> --- a/scripts/lib/wic/canned-wks/mkefidisk.wks
> +++ b/scripts/lib/wic/canned-wks/mkefidisk.wks
> @@ -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"

Please drop the ondisk lines as they're really not useful when using
uuid, which is good and I'm glad to see happen.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180831/7b93ca90/attachment-0002.sig>


More information about the Openembedded-core mailing list